react-perf-analyzer 0.5.1

React performance + security scanner. Finds perf anti-patterns, XSS, secrets, and CVEs. Single binary, zero config, SARIF output.
1
2
3
4
5
6
7
8
9
10
11
12
/// rules/security/mod.rs — React-specific security rule registry.
///
/// We own only React/JSX-specific security patterns here.
/// General JS/TS security (eval, SQLi, secrets) is delegated to oxc_linter.
/// Rust CVEs are delegated to cargo-audit.
pub mod react;

use crate::rules::Rule;

pub fn security_rules() -> Vec<Box<dyn Rule>> {
    react::react_security_rules()
}