Typosquatting attacks
ID: 477bd21b-8f00-5d60-88b2-a9d1108384d8
STIX ID: report--477bd21b-8f00-5d60-88b2-a9d1108384d8
Feed Name: Snyk Blog
This report examines malicious packages in public registries with emphasis on typosquatting, using the npm 'crossenv' incident as a case study: the package used a postinstall script to base64-encode and POST environment variables to an attacker-controlled server while still providing the expected functionality to avoid detection. The document outlines how such packages are published, the risks to development workflows and CI/CD environments, and recommended mitigations (e.g., avoid sensitive data in env vars, use --ignore-scripts, consult package health tools, and use dependency monitoring).
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
