make

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The run-checks.mjs script facilitates the execution of arbitrary project verification commands. This capability is secured by a rigorous approval workflow requiring a cryptographic digest (planDigest) of a previously reviewed plan, a mandatory --execute flag, and explicit approved: true bits for each command. All processes are launched via execFileSync with shell: false and stdio: 'ignore', effectively mitigating shell injection and preventing sensitive data exfiltration through command output.
  • [DYNAMIC_EXECUTION]: The preview-sample.mjs script enables the AI agent to write template files and modify permissions in a target repository. Safety is enforced through isWithinRoot checks that use realpathSync to prevent symlink-based directory traversal attacks. Additionally, the tool performs pre-write hash verification to ensure the target environment matches the state defined in the approved plan.
  • [INDIRECT_PROMPT_INJECTION]: The skill operates on external repository data and plan files, which constitutes a potential injection surface.
  • Ingestion points: inspect-repo.mjs scans directory trees, and validate-plan.mjs reads plan configurations from the local file system.
  • Boundary markers: The framework uses a tiered execution model (audit → plan → apply → verify) where high-privilege actions are gated behind machine-validated plan files and human-provided sha256 digests.
  • Capability inventory: High-risk actions are confined to validated subprocess execution and root-constrained file writing.
  • Sanitization: All paths are normalized to real paths to block traversal, and an additional security layer blocks dangerous shell metacharacters during Windows-specific command execution.
  • [DATA_EXFILTRATION]: inspect-repo.mjs implements static discovery of secret-like filenames (e.g., .env, credentials.json, id_rsa) to aid in security audits. It is designed to record the existence and location of these files without reading their content, preventing accidental data exposure. Furthermore, the verification runner suppresses all subprocess output to ensure no credentials or tokens are leaked into result logs.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 12:34 AM