library-design-patterns
Pass
Audited by Gen Agent Trust Hub on Mar 18, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill consists of instructional content and code templates focused on software architecture and security best practices.
- [SAFE]: The
security-validation-example.pyandlibrary-template.pyfiles demonstrate robust input and path validation techniques usingpathlib.Path.resolve()and whitelisting to mitigate path traversal risks (CWE-22). - [SAFE]: The
safe_subprocessfunction in the examples correctly utilizessubprocess.runwith a list of arguments andshell=Falseto prevent command injection vulnerabilities (CWE-78). - [SAFE]: The skill includes patterns for log sanitization (
sanitize_for_logging) to protect against log injection attacks (CWE-117). - [SAFE]: No suspicious network activity, hardcoded credentials, or obfuscated code segments were identified.
Audit Metadata