nestjs-code-audit

Pass

Audited by Gen Agent Trust Hub on Nov 19, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses a bundled Node.js script, scripts/collect-quality-evidence.mjs, to execute local development tools including eslint, tsc, and git. These executions are strictly controlled, utilizing allow-listed binaries from the project's node_modules directory and read-only flags such as --no-fix and --noEmit to prevent accidental state changes.
  • [INDIRECT_PROMPT_INJECTION]: The tool analyzes external source code provided by the user. This creates a surface where malicious instructions embedded in the code could potentially influence the agent. The skill mitigates this by requiring evidence-backed findings and maintaining a strict read-only audit boundary, as defined in references/check-policy.md and SKILL.md.
  • Ingestion points: Source files with extensions .ts, .tsx, .mts, and .cts are read from the repository scope via collectSourceFiles in the bundled script.
  • Boundary markers: The skill uses a structured JSON output for the collector and a specific Markdown template (references/report-template.md) for the final report to maintain consistency.
  • Capability inventory: File system read access via node:fs, and command execution for eslint, tsc, and git via node:child_process.spawnSync.
  • Sanitization: The collector script strips ANSI escape codes from tool output and enforces limits on file size and total output length to prevent processing excessive or malformed data.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 19, 2026, 01:17 PM