elements-complaint-generator

Warn

Audited by Socket on Sep 7, 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
Sep 7, 2026, 07:50 AM
Package URL
pkg:socket/skills-sh/cat-xierluo%2Flegal-skills%2Felements-complaint-generator%2F@a9389baba54dcc8c9268fd538988b8e77909adf91e66d16f4721df4abef47bc3
Security Audit — socket — elements-complaint-generator