java-best-practices-refactor-legacy
Pass
Audited by Gen Agent Trust Hub on Feb 24, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: No security issues detected. The skill provides comprehensive instructions for modernizing Java code, including usage of Streams, Optional, and Records. The allowed tools (Read, Write, Edit, Grep, Glob) are appropriate for the task.
- [EXTERNAL_DOWNLOADS]: The skill mentions common and trusted Java dependencies like Lombok and SLF4J in the documentation for the refactored code. These are well-known libraries and do not involve any automated or suspicious execution.
- [PROMPT_INJECTION]: The skill processes untrusted Java source code, which constitutes an indirect prompt injection surface. However, the risk is minimal given the skill's purpose. 1. Ingestion points: Target files are read using the 'Read' tool. 2. Boundary markers: Not specified. 3. Capability inventory: Includes Read, Write, Edit, Grep, and Glob for source code manipulation. 4. Sanitization: Not explicitly documented within the skill instructions.
Audit Metadata