Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningdependency-confusion-typosquatbuild-pipeline-compromisecredential-access-method

Malicious npm Package Targets GitHub Actions CI/CD Workflows

Updated 3mo agoFirst seen Nov 12, 20254 sources

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.

Share:
Malicious npm Package Targets GitHub Actions CI/CD Workflows
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

5 events from the most recent confirmed update back to the earliest known activity.

5 EVENTS
Nov 12, 20257mo ago

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.

Nov 11, 20257mo ago

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.

Nov 7, 20258mo ago

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.

Nov 6, 20258mo ago

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.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

8 LINKEDOpen in app
Organizations
8 linked
VeracodeGitHubSocketCequence SecurityBlack DuckPhylumSuzu Labsnpm, Inc.
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.