dev-security-audit
Audited by Socket on Apr 20, 2026
2 alerts found:
Malwarex2This is a clear, high-risk, real-world supply-chain attack scenario with a well-documented attacker workflow: credential compromise, malicious dependency deployment, postinstall-driven RAT delivery, cross-platform payloads, stealth cleanup, and active remediation guidance. Treat as a genuine malware incident requiring immediate containment, credential rotation, and comprehensive lockfile/node_modules forensics, along with incident response communications and token revocation.
The best available report is Report 3 because it most directly structures source/sink/flow/anomaly signals and acknowledges the main limitation: the provided fragment is not the actual poisoned JavaScript code. From the narrative alone, the described behaviors (staged remote code execution, local credential/config harvesting, encrypted exfiltration, API token abuse, and persistence) match high-confidence supply-chain malware TTPs, but this review cannot confirm them at code level. Treat the implicated Apifox CDN-delivered asset as highly suspicious/compromised pending verification against the actual artifact and its runtime behavior in a safe sandbox/forensics workflow.