<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz" -->

---
title: Hacked - NPM Package With 100M Downloads Per Week
description: The popular JavaScript HTTP library Axios (100M+ weekly downloads) was compromised when an attacker gained access to a maintainer account and published a...
canonical: https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Hacked - NPM Package With 100M Downloads Per Week | daily.dev
og:description: The popular JavaScript HTTP library Axios (100M+ weekly downloads) was compromised when an attacker gained access to a maintainer account and published a...
og:url: https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz
og:image: https://api.daily.dev/og/posts/X7PCk5NAZ.png
og:image:alt: Hacked - NPM Package With 100M Downloads Per Week
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hacked - NPM Package With 100M Downloads Per Week

**[YouTube](https://daily.dev/sources/youtube)** · 1 min read · 0 upvotes · 0 comments

## Summary

The popular JavaScript HTTP library Axios (100M+ weekly downloads) was compromised when an attacker gained access to a maintainer account and published a malicious release containing a dependency called 'plain cryptojs'. This package could execute arbitrary code, steal credentials, local files, and cloud provider secrets (AWS, GCP). The issue was discovered and patched within 3-4 hours. The incident highlights the importance of npm lock files and caution around installing newly released package versions immediately.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=pn3-hGO3AWo>

---

Tags: [#security](https://daily.dev/tags/security), [#javascript](https://daily.dev/tags/javascript), [#malware](https://daily.dev/tags/malware), [#npm](https://daily.dev/tags/npm), [#axios](https://daily.dev/tags/axios)

[View this post on daily.dev](https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Hacked - NPM Package With 100M Downloads Per Week","url":"https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz"},"datePublished":"2026-04-04T18:17:13.019Z","dateModified":"2026-04-04T18:17:30.134Z","description":"The popular JavaScript HTTP library Axios (100M+ weekly downloads) was compromised when an attacker gained access to a maintainer account and published a...","image":"https://i.ytimg.com/vi/pn3-hGO3AWo/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/pn3-hGO3AWo/sddefault.jpg","isAccessibleForFree":true,"articleSection":"YouTube","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"YouTube","logo":"https://media.daily.dev/image/upload/s--W5zMumpP--/f_auto/v1725350181/logos/youtube","url":"https://daily.dev/sources/youtube"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/hacked---npm-package-with-100m-downloads-per-week-x7pck5naz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,javascript,malware,npm,axios","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Hacked - NPM Package With 100M Downloads Per Week","description":"The popular JavaScript HTTP library Axios (100M+ weekly downloads) was compromised when an attacker gained access to a maintainer account and published a...","thumbnailUrl":"https://i.ytimg.com/vi/pn3-hGO3AWo/sddefault.jpg","uploadDate":"2026-04-04T18:17:13.019Z","duration":"PT1M","url":"https://api.daily.dev/r/X7PCk5NAZ","embedUrl":"https://www.youtube.com/embed/pn3-hGO3AWo"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"YouTube","item":"https://daily.dev/sources/youtube"},{"@type":"ListItem","position":3,"name":"Hacked - NPM Package With 100M Downloads Per Week"}]}
```

