memory-commit
Fail
Audited by Gen Agent Trust Hub on May 12, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The framework uses privileged commands and persistent mechanisms.
- The utility script
_shared/tools/dependency-utils.shincludes a functionmaw_install_system_packagethat executessudo apt-get installto install system dependencies such asjqduring the setup process. - The installation script
_shared/tools/hooks/install-hooks.shautomatically installs hook scripts into the user's home directory (~/.claude/hooks/) and modifies the global configuration file (~/.claude/settings.json), establishing persistence in the agent's runtime environment. - Extensive usage of
subprocess.runandsubprocess.Popento execute shell commands for git operations, tool invocation, and environment setup across the CLI tool (_cli/cli/orchestrator/agent_caller.py) and various hook scripts. - [EXTERNAL_DOWNLOADS]: The system performs runtime installation of third-party code.
- The module
_cli/cli/dependencies.pyand the utility_shared/tools/yaml_compat.pyautomatically executepip installto fetch and install Python packages (typer,rich,pydantic,PyYAML) from external registries when dependencies are missing. - [PROMPT_INJECTION]: The framework has a significant attack surface for indirect prompt injection.
- As described in
_shared/coordination/reduce-phase.mdand_shared/synthesis/cross-validation.md, the "Reduce Phase" ingests and processes reports generated by agents in earlier stages. - Ingestion points: Files matching
.claude/memory/{type}/{id}/perspectives/*.mdare ingested into the agent context in_shared/coordination/reduce-phase.mdfor synthesis. - Boundary markers: The provided instructions do not mention the use of delimiters or warnings to ignore instructions embedded in the ingested reports.
- Capability inventory: The orchestrator and subsequent agents have access to powerful tools like
Bashand can execute commands viasubprocess.run(as seen in_cli/cli/orchestrator/agent_caller.py). - Sanitization: No sanitization or escaping of ingested report content is defined before interpolation into prompts, allowing malicious content in an ingested report to potentially influence subsequent workflow decisions or execute arbitrary commands.
Recommendations
- AI detected serious security threats
Audit Metadata