gzh-design

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill operates within its intended scope of document formatting. It lacks hardcoded credentials, obfuscated payloads, or persistence mechanisms. External resources are limited to trusted image CDNs and the author's own GitHub repository.
  • [COMMAND_EXECUTION]: Static analysis identified subprocess.run() in scripts/test_validate_gzh_html.py. Review confirms this call is used exclusively for regression testing, executing the project's own validation script to ensure code quality; it does not represent an arbitrary command execution vulnerability.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted document data, creating an indirect prompt injection surface. (1) Ingestion points: Articles ingested via SKILL.md and format-normalize.md in multiple formats (.docx, .pdf, .txt, .md). (2) Boundary markers: Absent. (3) Capability inventory: extract_docx.py writes to an images/ directory; wrap_preview.py writes to the local workspace. (4) Sanitization: validate_gzh_html.py implements platform-specific sanitization, stripping forbidden elements like <script>, <style>, and class attributes. This defensive posture effectively mitigates risks associated with processing external content.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 02:57 AM