elements-complaint-generator

Warn

Audited by Socket on Oct 11, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/ingest_full_templates.py

The code is a local ingestion/build utility that unpacks DOCX (ZIP) archives and writes extracted files plus a manifest. No clear indicators of intentional malware (no network/exfiltration, no dynamic execution, no credential theft) are present. However, it performs unsafe ZIP extraction using zipfile.ZipFile(...).extractall(tree_dir) without validating ZIP member paths, creating a meaningful Zip Slip/path traversal risk that could allow writing outside the intended output directory if a maliciously crafted .docx is processed. If inputs are fully trusted and operator runs in a controlled environment, risk is lower; if inputs can be attacker-controlled, this is a significant security concern.

Confidence: 75%Severity: 62%
Audit Metadata
Analyzed At
Oct 11, 2026, 09:17 AM
Package URL
pkg:socket/skills-sh/cat-xierluo%2Flegal-skills%2Felements-complaint-generator%2F@cdaaf05beb9b7634cb02f15f2d2a27e2468e7c6aa34d8f4bc45e04abcee8a660