Npm Package Targeting GitHub-Owned Repositories Flagged as Red Team Exercise
Source The Hacker News
Rated by Threat Radar
Data as of 18 Nov 2025, 09:19 UTC
What to do
AI-suggested
European organizations should implement strict package management policies including: 1) Enforce use of verified and trusted npm packages by enabling npm's package integrity checks and using package signing where possible. 2) Employ dependency scanning tools that detect typosquatting and suspicious packages before inclusion in build pipelines. 3) Restrict GitHub Actions tokens to least privilege scopes and rotate them regularly to limit exposure if compromised. 4) Use allowlists for npm packages in CI/CD workflows to prevent installation of unapproved packages. 5) Monitor network traffic from build environments for unusual outbound connections, especially to suspicious domains like "app.github.dev." 6) Implement runtime detection for anomalous post-install scripts or unexpected binary downloads during builds. 7) Educate developers and DevOps teams about supply chain risks and typosquatting attacks. 8) Consider using private package registries or mirrors to control dependencies. 9) Audit existing workflows for use of the affected package and remove or update them promptly. 10) Collaborate with GitHub security advisories and npm security teams to stay informed about emerging threats.
Description
Cybersecurity researchers have discovered a malicious npm package named "@acitons/artifact" that typosquats the legitimate "@actions/artifact" package with the intent to target GitHub-owned repositories. "We think the intent was to have this script execute during a build of a GitHub-owned repository, exfiltrate the tokens available to the build environment, and then use those tokens to publish