dashi-ppt
Audited by Socket on Jul 31, 2026
2 alerts found:
Anomalyx2No clear signs of classic malware (reverse shells, credential theft, or covert exfiltration) are evident in this fragment. However, the module contains a high-impact security weakness: it writes snapshot-derived content into the DOM using innerHTML without sanitization shown here, creating a DOM-based XSS risk if attacker-controlled content can reach the snapshot text state. Separately, it can fetch and rasterize arbitrary image URLs via zt(e), which is a notable privacy/network capability and can be abused for tracking or resource exhaustion depending on how URLs are sourced. Overall, this module is primarily an exporter but includes security-sensitive behaviors that should be reviewed and guarded (sanitize/escape snapshot HTML; restrict/validate fetch/image URLs; enforce origin/policy).
No clear indicators of intentional malware (no network/exfiltration, credential access, persistence, or dynamic execution). However, the module has a meaningful security risk profile because it processes attacker-influenced media by invoking high-impact native tools (sips/ImageMagick/ffmpeg) and writes derived artifacts and a manifest into a caller-controlled directory. In adversarial contexts, crafted media could plausibly trigger vulnerabilities or cause denial-of-service in these parsers/encoders; additionally, trusting and reusing an existing manifest/output directory can alter behavior when the output path is not trustworthy. Treat this as high operational risk when used on untrusted media, even though classic shell command injection is unlikely due to argument-array execution.