architecture-analysis
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/analyze-project.jsuseschild_process.spawnto executenpm,yarn, orpnpmwith the--versionflag. This functionality is used for environment detection and is restricted to a specific set of hardcoded package manager binaries. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external project sources, such as directory structures, filenames, and
package.jsoncontent. This data is processed and included in generated reports (Markdown, JSON, Scorecards) without explicit sanitization or boundary markers. Malicious content within a scanned project could potentially be used to influence the behavior of an agent reading the resulting analysis. - Ingestion points: Files and directory names within the user-specified project path are read by
scripts/analyze-project.jsand the detector modules. - Boundary markers: The
scripts/report-generator.jsmodule does not implement explicit delimiters or warnings to separate untrusted project data from the analysis instructions. - Capability inventory: The skill possesses capabilities for recursive file system reading (
fs.readdir,fs.readFile) and limited subprocess execution viachild_process.spawn. - Sanitization: There is no evidence of content escaping or validation for external data before it is interpolated into the final reports.
Audit Metadata