php-mentor
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to utilize various command-line tools to verify language signatures and explore project structures. In
SKILL.md, the agent is directed to usephp -rfor syntax verification. InREADING-A-CODEBASE.md, it is encouraged to run project-local scripts such asphp artisan route:listfor Laravel orphp bin/console debug:routerfor Symfony. InSYNTAX-8X.md, the agent is prompted to runphp -vandcomposer showto identify environment constraints. - [DYNAMIC_EXECUTION]: The agent is prompted to generate and execute PHP code snippets locally using the command line to verify facts about the language. The primary evidence is the instruction to use
php -r '...'inSKILL.md. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection as it processes untrusted user-supplied codebases while retaining instructions to execute scripts found within those directories. * Ingestion points: User-provided PHP files, folders, and repositories described in
SKILL.mdandREADING-A-CODEBASE.md. * Boundary markers: Absent. The instructions do not define specific delimiters or security headers to isolate user code from the agent's logic. * Capability inventory: Execution ofphp(viaphp -r),composer, and framework-specific binaries (artisan,console) located in the user's project root. * Sanitization: Absent. The skill does not provide logic for the agent to verify the safety or authenticity of theartisanorconsolebinaries before execution.
Audit Metadata