ClawAudit verdict
d2-diagram-creator
A diagram code generation skill that spawns sub-agents to analyze, generate, and validate D2 diagram syntax; all behavior is transparent and matches the stated purpose with no external data exfiltration.
โ Flagged for review โ coarse, uncorroborated signal, not a confirmed exploit. Review the config yourself before installing.
Automated static analysis โ not a human review. ClawAudit flags capabilities, not confirmed intent, and can produce false positives. Disagree with this verdict? Use Dispute below.
Findings (3)
Pipe-to-shell pattern (curl | sh) โ supply chain attack vector
README_zh.md ยท code ยท curl -fsSL https://d2lang.com/install.sh | sh
Pipe to sh โ executes piped content as shell commands
README_zh.md ยท code ยท | sh
Popular HTTP library โ network access
agents/validator.md ยท prose ยท downgraded ยท got
Why the tier is capped
Execution sink present in raw bytes (Hard Floor: class A). Final tier capped at Caution โ cannot be lifted by any downgrade, example-payload opt-in, or allowlist.
Permissions & capabilities
No declared permissions โ minimal attack surface.
Is this flag fair?
Thanks โ recorded.