123-java-design-patterns
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to perform local build and verification tasks using Maven (
mvn compile,./mvnw clean verify). While these are standard development operations, they involve shell command execution based on project configuration files. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to analyze and refactor user-provided Java code and project metadata, creating an attack surface where malicious instructions could be embedded in the data being processed.
- Ingestion points: The agent reads Java source files, Maven
pom.xmlfiles, and API specifications (referenced inSKILL.mdand across all reference files). - Boundary markers: There are no explicit instructions or delimiters defined to separate the skill's instructions from the untrusted data it processes.
- Capability inventory: The skill utilizes shell execution for Maven commands and file system access for code refactoring.
- Sanitization: The skill does not define any validation or sanitization logic for the external code and configuration it ingests.
Audit Metadata