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.py and library-template.py files demonstrate robust input and path validation techniques using pathlib.Path.resolve() and whitelisting to mitigate path traversal risks (CWE-22).
  • [SAFE]: The safe_subprocess function in the examples correctly utilizes subprocess.run with a list of arguments and shell=False to 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
Risk Level
SAFE
Analyzed
Mar 18, 2026, 10:43 AM
Security Audit — agent-trust-hub — library-design-patterns