Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Quickly evaluate the security and health of any open source package.
x-downloader
1.0.4
by emmysofttm
Live on npm
Blocked by Socket
The code fetches and potentially exposes sensitive authorization information in an insecure manner from Pastebin, which is a red flag for data security and integrity.
dhi-lambda-toolkit
666.6.6
by zebox6
Removed from npm
Blocked by Socket
The script is downloading a file from a remote server. Without further context, it is difficult to determine the intent or security risk associated with this action. It is recommended to review the contents of the downloaded file and the purpose of this script in the context of the package.
Live on npm for 2 days, 1 hour and 17 minutes before removal. Socket users were protected even while the package was live.
hopk
1.2.0
by 17b4a931
Removed from npm
Blocked by Socket
The code is a module that provides functions to create HTTP error objects. It does not appear to contain any obvious malicious behavior, except for the suspicious child process execution that should be further investigated.
Live on npm for 10 minutes before removal. Socket users were protected even while the package was live.
jessa-vue-components
1.13.1563
Removed from npm
Blocked by Socket
The code is likely malicious, as it collects and transmits system information to an external domain using obfuscation techniques. This behavior indicates potential data exfiltration.
Live on npm for 1 hour and 16 minutes before removal. Socket users were protected even while the package was live.
namatnawbyteweb3
1.0.0
by namatnaw
Removed from npm
Blocked by Socket
This script is highly suspicious and indicates malicious intent. It attempts to establish a reverse shell connection, which can be used for unauthorized access and control of the system.
Live on npm for 3 minutes before removal. Socket users were protected even while the package was live.
@kraken-frontend/translations
5.0.0
by kraken-frontend
Live on npm
Blocked by Socket
This script is potentially malicious as it sends sensitive information to an external URL without clear justification or consent. It could be exfiltrating data or performing unauthorized tracking.
dbtoollib
1.0.41
by sudheishna
Removed from npm
Blocked by Socket
The code contains potential security risks due to the extensive use of shell commands, hardcoded paths, and configurations based on input data without proper validation. The presence of obfuscated code further raises concerns about the code's behavior. The confidence level is 0.75, the malware score is 0.3, the obfuscated score is 0.7, and the security risk score is 0.8.
Live on npm for 3 minutes before removal. Socket users were protected even while the package was live.
lementui
1.2.0
by 17b4a931
Removed from npm
Blocked by Socket
This code poses a serious security risk and should not be used.
Live on npm for 44 minutes before removal. Socket users were protected even while the package was live.
wixstore-client-worker
7.999.999
Removed from npm
Blocked by Socket
The code uses the exec function to run shell commands, which poses a significant security risk. It could potentially execute malicious code if the input to exec is manipulated. Redirecting output to /dev/null to hide execution details is suspicious.
Live on npm for 18 minutes before removal. Socket users were protected even while the package was live.
hs-lodash
1.19.999
Removed from npm
Blocked by Socket
The code is malicious as it exfiltrates sensitive system information to an external domain using DNS queries. This poses a significant security risk.
Live on npm for 1 hour and 38 minutes before removal. Socket users were protected even while the package was live.
micro-username
2.2.0
by sparmar0121
Removed from npm
Blocked by Socket
The script collects information like hostname, username and working directory, then converts it to hexadecimal and sends it to a remote server via DNS.
Live on npm for 132 days, 8 hours and 18 minutes before removal. Socket users were protected even while the package was live.
rdkit
2022.9.1
Live on pypi
Blocked by Socket
The code snippet exhibits critical security vulnerabilities such as SQL injection and command injection due to unsanitized user inputs. Immediate action is required to implement input validation and sanitization to mitigate these risks.
poc-globalleakage
0.0.1
by pfarrer
Removed from npm
Blocked by Socket
The code presents a serious security risk by leaking sensitive environment variables over the network. It should be considered malicious due to the potential for data theft and unauthorized access to sensitive information.
Live on npm for 3 minutes before removal. Socket users were protected even while the package was live.
asynciio
1.0.0
by stephenskrystFbAal
Removed from pypi
Blocked by Socket
asynciio is a malicious package that mimics the asyncio library, likely to deceive users into installing it. Reported malware mimicking decoding applications for popular wallets like MetaMask, Atomic, TronLink, Ronin, and other industry staples. Source: https://cointelegraph.com/news/crypto-stealing-malware-discovered-python-index-package-checkmarx
Live on pypi for 6 minutes before removal. Socket users were protected even while the package was live.
pwn
0.5.161
by 0day Inc.
Live on gem
Blocked by Socket
The script 'packer/provisioners/post_install.sh' exhibits malicious behavior by performing several harmful actions: - **Deletes user and root history files**: Uses secure deletion methods to remove history files, potentially to conceal malicious activities. - **Clears system log files**: Erases log files from '/var/log', hindering the ability to audit and investigate system actions. - **Disables the root account**: Locks the root account password without ensuring alternative secure administrative access, possibly preventing legitimate administrative operations. - **Sets a weak default password ('changeme') for the 'admin' user**: Introduces a significant security risk by using an easily guessable password, facilitating unauthorized access. These actions can be exploited by an attacker to gain unauthorized access, disrupt legitimate operations, and prevent system recovery. The combination of log and history deletion, disabling of root access, and setting weak credentials indicates malicious intent to compromise system security and conceal nefarious activities.
graphql-ms
1.9.9
by kartiikeyvinayak
Removed from npm
Blocked by Socket
The provided source code exhibits clear signs of malicious behavior, including data exfiltration and connecting to suspicious domains. The actions taken by the code pose a significant security risk.
Live on npm for 1 minute before removal. Socket users were protected even while the package was live.
eslint-config-ironfish
99.3.0
by dota3000
Removed from npm
Blocked by Socket
The code exhibits potentially malicious behavior by collecting and sending sensitive tracking data to a remote server without explicit user consent or purpose disclosure. The use of non-standard fields and lack of transparency further raises suspicion. This behavior poses a high privacy and security risk.
Live on npm for 1 hour and 55 minutes before removal. Socket users were protected even while the package was live.
mxtorie-api
0.0.1
by 1sown
Removed from npm
Blocked by Socket
The code demonstrates potentially malicious behavior by downloading and executing a .bat file from the internet automatically without any form of user consent or validation. The use of Discord CDN link and the automatic execution upon file modification are highly unusual and raise significant security concerns.
Live on npm for 3 hours and 16 minutes before removal. Socket users were protected even while the package was live.
deep-integrations
5.998.1
Removed from npm
Blocked by Socket
The purpose of this code appears to be collecting specific environment variables and package information, compressing and encoding it, and sending it over HTTP to a remote domain. The intent and purpose of this behavior are unclear from the provided code fragment alone.
Live on npm for 2 minutes before removal. Socket users were protected even while the package was live.
koja_ali_jutt
20.0.7
by kojajutt1
Removed from npm
Blocked by Socket
This code is highly suspicious and should not be used without further investigation. The code is heavily obfuscated and could potentially contain malicious code. The purpose of the code is unclear and further investigation is necessary to determine its exact behavior.
Live on npm for 10 minutes before removal. Socket users were protected even while the package was live.
juno-composer
1.0.0
by hodkasia03
Removed from npm
Blocked by Socket
The code is designed to collect and exfiltrate sensitive system and user information to a suspicious domain, indicating clear malicious intent. The use of `exec` for command execution adds to the potential risk.
Live on npm for 11 days, 19 hours and 53 minutes before removal. Socket users were protected even while the package was live.
@zitterorg/laudantium-rerum
2.2.23
by loandinhb931
Live on npm
Blocked by Socket
Malicious code in @zitterorg/laudantium-rerum (npm) Source: ghsa-malware (e45ff91dd83cc149d7abc8c6fb2c74e3509aa341e23c72cfac0a34868a4e2637) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
nab-trade
0.999.999
Removed from npm
Blocked by Socket
The code uses the exec function to run shell commands, which poses a significant security risk. It could potentially execute malicious code if the input to exec is manipulated. Redirecting output to /dev/null to hide execution details is suspicious.
Live on npm for 9 minutes before removal. Socket users were protected even while the package was live.
borschik-webp-internal
1.9.15
by meow-test
Removed from npm
Blocked by Socket
The script collects and transmits sensitive system information to a remote server, which poses a significant security risk and indicates malicious behavior.
Live on npm for 2 minutes before removal. Socket users were protected even while the package was live.
wix-media-manager-backend
7.999.999
Removed from npm
Blocked by Socket
The code uses the exec function to run shell commands, which poses a significant security risk. It could potentially execute malicious code if the input to exec is manipulated. Redirecting output to /dev/null to hide execution details is suspicious.
Live on npm for 6 minutes before removal. Socket users were protected even while the package was live.
x-downloader
1.0.4
by emmysofttm
Live on npm
Blocked by Socket
The code fetches and potentially exposes sensitive authorization information in an insecure manner from Pastebin, which is a red flag for data security and integrity.
dhi-lambda-toolkit
666.6.6
by zebox6
Removed from npm
Blocked by Socket
The script is downloading a file from a remote server. Without further context, it is difficult to determine the intent or security risk associated with this action. It is recommended to review the contents of the downloaded file and the purpose of this script in the context of the package.
Live on npm for 2 days, 1 hour and 17 minutes before removal. Socket users were protected even while the package was live.
hopk
1.2.0
by 17b4a931
Removed from npm
Blocked by Socket
The code is a module that provides functions to create HTTP error objects. It does not appear to contain any obvious malicious behavior, except for the suspicious child process execution that should be further investigated.
Live on npm for 10 minutes before removal. Socket users were protected even while the package was live.
jessa-vue-components
1.13.1563
Removed from npm
Blocked by Socket
The code is likely malicious, as it collects and transmits system information to an external domain using obfuscation techniques. This behavior indicates potential data exfiltration.
Live on npm for 1 hour and 16 minutes before removal. Socket users were protected even while the package was live.
namatnawbyteweb3
1.0.0
by namatnaw
Removed from npm
Blocked by Socket
This script is highly suspicious and indicates malicious intent. It attempts to establish a reverse shell connection, which can be used for unauthorized access and control of the system.
Live on npm for 3 minutes before removal. Socket users were protected even while the package was live.
@kraken-frontend/translations
5.0.0
by kraken-frontend
Live on npm
Blocked by Socket
This script is potentially malicious as it sends sensitive information to an external URL without clear justification or consent. It could be exfiltrating data or performing unauthorized tracking.
dbtoollib
1.0.41
by sudheishna
Removed from npm
Blocked by Socket
The code contains potential security risks due to the extensive use of shell commands, hardcoded paths, and configurations based on input data without proper validation. The presence of obfuscated code further raises concerns about the code's behavior. The confidence level is 0.75, the malware score is 0.3, the obfuscated score is 0.7, and the security risk score is 0.8.
Live on npm for 3 minutes before removal. Socket users were protected even while the package was live.
lementui
1.2.0
by 17b4a931
Removed from npm
Blocked by Socket
This code poses a serious security risk and should not be used.
Live on npm for 44 minutes before removal. Socket users were protected even while the package was live.
wixstore-client-worker
7.999.999
Removed from npm
Blocked by Socket
The code uses the exec function to run shell commands, which poses a significant security risk. It could potentially execute malicious code if the input to exec is manipulated. Redirecting output to /dev/null to hide execution details is suspicious.
Live on npm for 18 minutes before removal. Socket users were protected even while the package was live.
hs-lodash
1.19.999
Removed from npm
Blocked by Socket
The code is malicious as it exfiltrates sensitive system information to an external domain using DNS queries. This poses a significant security risk.
Live on npm for 1 hour and 38 minutes before removal. Socket users were protected even while the package was live.
micro-username
2.2.0
by sparmar0121
Removed from npm
Blocked by Socket
The script collects information like hostname, username and working directory, then converts it to hexadecimal and sends it to a remote server via DNS.
Live on npm for 132 days, 8 hours and 18 minutes before removal. Socket users were protected even while the package was live.
rdkit
2022.9.1
Live on pypi
Blocked by Socket
The code snippet exhibits critical security vulnerabilities such as SQL injection and command injection due to unsanitized user inputs. Immediate action is required to implement input validation and sanitization to mitigate these risks.
poc-globalleakage
0.0.1
by pfarrer
Removed from npm
Blocked by Socket
The code presents a serious security risk by leaking sensitive environment variables over the network. It should be considered malicious due to the potential for data theft and unauthorized access to sensitive information.
Live on npm for 3 minutes before removal. Socket users were protected even while the package was live.
asynciio
1.0.0
by stephenskrystFbAal
Removed from pypi
Blocked by Socket
asynciio is a malicious package that mimics the asyncio library, likely to deceive users into installing it. Reported malware mimicking decoding applications for popular wallets like MetaMask, Atomic, TronLink, Ronin, and other industry staples. Source: https://cointelegraph.com/news/crypto-stealing-malware-discovered-python-index-package-checkmarx
Live on pypi for 6 minutes before removal. Socket users were protected even while the package was live.
pwn
0.5.161
by 0day Inc.
Live on gem
Blocked by Socket
The script 'packer/provisioners/post_install.sh' exhibits malicious behavior by performing several harmful actions: - **Deletes user and root history files**: Uses secure deletion methods to remove history files, potentially to conceal malicious activities. - **Clears system log files**: Erases log files from '/var/log', hindering the ability to audit and investigate system actions. - **Disables the root account**: Locks the root account password without ensuring alternative secure administrative access, possibly preventing legitimate administrative operations. - **Sets a weak default password ('changeme') for the 'admin' user**: Introduces a significant security risk by using an easily guessable password, facilitating unauthorized access. These actions can be exploited by an attacker to gain unauthorized access, disrupt legitimate operations, and prevent system recovery. The combination of log and history deletion, disabling of root access, and setting weak credentials indicates malicious intent to compromise system security and conceal nefarious activities.
graphql-ms
1.9.9
by kartiikeyvinayak
Removed from npm
Blocked by Socket
The provided source code exhibits clear signs of malicious behavior, including data exfiltration and connecting to suspicious domains. The actions taken by the code pose a significant security risk.
Live on npm for 1 minute before removal. Socket users were protected even while the package was live.
eslint-config-ironfish
99.3.0
by dota3000
Removed from npm
Blocked by Socket
The code exhibits potentially malicious behavior by collecting and sending sensitive tracking data to a remote server without explicit user consent or purpose disclosure. The use of non-standard fields and lack of transparency further raises suspicion. This behavior poses a high privacy and security risk.
Live on npm for 1 hour and 55 minutes before removal. Socket users were protected even while the package was live.
mxtorie-api
0.0.1
by 1sown
Removed from npm
Blocked by Socket
The code demonstrates potentially malicious behavior by downloading and executing a .bat file from the internet automatically without any form of user consent or validation. The use of Discord CDN link and the automatic execution upon file modification are highly unusual and raise significant security concerns.
Live on npm for 3 hours and 16 minutes before removal. Socket users were protected even while the package was live.
deep-integrations
5.998.1
Removed from npm
Blocked by Socket
The purpose of this code appears to be collecting specific environment variables and package information, compressing and encoding it, and sending it over HTTP to a remote domain. The intent and purpose of this behavior are unclear from the provided code fragment alone.
Live on npm for 2 minutes before removal. Socket users were protected even while the package was live.
koja_ali_jutt
20.0.7
by kojajutt1
Removed from npm
Blocked by Socket
This code is highly suspicious and should not be used without further investigation. The code is heavily obfuscated and could potentially contain malicious code. The purpose of the code is unclear and further investigation is necessary to determine its exact behavior.
Live on npm for 10 minutes before removal. Socket users were protected even while the package was live.
juno-composer
1.0.0
by hodkasia03
Removed from npm
Blocked by Socket
The code is designed to collect and exfiltrate sensitive system and user information to a suspicious domain, indicating clear malicious intent. The use of `exec` for command execution adds to the potential risk.
Live on npm for 11 days, 19 hours and 53 minutes before removal. Socket users were protected even while the package was live.
@zitterorg/laudantium-rerum
2.2.23
by loandinhb931
Live on npm
Blocked by Socket
Malicious code in @zitterorg/laudantium-rerum (npm) Source: ghsa-malware (e45ff91dd83cc149d7abc8c6fb2c74e3509aa341e23c72cfac0a34868a4e2637) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
nab-trade
0.999.999
Removed from npm
Blocked by Socket
The code uses the exec function to run shell commands, which poses a significant security risk. It could potentially execute malicious code if the input to exec is manipulated. Redirecting output to /dev/null to hide execution details is suspicious.
Live on npm for 9 minutes before removal. Socket users were protected even while the package was live.
borschik-webp-internal
1.9.15
by meow-test
Removed from npm
Blocked by Socket
The script collects and transmits sensitive system information to a remote server, which poses a significant security risk and indicates malicious behavior.
Live on npm for 2 minutes before removal. Socket users were protected even while the package was live.
wix-media-manager-backend
7.999.999
Removed from npm
Blocked by Socket
The code uses the exec function to run shell commands, which poses a significant security risk. It could potentially execute malicious code if the input to exec is manipulated. Redirecting output to /dev/null to hide execution details is suspicious.
Live on npm for 6 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
GitHub dependency
AI-detected potential malware
HTTP dependency
Obfuscated code
NPM Shrinkwrap
Suspicious Stars on GitHub
Protestware or potentially unwanted behavior
Unstable ownership
19 more alerts →
Bad dependency semver
Unpopular package
Wildcard dependency
Minified code
Socket optimized override available
Deprecated
Unmaintained
Critical CVE
High CVE
Medium CVE
Low CVE
Explicitly Unlicensed Item
License Policy Violation
Misc. License Issues
No License Found
Non-permissive License
Ambiguous License Classifier
Copyleft License
Unidentified License
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
Congrats to @feross and the hard-working team behind @SocketSecurity on today's launch!
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.
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.
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.
Ryan Noon
Founder & CEO at Material Security
The NPM ecosystem is a horrible horrible place and I'm glad you're doing something about it.
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's 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.