plugin-structure
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill describes patterns for creating specialized agents (e.g.,
code-reviewer,test-generator) that ingest and process code, which represents a surface for indirect prompt injection attacks. - Ingestion points: Agent definitions in
examples/standard-plugin.mdandexamples/advanced-plugin.mdprocess user-provided code and files. - Boundary markers: While the examples focus on structure, they do not explicitly demonstrate the use of XML delimiters or similar markers in the prompt implementation guidelines.
- Capability inventory: The skill documentation covers the execution of shell scripts and commands via the
hooksandcommandsfeatures. - Sanitization: The documentation provides a best-practice example of a safety hook in
advanced-plugin.mdthat uses a prompt-based evaluation to check the safety of bash commands before they are executed. - [COMMAND_EXECUTION]: The skill provides detailed guidance and scripts for executing local tools and commands within the plugin environment.
- Evidence: The
standard-plugin.mdexample includes avalidate-commit.shscript that runseslintandpylinton local files. - Best Practices: The skill consistently enforces the use of the
${CLAUDE_PLUGIN_ROOT}environment variable to ensure all script and file references are portable and confined to the plugin's own directory structure.
Audit Metadata