transilience-report-style
Audited by Socket on Jul 30, 2026
1 alert found:
AnomalyThis module is primarily a PDF report generator, not an obvious standalone malware sample. However, it introduces two high-impact security risks in a build/report pipeline: (1) runtime sys.path manipulation to import an auxiliary Python module from filesystem locations discovered via parent traversal and os.getcwd(), creating a supply-chain/path-hijack risk if the runtime environment is attacker-influenced; and (2) it can fetch and embed arbitrary remote images from http(s) URLs provided in the input JSON (plus it may read local image paths), which enables SSRF-like behavior and ingestion of untrusted image payloads. Mitigations should focus on eliminating/locking the dynamic import mechanism and disabling or strictly validating image URL/path fetching (or running in a network-restricted sandbox).