unit-tests-java
Pass
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill's instructions are centered on creating standard unit test boilerplate, including naming conventions and package structure mirroring.
- [SAFE]: Reference examples utilize standard Java testing utilities such as
ReflectionTestUtilsandMockitoto manage test doubles and private member access in a safe, localized manner. - [SAFE]: No indicators of prompt injection, data exfiltration, or remote code execution were identified in the skill instructions or accompanying reference files.
- [SAFE]: The use of
System.setPropertyin the example code is a common practice for configuring logging or environment flags within a controlled test lifecycle and does not represent a host-level privilege escalation or persistence mechanism. - [SAFE]: The skill maintains clear boundaries for code generation by specifying a strict comment style and restricting the use of Javadoc, which reduces the surface area for indirect prompt injection via user-supplied source code.
Audit Metadata