The maintainer of the widely used Axios npm package confirmed a supply chain attack orchestrated by the North Korean advanced persistent threat group UNC1069. This campaign leveraged a highly targeted social engineering operation aimed specifically at the package maintainer, Jason Saayman.

According to Saayman, UNC1069 threat actors impersonated the founder of the Axios project to gain his trust and eventually compromise the package. The social engineering effort was meticulously tailored, involving direct communication and manipulation techniques to coax access or introduce malicious code into the Axios package ecosystem.

Axios is a popular JavaScript library used extensively in web applications for making HTTP requests, making it a prime target for supply chain attacks that can affect thousands of developers and organizations globally. The compromise of such a critical open-source component poses risks of widespread malware distribution, credential harvesting, and further exploitation of downstream software relying on Axios.

UNC1069 is a North Korean threat actor group tracked by multiple cybersecurity vendors and intelligence agencies. This group has a history of targeting software supply chains, software developers, and open-source projects to infiltrate global technology supply chains. Their tactics, techniques, and procedures (TTPs) often include spear-phishing, social engineering, and leveraging trust relationships within developer communities.

Indicators of Compromise (IOCs) related to this campaign include suspicious email addresses used during the social engineering attempts, IP addresses linked to North Korean infrastructure, and malicious package versions uploaded to the npm registry. Security teams should monitor for unusual changes or uploads in npm packages, particularly those related to Axios, and verify the authenticity of communications from package maintainers.

The campaign objective appears to be the insertion of malicious code into trusted open-source components to facilitate espionage, data exfiltration, or broader cyber operations aligned with North Korean strategic interests.

Detection and defense recommendations include employing multi-factor authentication (MFA) for all package repository accounts, validating all package updates through cryptographic signing, and monitoring npm package metadata for unauthorized changes. Security teams should also conduct phishing awareness training focused on developers and maintainers, and use threat intelligence feeds to track UNC1069 activity and IOCs.

Vendors such as Sonatype, Snyk, and GitHub have issued advisories on this incident, urging users to update to safe versions and audit their dependencies. Incorporating supply chain risk management tools and continuous monitoring is essential to mitigate risks from similar APT supply chain compromises.

Related: