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.mjsscript 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--executeflag, and explicitapproved: truebits for each command. All processes are launched viaexecFileSyncwithshell: falseandstdio: 'ignore', effectively mitigating shell injection and preventing sensitive data exfiltration through command output. - [DYNAMIC_EXECUTION]: The
preview-sample.mjsscript enables the AI agent to write template files and modify permissions in a target repository. Safety is enforced throughisWithinRootchecks that userealpathSyncto 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.mjsscans directory trees, andvalidate-plan.mjsreads 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.mjsimplements 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