law-review-docx

Warn

Audited by Socket on Sep 7, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/build_docx.py

This code is primarily a document-generation/build pipeline, not overt malware. The main security concern is the HTML-comment include feature that reads arbitrary absolute local files (path.exists) and embeds them into the output via pandoc—potentially enabling data leakage if drafts are attacker-controlled. Additionally, it modifies sys.path for imports and executes additional repo scripts via uv run, increasing supply-chain risk if those scripts/templates are compromised. No clear network exfiltration or backdoor installation is visible in this module.

Confidence: 72%Severity: 58%
Audit Metadata
Analyzed At
Sep 7, 2026, 05:55 AM
Package URL
pkg:socket/skills-sh/edwinhu%2Fworkflows%2Flaw-review-docx%2F@2c29c128fde95fb69c10d79de253f2c969a3d8553deb1a3caf2c0ef3cf1f080d
Security Audit — socket — law-review-docx