node-optimization-principles
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFENO_CODE
Full Analysis
- [DYNAMIC_EXECUTION]: The documentation discusses libraries like
fast-json-stringifythat usenew Function()for performance optimization. It includes a specific security warning to avoid compiling schemas provided by users to prevent arbitrary code execution. - [DATA_EXFILTRATION]: The skill warns against exposing
v8.writeHeapSnapshot()as an HTTP route, noting that snapshots are built in memory and could crash the process or lead to memory data exposure if mishandled. - [EXTERNAL_DOWNLOADS]: The skill references several well-known and reputable Node.js packages and diagnostic tools (such as
undici,pino,ajv, andautocannon) for performance monitoring and optimization. - [COMMAND_EXECUTION]: Provides examples of diagnostic shell commands using
perf,kill, andnodeflags for profiling and heap analysis, which are standard practices for performance debugging.
Audit Metadata