124-java-secure-coding
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill instructions and reference materials do not contain any malicious patterns, prompt injections, or unauthorized data access attempts. All code examples provided are for educational and refactoring purposes.\n- [COMMAND_EXECUTION]: The skill uses
./mvnw compileand./mvnw clean verifyto ensure the project is in a valid state before and after applying security improvements. This is standard behavior for a Java-based development tool and is used to maintain project stability.\n- [INDIRECT_PROMPT_INJECTION]: The skill identifies and processes Java source code provided by the user, which is an inherent attack surface for indirect prompt injection. \n - Ingestion points: User-supplied Java source code processed during code review tasks.\n
- Boundary markers: The skill follows a structured workflow with explicit compilation checks and a dedicated reference document.\n
- Capability inventory: Access to local shell execution via Maven build tools.\n
- Sanitization: The skill mitigates risks by requiring successful compilation through Maven before performing any analysis or refactoring, ensuring the input is valid Java code.
Audit Metadata