
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Quickly evaluate the security and health of any open source package.
airbnb-database
999.9.9
by amigomioteconsidero
Removed from npm
Blocked by Socket
The code exhibits behavior consistent with data exfiltration by sending sanitized system information to an external domain. This poses a significant security risk and aligns with malicious activities.
Live on npm for 9 hours and 41 minutes before removal. Socket users were protected even while the package was live.
fiinquant
0.10.20
Live on PyPI
Blocked by Socket
This file contains obfuscated malicious code that uses multiple evasion techniques to hide its true functionality. The code implements a multi-stage decoder that: 1) Reverses an encoded string 2) Decodes it using base64 3) Decompresses it using zlib 4) Executes the resulting code using exec(). This pattern is a common malware technique designed to evade security scanning and hide malicious payloads. The use of exec() to execute arbitrary decoded content poses a severe security risk as it allows execution of potentially harmful code. The intentional obfuscation through multiple encoding layers combined with dynamic code execution strongly indicates this is malware rather than legitimate functionality. The code should not be executed as it likely contains a malicious payload designed for system compromise, data exfiltration, or other harmful activities.
react-native-community
213.21.24
by exzuperi0
Removed from npm
Blocked by Socket
The code is collecting sensitive information (home directory, hostname, current directory) and sending it to a potentially suspicious remote server. The presence of a message suggesting a sale and the hardcoded server details make this code highly suspicious. The code could be involved in data exfiltration.
Live on npm for 1 hour and 4 minutes before removal. Socket users were protected even while the package was live.
romanes-eunt-domus-jd-1337
1.0.2
by a2efdc980204
Removed from npm
Blocked by Socket
This file collects sensitive system information (environment variables, AWS credentials, and shell command outputs) and transmits it to 356pmjg3yjoadbpk2rehv4ql5cb3z3ns[.]oastify[.]com without user consent. The code demonstrates malicious behavior, posing a significant risk of data theft and unauthorized access.
Live on npm for 13 days, 1 hour and 9 minutes before removal. Socket users were protected even while the package was live.
sniddl-ajax
1.0.6
by sniddl
Removed from npm
Blocked by Socket
The code is risky due to the use of eval() for executing success/error handlers, which could lead to arbitrary code execution if an attacker can control these handlers. There is also a risk of data leakage or website defacement through the use of document.write. The dynamic creation of forms and redirection based on attributes can be exploited if the attributes are not properly sanitized. However, there's no explicit evidence of malicious intent like hardcoded credentials or connections to suspicious domains.
Live on npm for 1 hour and 10 minutes before removal. Socket users were protected even while the package was live.
metusdb-test
1.0.0-beta.2
by softyagmur
Live on npm
Blocked by Socket
The code exhibits suspicious behavior by sending data to a hardcoded external Discord webhook without user consent, which is a form of data exfiltration. While the data sent is benign and fixed, this pattern is commonly associated with malware or backdoors. The code is not obfuscated and does not contain other malicious payloads, but the security risk is moderate due to unauthorized network communication. The reports provided are uninformative and fail to identify these issues.
ds-home
0.1.0
by mallutrojan06
Removed from npm
Blocked by Socket
The code poses a security risk due to the use of exec for command execution without input validation and the transmission of data to an external URL. This behavior is indicative of potential malicious activity, particularly data exfiltration.
Live on npm for 12 days, 17 hours and 52 minutes before removal. Socket users were protected even while the package was live.
azure-graphrbac
4.5.0
Removed from npm
Blocked by Socket
The code exhibits malicious behavior by exfiltrating system and user data to external domains without user consent. This poses a significant security risk and indicates a high probability of malicious intent.
Live on npm for 30 minutes before removal. Socket users were protected even while the package was live.
toneo
1.4.3
Removed from PyPI
Blocked by Socket
The code is malicious as it collects sensitive seed phrases and sends them to a Telegram chat without user consent. This poses a high security risk due to potential data theft.
Live on PyPI for 1 hour and 42 minutes before removal. Socket users were protected even while the package was live.
pwn
0.5.245
by 0day Inc.
Live on Rubygems
Blocked by Socket
The script poses a high security risk as malware due to its ability to alter disk partitions without user interaction, leading to data loss or system damage.
pymino
1.2.1.1
Live on PyPI
Blocked by Socket
The code contains several concerning elements, including the installation of packages without user consent and the caching of sensitive user data. These behaviors suggest potential malicious intent and warrant a moderate to high risk assessment.
github.com/bishopfox/sliver
v1.5.38
Live on Go
Blocked by Socket
The code exhibits several functionalities that could be exploited for malicious purposes, including user impersonation, arbitrary command execution, and registry manipulation. Given these capabilities, the code poses a significant security risk and should be treated with caution.
workfront-enums
1.9.9
by dependency-test-6
Removed from npm
Blocked by Socket
The code is designed to exfiltrate sensitive system information to an external domain using DNS queries, which is a clear indication of malicious intent. The use of encoding and DNS queries suggests an attempt to hide this activity.
Live on npm for 14 days, 1 hour and 1 minute before removal. Socket users were protected even while the package was live.
jhgjgdfsdasvbrtyrdfwewqreyrfvbykuyoyosdsdfdhuytrxasdadadasdasdadasdasdasdasd
8.7.9
by poc-test
Removed from npm
Blocked by Socket
The code appears to be intentionally exfiltrating system information to a remote server if the operating system is either Linux or Mac. It constructs a Bash script based on the operating system type to perform the exfiltration. This behavior could be considered suspicious or potentially malicious, depending on the context in which the code is used.
Live on npm for 5 minutes before removal. Socket users were protected even while the package was live.
vrt_hitlijst_generic_voting
5.639.65
by vrtdev-ui
Removed from npm
Blocked by Socket
The code exhibits malicious behavior consistent with a backdoor or data exfiltration module, collecting sensitive information and sending it to a remote server with obfuscated details to avoid detection.
Live on npm for 47 minutes before removal. Socket users were protected even while the package was live.
88q
1.1.4
by vsamaru
Live on npm
Blocked by Socket
The code is malicious as it exfiltrates console warnings and errors to external Telegram channels using a hardcoded bot token and chat IDs. This is a serious privacy and security risk. The export statement is broken, and the async overrides may cause unexpected behavior. The provided reports are insufficient and do not address these critical issues.
@fdfe/era-cellar
0.0.2
by dhasifg
Live on npm
Blocked by Socket
The script is likely used for malicious purposes, collecting sensitive data and sending it to specific IPs, which can be interpreted as a data exfiltration attempt. The usage of obfuscated code and hardcoded IP addresses further supports the suspicion of malicious intent.
sme-accounting
2.18.0
by tester1337
Removed from npm
Blocked by Socket
This script is attempting to exfiltrate sensitive data by sending the contents of the /etc/passwd file to a remote server. This is a high security risk and is considered malicious.
Live on npm for 4 hours and 16 minutes before removal. Socket users were protected even while the package was live.
raid-shadow-legends-free-promo029
1.0.2
by sicrap
Removed from npm
Blocked by Socket
The code exhibits potentially malicious behavior such as unauthorized login attempts and content publishing, as well as obfuscation and hard-coded credentials. The overall security risk is high due to the presence of these factors.
Live on npm for 1 hour and 57 minutes before removal. Socket users were protected even while the package was live.
kvpair_db_upgrade
1.0.0
by antonioc-1
Removed from npm
Blocked by Socket
The script logs a message and sends telemetry data to an external server, which poses a security risk by potentially leaking sensitive information.
Live on npm for 10 days, 4 hours and 53 minutes before removal. Socket users were protected even while the package was live.
bn-v2.js
1.2.4
by anthony_
Live on npm
Blocked by Socket
The code contains a significant security flaw by sending sensitive environment variables over the network to a Telegram chat, which could lead to unauthorized access and data breaches. The hardcoded bot token and chat ID further exacerbate the risk.
snapchat-score-new-per-picture664
1.0.2
by mskhadijaakther403
Removed from npm
Blocked by Socket
The script performs automated and potentially malicious actions such as spamming or SEO manipulation by creating and publishing npm packages and posting links on WordPress sites. The hardcoded credentials and lack of user interaction or validation increase the risk and potential for misuse.
Live on npm for 3 hours and 20 minutes before removal. Socket users were protected even while the package was live.
vite-plugin-react-extend
1.0.0
by xuxingfeng
Live on npm
Blocked by Socket
This module exports a function that, after a hard-coded trigger date (May 20 2023 08:00:01), installs a recurring timer (every 2 seconds) to recursively delete the entire “vite” and “react” subdirectories inside node_modules. It uses a silent try-catch to suppress errors, requires no user consent, and repeatedly sabotages dependent projects by removing critical dependencies, causing denial of service and build breakage.
glpi-api-client
1.0.4
by atno
Removed from npm
Blocked by Socket
The code is intended to authenticate users with the GLPI API. However, the presence of a `console.table` statement that logs user credentials is a severe security flaw. There is no evidence of intentional obfuscation or malware, but this security risk needs immediate attention.
Live on npm for 8 minutes before removal. Socket users were protected even while the package was live.
fca-zyx
7.6.22
by imdeku
Removed from npm
Blocked by Socket
The code demonstrates risky behaviors such as executing shell commands based on environment variables and global configurations without proper validation, automatic installation, and execution of packages from external sources, and potential for command injection. These behaviors can be exploited for malicious purposes, making the code potentially unsafe.
Live on npm for 3 hours and 43 minutes before removal. Socket users were protected even while the package was live.
airbnb-database
999.9.9
by amigomioteconsidero
Removed from npm
Blocked by Socket
The code exhibits behavior consistent with data exfiltration by sending sanitized system information to an external domain. This poses a significant security risk and aligns with malicious activities.
Live on npm for 9 hours and 41 minutes before removal. Socket users were protected even while the package was live.
fiinquant
0.10.20
Live on PyPI
Blocked by Socket
This file contains obfuscated malicious code that uses multiple evasion techniques to hide its true functionality. The code implements a multi-stage decoder that: 1) Reverses an encoded string 2) Decodes it using base64 3) Decompresses it using zlib 4) Executes the resulting code using exec(). This pattern is a common malware technique designed to evade security scanning and hide malicious payloads. The use of exec() to execute arbitrary decoded content poses a severe security risk as it allows execution of potentially harmful code. The intentional obfuscation through multiple encoding layers combined with dynamic code execution strongly indicates this is malware rather than legitimate functionality. The code should not be executed as it likely contains a malicious payload designed for system compromise, data exfiltration, or other harmful activities.
react-native-community
213.21.24
by exzuperi0
Removed from npm
Blocked by Socket
The code is collecting sensitive information (home directory, hostname, current directory) and sending it to a potentially suspicious remote server. The presence of a message suggesting a sale and the hardcoded server details make this code highly suspicious. The code could be involved in data exfiltration.
Live on npm for 1 hour and 4 minutes before removal. Socket users were protected even while the package was live.
romanes-eunt-domus-jd-1337
1.0.2
by a2efdc980204
Removed from npm
Blocked by Socket
This file collects sensitive system information (environment variables, AWS credentials, and shell command outputs) and transmits it to 356pmjg3yjoadbpk2rehv4ql5cb3z3ns[.]oastify[.]com without user consent. The code demonstrates malicious behavior, posing a significant risk of data theft and unauthorized access.
Live on npm for 13 days, 1 hour and 9 minutes before removal. Socket users were protected even while the package was live.
sniddl-ajax
1.0.6
by sniddl
Removed from npm
Blocked by Socket
The code is risky due to the use of eval() for executing success/error handlers, which could lead to arbitrary code execution if an attacker can control these handlers. There is also a risk of data leakage or website defacement through the use of document.write. The dynamic creation of forms and redirection based on attributes can be exploited if the attributes are not properly sanitized. However, there's no explicit evidence of malicious intent like hardcoded credentials or connections to suspicious domains.
Live on npm for 1 hour and 10 minutes before removal. Socket users were protected even while the package was live.
metusdb-test
1.0.0-beta.2
by softyagmur
Live on npm
Blocked by Socket
The code exhibits suspicious behavior by sending data to a hardcoded external Discord webhook without user consent, which is a form of data exfiltration. While the data sent is benign and fixed, this pattern is commonly associated with malware or backdoors. The code is not obfuscated and does not contain other malicious payloads, but the security risk is moderate due to unauthorized network communication. The reports provided are uninformative and fail to identify these issues.
ds-home
0.1.0
by mallutrojan06
Removed from npm
Blocked by Socket
The code poses a security risk due to the use of exec for command execution without input validation and the transmission of data to an external URL. This behavior is indicative of potential malicious activity, particularly data exfiltration.
Live on npm for 12 days, 17 hours and 52 minutes before removal. Socket users were protected even while the package was live.
azure-graphrbac
4.5.0
Removed from npm
Blocked by Socket
The code exhibits malicious behavior by exfiltrating system and user data to external domains without user consent. This poses a significant security risk and indicates a high probability of malicious intent.
Live on npm for 30 minutes before removal. Socket users were protected even while the package was live.
toneo
1.4.3
Removed from PyPI
Blocked by Socket
The code is malicious as it collects sensitive seed phrases and sends them to a Telegram chat without user consent. This poses a high security risk due to potential data theft.
Live on PyPI for 1 hour and 42 minutes before removal. Socket users were protected even while the package was live.
pwn
0.5.245
by 0day Inc.
Live on Rubygems
Blocked by Socket
The script poses a high security risk as malware due to its ability to alter disk partitions without user interaction, leading to data loss or system damage.
pymino
1.2.1.1
Live on PyPI
Blocked by Socket
The code contains several concerning elements, including the installation of packages without user consent and the caching of sensitive user data. These behaviors suggest potential malicious intent and warrant a moderate to high risk assessment.
github.com/bishopfox/sliver
v1.5.38
Live on Go
Blocked by Socket
The code exhibits several functionalities that could be exploited for malicious purposes, including user impersonation, arbitrary command execution, and registry manipulation. Given these capabilities, the code poses a significant security risk and should be treated with caution.
workfront-enums
1.9.9
by dependency-test-6
Removed from npm
Blocked by Socket
The code is designed to exfiltrate sensitive system information to an external domain using DNS queries, which is a clear indication of malicious intent. The use of encoding and DNS queries suggests an attempt to hide this activity.
Live on npm for 14 days, 1 hour and 1 minute before removal. Socket users were protected even while the package was live.
jhgjgdfsdasvbrtyrdfwewqreyrfvbykuyoyosdsdfdhuytrxasdadadasdasdadasdasdasdasd
8.7.9
by poc-test
Removed from npm
Blocked by Socket
The code appears to be intentionally exfiltrating system information to a remote server if the operating system is either Linux or Mac. It constructs a Bash script based on the operating system type to perform the exfiltration. This behavior could be considered suspicious or potentially malicious, depending on the context in which the code is used.
Live on npm for 5 minutes before removal. Socket users were protected even while the package was live.
vrt_hitlijst_generic_voting
5.639.65
by vrtdev-ui
Removed from npm
Blocked by Socket
The code exhibits malicious behavior consistent with a backdoor or data exfiltration module, collecting sensitive information and sending it to a remote server with obfuscated details to avoid detection.
Live on npm for 47 minutes before removal. Socket users were protected even while the package was live.
88q
1.1.4
by vsamaru
Live on npm
Blocked by Socket
The code is malicious as it exfiltrates console warnings and errors to external Telegram channels using a hardcoded bot token and chat IDs. This is a serious privacy and security risk. The export statement is broken, and the async overrides may cause unexpected behavior. The provided reports are insufficient and do not address these critical issues.
@fdfe/era-cellar
0.0.2
by dhasifg
Live on npm
Blocked by Socket
The script is likely used for malicious purposes, collecting sensitive data and sending it to specific IPs, which can be interpreted as a data exfiltration attempt. The usage of obfuscated code and hardcoded IP addresses further supports the suspicion of malicious intent.
sme-accounting
2.18.0
by tester1337
Removed from npm
Blocked by Socket
This script is attempting to exfiltrate sensitive data by sending the contents of the /etc/passwd file to a remote server. This is a high security risk and is considered malicious.
Live on npm for 4 hours and 16 minutes before removal. Socket users were protected even while the package was live.
raid-shadow-legends-free-promo029
1.0.2
by sicrap
Removed from npm
Blocked by Socket
The code exhibits potentially malicious behavior such as unauthorized login attempts and content publishing, as well as obfuscation and hard-coded credentials. The overall security risk is high due to the presence of these factors.
Live on npm for 1 hour and 57 minutes before removal. Socket users were protected even while the package was live.
kvpair_db_upgrade
1.0.0
by antonioc-1
Removed from npm
Blocked by Socket
The script logs a message and sends telemetry data to an external server, which poses a security risk by potentially leaking sensitive information.
Live on npm for 10 days, 4 hours and 53 minutes before removal. Socket users were protected even while the package was live.
bn-v2.js
1.2.4
by anthony_
Live on npm
Blocked by Socket
The code contains a significant security flaw by sending sensitive environment variables over the network to a Telegram chat, which could lead to unauthorized access and data breaches. The hardcoded bot token and chat ID further exacerbate the risk.
snapchat-score-new-per-picture664
1.0.2
by mskhadijaakther403
Removed from npm
Blocked by Socket
The script performs automated and potentially malicious actions such as spamming or SEO manipulation by creating and publishing npm packages and posting links on WordPress sites. The hardcoded credentials and lack of user interaction or validation increase the risk and potential for misuse.
Live on npm for 3 hours and 20 minutes before removal. Socket users were protected even while the package was live.
vite-plugin-react-extend
1.0.0
by xuxingfeng
Live on npm
Blocked by Socket
This module exports a function that, after a hard-coded trigger date (May 20 2023 08:00:01), installs a recurring timer (every 2 seconds) to recursively delete the entire “vite” and “react” subdirectories inside node_modules. It uses a silent try-catch to suppress errors, requires no user consent, and repeatedly sabotages dependent projects by removing critical dependencies, causing denial of service and build breakage.
glpi-api-client
1.0.4
by atno
Removed from npm
Blocked by Socket
The code is intended to authenticate users with the GLPI API. However, the presence of a `console.table` statement that logs user credentials is a severe security flaw. There is no evidence of intentional obfuscation or malware, but this security risk needs immediate attention.
Live on npm for 8 minutes before removal. Socket users were protected even while the package was live.
fca-zyx
7.6.22
by imdeku
Removed from npm
Blocked by Socket
The code demonstrates risky behaviors such as executing shell commands based on environment variables and global configurations without proper validation, automatic installation, and execution of packages from external sources, and potential for command injection. These behaviors can be exploited for malicious purposes, making the code potentially unsafe.
Live on npm for 3 hours and 43 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
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.