
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Quickly evaluate the security and health of any open source package.
snapchat-score-new-pastebin105
1.0.2
by atiaromaryalab
Removed from npm
Blocked by Socket
The code engages in automated package creation and publishing, with the addition of posting content to WordPress sites using hard-coded credentials. This indicates potential spam or automated SEO manipulation behavior. The code also presents significant security risks due to hard-coded paths and credentials.
Live on npm for 2 hours and 20 minutes before removal. Socket users were protected even while the package was live.
yarn-no-save
1.0.32
by shuangwhywhy
Removed from npm
Blocked by Socket
The code seems to be modifying the Yarn package manager's behavior in a way that is not transparent to the user. This could be used to suppress errors and modify command-line options, which might lead to malicious packages being installed without being saved to package.json, creating discrepancies in dependencies.
Live on npm for 12 minutes before removal. Socket users were protected even while the package was live.
huangpy
0.0.1
Removed from PyPI
Blocked by Socket
The code is malicious, designed to steal sensitive information from users and transmit it to an external server via Telegram. It poses a high security risk due to unauthorized data access and exfiltration.
Live on PyPI for 7 hours and 51 minutes before removal. Socket users were protected even while the package was live.
probe-dictionary-mozilla
1.0.0
by test6uy767
Removed from npm
Blocked by Socket
The code is designed to exfiltrate sensitive system information to a remote server without user consent, indicating malicious intent. The risk and malware scores are high due to the nature of the data being collected and transmitted.
Live on npm for 3 days, 3 hours and 39 minutes before removal. Socket users were protected even while the package was live.
smartchart
6.9.26
Removed from PyPI
Blocked by Socket
The code is highly obfuscated and executes a hidden payload, posing a significant security risk. The use of exec() with obfuscated data suggests potential for malicious activity, though the exact nature of the payload is unknown without further deobfuscation.
Live on PyPI for 2 days, 14 hours and 42 minutes before removal. Socket users were protected even while the package was live.
ac-animation-sequencer
0.26.999
Removed from npm
Blocked by Socket
The code is likely intended for malicious use, specifically data exfiltration. The obfuscation, use of system information gathering, dynamic DNS construction with encoded system data, and sending this data to a remote server via ping command are indicators of malicious intent. The code does not directly damage system files or steal credentials in a traditional sense, but it violates user privacy by leaking system information.
Live on npm for 8 minutes before removal. Socket users were protected even while the package was live.
color2.0.0
1.4.0
by adiostcheusia
Removed from npm
Blocked by Socket
The code contains clear indicators of malicious behavior. It collects sensitive information such as tokens, user data, and system information, and sends it to a Discord webhook. The obfuscation techniques used in the code further indicate an intent to hide its true functionality.
Live on npm for 1 hour and 42 minutes before removal. Socket users were protected even while the package was live.
@wellsfargo/frontend
295.5.5
by neversummer.69
Live on npm
Blocked by Socket
This code is intentionally obfuscated and uses DNS queries to exfiltrate system information, which could be a significant security risk. The hardcoded domain and the potential data exfiltration raise concerns about privacy violations. This package should be reviewed carefully before being used.
all.en.js
1.0.11
by ariverap
Removed from npm
Blocked by Socket
The script is designed to collect sensitive data from the system and send it to an external server, which is a clear indication of malicious behavior.
Live on npm for 19 minutes before removal. Socket users were protected even while the package was live.
web_token_juejin
0.0.8
by bug_creator
Removed from npm
Blocked by Socket
The code fetches JavaScript from an external HTTP URL (http://c[.]jiangwenqiang[.]com/api/juejing_eval.js) and conditionally executes it using eval() when a parameter is truthy. This creates a remotely-controlled backdoor that enables arbitrary code execution, representing a critical supply chain attack vector. The use of unencrypted HTTP makes the connection vulnerable to man-in-the-middle attacks, allowing potential code injection during transit. The code also contains a typo in the module export statement that may hinder detection or usage.
Live on npm for 14 hours and 38 minutes before removal. Socket users were protected even while the package was live.
@weblate/security
862.1.0
by neversummer.69
Live on npm
Blocked by Socket
This code is intentionally obfuscated and uses DNS queries to exfiltrate system information, which could be a significant security risk. The hardcoded domain and the potential data exfiltration raise concerns about privacy violations. This package should be reviewed carefully before being used.
emtoolsjs
1.0.0
by b4llstr-ywh-
Removed from npm
Blocked by Socket
The code is performing a potentially malicious action by sending sensitive information (environment variables and cookies) to an external server without user consent. This poses a significant security risk.
Live on npm for 1 hour before removal. Socket users were protected even while the package was live.
oahspe
0.0.13
Live on PyPI
Blocked by Socket
The code demonstrates several security risks, particularly the direct execution of commands based on user input, which can lead to command injection vulnerabilities and unauthorized file manipulation. It also lacks proper sanitization and validation of user input. The overall structure raises significant concerns regarding the potential for malicious behavior, especially if used in an untrusted environment.
kami-richtext
3.1.2
by markdover
Removed from npm
Blocked by Socket
The code is collecting sensitive system information and sending it to a remote server. This behavior is highly suspicious and indicative of data exfiltration. The remote server URL is particularly concerning, as it suggests potential unauthorized data collection.
Live on npm for 44 minutes before removal. Socket users were protected even while the package was live.
@mallutrojan005/mallu
9999.9999.9999
by mallutrojan06
Live on npm
Blocked by Socket
The code poses a significant security risk due to the potential for data exfiltration to a suspicious domain and the execution of shell commands without input sanitization. This behavior could be considered malicious.
@digitalreality/ui-icons
99.0.1
by pmnh2
Live on npm
Blocked by Socket
The script is downloading a file from a remote server. This behavior can be potentially risky as the content of the file is unknown and could be malicious.
blancoservices
1.0.0
Removed from npm
Blocked by Socket
The script makes an HTTP request to a remote server, which raises significant security concerns. The URL appears suspicious and could be used for data exfiltration or other malicious purposes.
Live on npm for 26 minutes before removal. Socket users were protected even while the package was live.
@tamagoshi/icons
99.0.0
by mm-roni-org
Live on npm
Blocked by Socket
This script contains a command injection vulnerability that could be used to execute arbitrary code on the system. The script contains a base64 encoded shell command that decodes to 'whoami' and could be used to verify the vulnerability.
option-trader
0.2.53
Removed from PyPI
Blocked by Socket
The code presents significant security concerns due to the presence of hard-coded credentials and an 'exit(0)' statement that terminates the script early, making the subsequent code unreachable. While the overall purpose of the code seems legitimate, the identified anomalies raise significant security concerns.
Live on PyPI for 87 days, 15 hours and 22 minutes before removal. Socket users were protected even while the package was live.
course-structure-debugger
3.999.0
by nomardt
Removed from npm
Blocked by Socket
This code is dangerous and suspicious. It retrieves sensitive system information and exfiltrates it to an external server through DNS queries, which can easily bypass standard security measures. The code should not be used and should be flagged as a security risk.
Live on npm for 19 days, 12 hours and 5 minutes before removal. Socket users were protected even while the package was live.
voiceedgelite
1.1.3
by npm-aditech387
Removed from npm
Blocked by Socket
The code exhibits malicious behavior by collecting and transmitting sensitive system information to a suspicious domain without user consent. This poses a significant security risk.
Live on npm for 4 days, 3 hours and 37 minutes before removal. Socket users were protected even while the package was live.
metamask-api
1.0.0
by zane29879
Removed from npm
Blocked by Socket
The code is a clear security threat exhibiting malicious behavior: it exfiltrates sensitive environment variables to a suspicious external server and executes arbitrary code received from that server. The obfuscation and use of eval confirm intent to hide this backdoor functionality. This module should be considered malware and avoided.
Live on npm for 1 day, 17 hours and 14 minutes before removal. Socket users were protected even while the package was live.
evony-resources-hack292
1.0.2
by mskhadijaakther403
Removed from npm
Blocked by Socket
The code exhibits several concerning behaviors, including the use of hardcoded credentials, subprocess execution with potential for command injection, and interactions with external websites. These activities pose a significant security risk and should be further investigated.
Live on npm for 3 hours and 46 minutes before removal. Socket users were protected even while the package was live.
new-stumble-guys-gems-generator-how-to-get-free830
1.0.2
by muhammadharunmiya44
Removed from npm
Blocked by Socket
While there doesn't appear to be any overtly malicious activity such as data theft or system damage, the code does contain some potential security risks and bad practices, including the use of hard-coded credentials and automated publication of potentially unverified npm packages. The intent of the code is not inherently malicious, but the functionality could potentially be abused.
Live on npm for 46 minutes before removal. Socket users were protected even while the package was live.
sendbernar
0.9.3
by meow-test
Removed from npm
Blocked by Socket
This script is exfiltrating sensitive system information (hostname, current user, current directory) to a remote server without the user's consent. This behavior is highly suspicious and poses a significant security risk.
Live on npm for 30 minutes before removal. Socket users were protected even while the package was live.
snapchat-score-new-pastebin105
1.0.2
by atiaromaryalab
Removed from npm
Blocked by Socket
The code engages in automated package creation and publishing, with the addition of posting content to WordPress sites using hard-coded credentials. This indicates potential spam or automated SEO manipulation behavior. The code also presents significant security risks due to hard-coded paths and credentials.
Live on npm for 2 hours and 20 minutes before removal. Socket users were protected even while the package was live.
yarn-no-save
1.0.32
by shuangwhywhy
Removed from npm
Blocked by Socket
The code seems to be modifying the Yarn package manager's behavior in a way that is not transparent to the user. This could be used to suppress errors and modify command-line options, which might lead to malicious packages being installed without being saved to package.json, creating discrepancies in dependencies.
Live on npm for 12 minutes before removal. Socket users were protected even while the package was live.
huangpy
0.0.1
Removed from PyPI
Blocked by Socket
The code is malicious, designed to steal sensitive information from users and transmit it to an external server via Telegram. It poses a high security risk due to unauthorized data access and exfiltration.
Live on PyPI for 7 hours and 51 minutes before removal. Socket users were protected even while the package was live.
probe-dictionary-mozilla
1.0.0
by test6uy767
Removed from npm
Blocked by Socket
The code is designed to exfiltrate sensitive system information to a remote server without user consent, indicating malicious intent. The risk and malware scores are high due to the nature of the data being collected and transmitted.
Live on npm for 3 days, 3 hours and 39 minutes before removal. Socket users were protected even while the package was live.
smartchart
6.9.26
Removed from PyPI
Blocked by Socket
The code is highly obfuscated and executes a hidden payload, posing a significant security risk. The use of exec() with obfuscated data suggests potential for malicious activity, though the exact nature of the payload is unknown without further deobfuscation.
Live on PyPI for 2 days, 14 hours and 42 minutes before removal. Socket users were protected even while the package was live.
ac-animation-sequencer
0.26.999
Removed from npm
Blocked by Socket
The code is likely intended for malicious use, specifically data exfiltration. The obfuscation, use of system information gathering, dynamic DNS construction with encoded system data, and sending this data to a remote server via ping command are indicators of malicious intent. The code does not directly damage system files or steal credentials in a traditional sense, but it violates user privacy by leaking system information.
Live on npm for 8 minutes before removal. Socket users were protected even while the package was live.
color2.0.0
1.4.0
by adiostcheusia
Removed from npm
Blocked by Socket
The code contains clear indicators of malicious behavior. It collects sensitive information such as tokens, user data, and system information, and sends it to a Discord webhook. The obfuscation techniques used in the code further indicate an intent to hide its true functionality.
Live on npm for 1 hour and 42 minutes before removal. Socket users were protected even while the package was live.
@wellsfargo/frontend
295.5.5
by neversummer.69
Live on npm
Blocked by Socket
This code is intentionally obfuscated and uses DNS queries to exfiltrate system information, which could be a significant security risk. The hardcoded domain and the potential data exfiltration raise concerns about privacy violations. This package should be reviewed carefully before being used.
all.en.js
1.0.11
by ariverap
Removed from npm
Blocked by Socket
The script is designed to collect sensitive data from the system and send it to an external server, which is a clear indication of malicious behavior.
Live on npm for 19 minutes before removal. Socket users were protected even while the package was live.
web_token_juejin
0.0.8
by bug_creator
Removed from npm
Blocked by Socket
The code fetches JavaScript from an external HTTP URL (http://c[.]jiangwenqiang[.]com/api/juejing_eval.js) and conditionally executes it using eval() when a parameter is truthy. This creates a remotely-controlled backdoor that enables arbitrary code execution, representing a critical supply chain attack vector. The use of unencrypted HTTP makes the connection vulnerable to man-in-the-middle attacks, allowing potential code injection during transit. The code also contains a typo in the module export statement that may hinder detection or usage.
Live on npm for 14 hours and 38 minutes before removal. Socket users were protected even while the package was live.
@weblate/security
862.1.0
by neversummer.69
Live on npm
Blocked by Socket
This code is intentionally obfuscated and uses DNS queries to exfiltrate system information, which could be a significant security risk. The hardcoded domain and the potential data exfiltration raise concerns about privacy violations. This package should be reviewed carefully before being used.
emtoolsjs
1.0.0
by b4llstr-ywh-
Removed from npm
Blocked by Socket
The code is performing a potentially malicious action by sending sensitive information (environment variables and cookies) to an external server without user consent. This poses a significant security risk.
Live on npm for 1 hour before removal. Socket users were protected even while the package was live.
oahspe
0.0.13
Live on PyPI
Blocked by Socket
The code demonstrates several security risks, particularly the direct execution of commands based on user input, which can lead to command injection vulnerabilities and unauthorized file manipulation. It also lacks proper sanitization and validation of user input. The overall structure raises significant concerns regarding the potential for malicious behavior, especially if used in an untrusted environment.
kami-richtext
3.1.2
by markdover
Removed from npm
Blocked by Socket
The code is collecting sensitive system information and sending it to a remote server. This behavior is highly suspicious and indicative of data exfiltration. The remote server URL is particularly concerning, as it suggests potential unauthorized data collection.
Live on npm for 44 minutes before removal. Socket users were protected even while the package was live.
@mallutrojan005/mallu
9999.9999.9999
by mallutrojan06
Live on npm
Blocked by Socket
The code poses a significant security risk due to the potential for data exfiltration to a suspicious domain and the execution of shell commands without input sanitization. This behavior could be considered malicious.
@digitalreality/ui-icons
99.0.1
by pmnh2
Live on npm
Blocked by Socket
The script is downloading a file from a remote server. This behavior can be potentially risky as the content of the file is unknown and could be malicious.
blancoservices
1.0.0
Removed from npm
Blocked by Socket
The script makes an HTTP request to a remote server, which raises significant security concerns. The URL appears suspicious and could be used for data exfiltration or other malicious purposes.
Live on npm for 26 minutes before removal. Socket users were protected even while the package was live.
@tamagoshi/icons
99.0.0
by mm-roni-org
Live on npm
Blocked by Socket
This script contains a command injection vulnerability that could be used to execute arbitrary code on the system. The script contains a base64 encoded shell command that decodes to 'whoami' and could be used to verify the vulnerability.
option-trader
0.2.53
Removed from PyPI
Blocked by Socket
The code presents significant security concerns due to the presence of hard-coded credentials and an 'exit(0)' statement that terminates the script early, making the subsequent code unreachable. While the overall purpose of the code seems legitimate, the identified anomalies raise significant security concerns.
Live on PyPI for 87 days, 15 hours and 22 minutes before removal. Socket users were protected even while the package was live.
course-structure-debugger
3.999.0
by nomardt
Removed from npm
Blocked by Socket
This code is dangerous and suspicious. It retrieves sensitive system information and exfiltrates it to an external server through DNS queries, which can easily bypass standard security measures. The code should not be used and should be flagged as a security risk.
Live on npm for 19 days, 12 hours and 5 minutes before removal. Socket users were protected even while the package was live.
voiceedgelite
1.1.3
by npm-aditech387
Removed from npm
Blocked by Socket
The code exhibits malicious behavior by collecting and transmitting sensitive system information to a suspicious domain without user consent. This poses a significant security risk.
Live on npm for 4 days, 3 hours and 37 minutes before removal. Socket users were protected even while the package was live.
metamask-api
1.0.0
by zane29879
Removed from npm
Blocked by Socket
The code is a clear security threat exhibiting malicious behavior: it exfiltrates sensitive environment variables to a suspicious external server and executes arbitrary code received from that server. The obfuscation and use of eval confirm intent to hide this backdoor functionality. This module should be considered malware and avoided.
Live on npm for 1 day, 17 hours and 14 minutes before removal. Socket users were protected even while the package was live.
evony-resources-hack292
1.0.2
by mskhadijaakther403
Removed from npm
Blocked by Socket
The code exhibits several concerning behaviors, including the use of hardcoded credentials, subprocess execution with potential for command injection, and interactions with external websites. These activities pose a significant security risk and should be further investigated.
Live on npm for 3 hours and 46 minutes before removal. Socket users were protected even while the package was live.
new-stumble-guys-gems-generator-how-to-get-free830
1.0.2
by muhammadharunmiya44
Removed from npm
Blocked by Socket
While there doesn't appear to be any overtly malicious activity such as data theft or system damage, the code does contain some potential security risks and bad practices, including the use of hard-coded credentials and automated publication of potentially unverified npm packages. The intent of the code is not inherently malicious, but the functionality could potentially be abused.
Live on npm for 46 minutes before removal. Socket users were protected even while the package was live.
sendbernar
0.9.3
by meow-test
Removed from npm
Blocked by Socket
This script is exfiltrating sensitive system information (hostname, current user, current directory) to a remote server without the user's consent. This behavior is highly suspicious and poses a significant security risk.
Live on npm for 30 minutes before removal. Socket users were protected even while the package was live.
Socket detects traditional vulnerabilities (CVEs) but goes beyond that to scan the actual code of dependencies for malicious behavior. It proactively detects and blocks 70+ signals of supply chain risk in open source code, for comprehensive protection.
Known malware
Possible typosquat attack
Chrome Extension Permission
Chrome Extension Wildcard Host Permission
NPM Shrinkwrap
Git dependency
HTTP dependency
Suspicious Stars on GitHub
Protestware or potentially unwanted behavior
Unstable ownership
Critical CVE
High CVE
Medium CVE
Low CVE
Bad dependency semver
Wildcard dependency
Unpopular package
Minified code
Socket optimized override available
Deprecated
Unmaintained
Explicitly Unlicensed Item
License Policy Violation
Misc. License Issues
Non-permissive License
Ambiguous License Classifier
Copyleft License
Unidentified License
No License Found
License exception
Socket detects and blocks malicious dependencies, often within just minutes of them being published to public registries, making it the most effective tool for blocking zero-day supply chain attacks.
Socket is built by a team of prolific open source maintainers whose software is downloaded over 1 billion times per month. We understand how to build tools that developers love. But don’t take our word for it.
Nat Friedman
CEO at GitHub
Suz Hinton
Senior Software Engineer at Stripe
heck yes this is awesome!!! Congrats team 🎉👏
Matteo Collina
Node.js maintainer, Fastify lead maintainer
So awesome to see @SocketSecurity launch with a fresh approach! Excited to have supported the team from the early days.
DC Posch
Director of Technology at AppFolio, CTO at Dynasty
This is going to be super important, especially for crypto projects where a compromised dependency results in stolen user assets.
Luis Naranjo
Software Engineer at Microsoft
If software supply chain attacks through npm don't scare the shit out of you, you're not paying close enough attention.
@SocketSecurity sounds like an awesome product. I'll be using socket.dev instead of npmjs.org to browse npm packages going forward
Elena Nadolinski
Founder and CEO at Iron Fish
Huge congrats to @SocketSecurity! 🙌
Literally the only product that proactively detects signs of JS compromised packages.
Joe Previte
Engineering Team Lead at Coder
Congrats to @feross and the @SocketSecurity team on their seed funding! 🚀 It's been a big help for us at @CoderHQ and we appreciate what y'all are doing!
Josh Goldberg
Staff Developer at Codecademy
This is such a great idea & looks fantastic, congrats & good luck @feross + team!
The best security teams in the world use Socket to get visibility into supply chain risk, and to build a security feedback loop into the development process.
Scott Roberts
CISO at UiPath
As a happy Socket customer, I've been impressed with how quickly they are adding value to the product, this move is a great step!
Yan Zhu
Head of Security at Brave, DEFCON, EFF, W3C
glad to hear some of the smartest people i know are working on (npm, etc.) supply chain security finally :). @SocketSecurity
Andrew Peterson
CEO and Co-Founder at Signal Sciences (acq. Fastly)
How do you track the validity of open source software libraries as they get updated? You're prob not. Check out @SocketSecurity and the updated tooling they launched.
Supply chain is a cluster in security as we all know and the tools from Socket are "duh" type tools to be implementing. Check them out and follow Feross Aboukhadijeh to see more updates coming from them in the future.
Zbyszek Tenerowicz
Senior Security Engineer at ConsenSys
socket.dev is getting more appealing by the hour
Devdatta Akhawe
Head of Security at Figma
The @SocketSecurity team is on fire! Amazing progress and I am exciting to see where they go next.
Sebastian Bensusan
Engineer Manager at Stripe
I find it surprising that we don't have _more_ supply chain attacks in software:
Imagine your airplane (the code running) was assembled (deployed) daily, with parts (dependencies) from internet strangers. How long until you get a bad part?
Excited for Socket to prevent this
Adam Baldwin
VP of Security at npm, Red Team at Auth0/Okta
Congrats to everyone at @SocketSecurity ❤️🤘🏻
Nico Waisman
CISO at Lyft
This is an area that I have personally been very focused on. As Nat Friedman said in the 2019 GitHub Universe keynote, Open Source won, and every time you add a new open source project you rely on someone else code and you rely on the people that build it.
This is both exciting and problematic. You are bringing real risk into your organization, and I'm excited to see progress in the industry from OpenSSF scorecards and package analyzers to the company that Feross Aboukhadijeh is building!
Depend on Socket to prevent malicious open source dependencies from infiltrating your app.
Install the Socket GitHub App in just 2 clicks and get protected today.
Block 70+ issues in open source code, including malware, typo-squatting, hidden code, misleading packages, permission creep, and more.
Reduce work by surfacing actionable security information directly in GitHub. Empower developers to make better decisions.
Attackers have taken notice of the opportunity to attack organizations through open source dependencies. Supply chain attacks rose a whopping 700% in the past year, with over 15,000 recorded attacks.
Dec 14, 2023
Hijacked cryptocurrency library adds malware
Widely-used library in cryptocurrency frontend was compromised to include wallet-draining code, following the hijacking of NPM account credentials via phishing.
Jan 06, 2022
Maintainer intentionally adds malware
Rogue maintainer sabotages his own open source package with 100M downloads/month, notably breaking Amazon's AWS SDK.
Nov 15, 2021
npm discovers a platform vulnerability allowing unauthorized publishing of any package
Attackers could publish new versions of any npm package without authorization for multiple years.
Oct 22, 2021
Hijacked package adds cryptominers and password-stealing malware
Multiple packages with 30M downloads/month are hijacked and publish malicious versions directly into the software supply chain.
Nov 26, 2018
Package hijacked adding organization specific backdoors
Obfuscated malware added to a dependency which targeted a single company, went undetected for over a week, and made it into their production build.
Get our latest security research, open source insights, and product updates.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.