Malicious npm Package Targets GitHub Actions CI/CD Workflows
A malicious npm package named @acitons/artifact was discovered impersonating the legitimate @actions/artifact module, specifically targeting GitHub Actions CI/CD pipelines. The package was designed to be triggered during the build process of GitHub-owned repositories, where it would capture available tokens from the build environment and use them to publish malicious artifacts under GitHub’s name. The attack leveraged a post-install hook to download and execute an obfuscated shell script called harness, which was not detected by popular antivirus solutions. The package was downloaded over 260,000 times before being detected, with six malicious versions uploaded to npm.
Further analysis revealed that the malware was configured to only execute if certain GitHub-specific environment variables were present, indicating a targeted attack against GitHub’s own repositories. The script exfiltrated sensitive data in encrypted form to a remote server and was designed to avoid execution after a specific date. Another related npm package, 8jfiesaf83, was also identified with similar functionality but has since been removed. The threat actor behind the campaign, identified as "blakesdev," removed the offending versions after discovery, but the incident highlights the risks of supply chain attacks in CI/CD environments and the potential for privilege escalation through typosquatted dependencies.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
5 events from the most recent confirmed update back to the earliest known activity.
GitHub says the typosquatted packages were an internal exercise
GitHub stated that the typosquatted npm packages targeting credentials were only part of an internal exercise. This response reframed the incident from an apparent external supply-chain attack to a controlled internal test.
Researchers detect typosquatted npm package targeting GitHub repositories
Security researchers publicly reported that the typosquatted package had been used to target GitHub-owned repositories through GitHub Actions builds. Reports said the package had been downloaded more than 47,000 times and was designed to steal build-environment tokens and publish malicious artifacts while impersonating GitHub.
Veracode blocks the malicious npm package for customers
Veracode said its Package Firewall customers were protected from downloading the typosquatted package after researchers triaged it. This defensive action was in place by Nov. 7, 2025.
Malicious package activity ceases after time-based kill switch
Researchers reported the package included a time-based kill switch and stopped operating after Nov. 6, 2025, indicating the campaign was intentionally bounded. This marked the end of the package's active malicious behavior window.
Malicious typosquatted npm package campaign begins
A malicious npm package, "@acitons/artifact," was set up to impersonate the legitimate "@actions/artifact" package and target GitHub Actions build environments. The malware checked for GitHub-related environment variables and attempted to exfiltrate build tokens for follow-on abuse.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
4 references tracked. Mallory keeps watching after this page renders.
Malicious npm package uses typosquatting to infect legitimate GitHub repo
scworld.com
Open sourceMalicious npm package sneaks into GitHub Actions builds
csoonline.com
Open sourceGitHub: Typosquatted npm packages targeting credentials only an internal exercise
scworld.com
Open sourceResearchers Detect Malicious npm Package Targeting GitHub-Owned Repositories
thehackernews.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


