Socket
Book a DemoInstallSign in
Socket

Secure your dependencies. Ship with confidence.

Socket is a developer-first security platform that protects your code from both vulnerable and malicious dependencies.

Install GitHub AppBook a Demo

Find and compare millions of open source packages

Quickly evaluate the security and health of any open source package.

jquery
t

timmywil published 3.7.1

left-pad
s

stevemao published 1.3.0

react
r

react-bot published 19.1.1

We protect you from vulnerable and malicious packages

@idse/core

4.791.1

by hatnt

Live on npm

Blocked by Socket

This code is suspicious as it sends environment variables, which can include sensitive data, to an external server. The remote host and the base64 encoding of data add to the suspicion. This could be used for data theft or other malicious activities.

scuid-x

5.2.0

by incisive

Removed from npm

Blocked by Socket

The provided source code exhibits clear signs of malicious behavior by collecting and sending sensitive system and environment data to a remote server. This poses a significant security risk as it involves potential data theft and privacy violations.

Live on npm for 44 minutes before removal. Socket users were protected even while the package was live.

@oss-ui/capsig-legacy

4.650.1

by hopnsns

Live on npm

Blocked by Socket

The code is highly suspicious due to its behavior of exfiltrating environment variables to an external server if specific conditions are not met. This matches patterns often used in data theft or malicious telemetry gathering. It includes specific hardcoded checks and a remote host, which indicate possible malicious intent.

curri-slack

4.0.9

Removed from npm

Blocked by Socket

The code is designed to exfiltrate system and project information to external servers, which is a clear indication of malicious behavior. It sends sensitive data such as directory name, hostname, username, and home directory, as well as the content of 'package.json' files. The inclusion of a delay mechanism suggests an attempt to avoid detection.

Live on npm for 36 minutes before removal. Socket users were protected even while the package was live.

@behemothx00/gd-util

1.0.0

by behemothx00

Live on npm

Blocked by Socket

The script collects system information, including hostname, current user, current directory, and a listing of files (using 'hostname', 'whoami', 'pwd', and 'ls -la' commands). It encodes this data using base64 and sends it to a remote server at f4kggoto2mhz4e9qz3u10hxmkdq8ex[.]burpcollaborator[.]net/behemoth via HTTP requests using 'curl'. The use of base64 encoding indicates a mild attempt at obfuscation. Exfiltrating sensitive system information to an external domain without user consent represents malicious behavior consistent with malware.

router-governance

99.13.0

by senseiesnes

Removed from npm

Blocked by Socket

This script is highly suspicious and potentially malicious. It runs a local program and sends its output to a remote server, which then executes a shell command. This behavior could be used for unauthorized access or to execute malicious code on the system.

Live on npm for 5 minutes before removal. Socket users were protected even while the package was live.

source-ap-loadper

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 42 minutes before removal. Socket users were protected even while the package was live.

eslint-plugin-unicorn-ts-2

1.2.1

by hamburgerisland

Live on npm

Blocked by Socket

The code appears to be sending environment data to a hardcoded remote server, which could be considered malicious behavior, especially in the context of a supply chain attack or unauthorized data exfiltration. The presence of a comment attempting to reassure the reader of the code's legitimacy further raises suspicion.

spinuri-pet-master-avec-ces-liens-quotidiens-pet-master-free-spins884

1.0.2

by muhammadharunmiya44

Removed from npm

Blocked by Socket

The code exhibits multiple indicators of potentially malicious behavior, including hardcoded credentials, automated web interactions, and manipulation of external content. Given the actions performed (logging into WordPress sites, publishing npm packages), it poses a significant risk and should be treated as potentially malicious.

Live on npm for 30 minutes before removal. Socket users were protected even while the package was live.

gl-emoji-version

3.5.0

by jpdtestjpd

Removed from npm

Blocked by Socket

The file contains code that secretly gathers detailed system information, such as hostname, OS type, platform, release, architecture, local IP addresses, public IP address (fetched via an external API), username, and current working directory. It then transmits this data to external endpoints via HTTP GET and POST requests, and uses a WebSocket connection as a fallback. The endpoints are hardcoded, for example, to URLs like http://example.com/jpd3.php, http://example.com/jpd4.php, and wss://example.com/socket, which are not transparent or verified services. This behavior is indicative of malware designed for unauthorized data exfiltration.

Live on npm for 15 hours and 44 minutes before removal. Socket users were protected even while the package was live.

dc-comments-beta-dropin

5.6.0

by jpdhackerone01

Removed from npm

Blocked by Socket

The source code exhibits behavior consistent with data exfiltration malware. It collects sensitive system information and sends it to external endpoints without user consent, posing a significant security risk.

Live on npm for 4 days, 8 hours and 24 minutes before removal. Socket users were protected even while the package was live.

products-genericsetup

1.6.3

Live on PyPI

Blocked by Socket

The primary concern with this code is the use of 'exec' to execute scripts fetched from the internet without validation. This poses a significant security risk as it can potentially execute malicious code. The use of 'os.spawnle' and 'subprocess.Popen' with user-provided inputs also adds to the security concerns. Additionally, there is a typo in 'Optarser' and incomplete handling of the temporary directory cleanup. http://python-distribute.org/distribute_setup.py was marked as Malicious by 1 engine in VT. https://www.virustotal.com/gui/url/3dce83785eafd47d40edd58b58c82593994cd409fc76351033486881fe943c36

bv-framework-sites

8.0.5

Removed from npm

Blocked by Socket

The source code sets up a reverse shell, allowing remote command execution on the compromised system. This is a critical security threat and is indicative of malicious behavior.

Live on npm for 10 minutes before removal. Socket users were protected even while the package was live.

maling

2.2.7

Live on PyPI

Blocked by Socket

The source code contains malicious behavior that poses a security risk to users. Specifically: The code forces the bot to automatically join specific Telegram channels without user consent. Hardcoded user IDs are used in conditional checks. If the bot's user ID is in a list named 'TOLOL' or not in 'DEVS', the code logs error messages containing offensive language and exits the program using 'sys.exit(1)', disrupting service and indicating unauthorized control over the bot. The variable 'black' is obtained by decoding a base64-encoded string ('NDgyOTQ1Njg2') to an integer, which is intended to hide malicious intent or obscure the user ID used in conditional logic. The 'expired_userbot' function logs out the bot account if the current date matches the expiration date stored in the database, leading to unexpected termination of the bot's operation without user consent. These behaviors lead to unauthorized actions, privacy violations, and disruption of service without the user's knowledge or consent.

@roborox_int/elk-logger

1.1.5

by hr4rbl

Live on npm

Blocked by Socket

The code exhibits behavior indicative of data exfiltration by sending environment variables to a suspicious domain. This poses a significant security risk.

solara

1.5.7

by legion2222222

Removed from npm

Blocked by Socket

The code poses a significant security risk by downloading and executing an unverified executable with administrative privileges. This could lead to malicious activities, including system compromise or data theft. Proper validation and integrity checks should be implemented.

Live on npm for 2 hours and 10 minutes before removal. Socket users were protected even while the package was live.

azure-graphrbac

16.23.1000

Removed from npm

Blocked by Socket

Possible typosquat of azure - Explanation: The package 'azure-graphrbac' is labeled as a 'security holding package', which often indicates a placeholder to prevent typosquatting. The name 'azure-graphrbac' closely resembles legitimate Azure package naming conventions, which could confuse users. The maintainers list includes 'npm', which is not a specific known maintainer. Therefore, it is likely a typosquat.

Live on npm for 43 minutes before removal. Socket users were protected even while the package was live.

react-dnd-legacy

1.99.99

by faultybiskot

Removed from npm

Blocked by Socket

The source code collects system information and sends it to an external domain using DNS queries. This behavior is indicative of data exfiltration and poses a significant security risk. The code is not heavily obfuscated but uses hexadecimal encoding to send data fragments.

Live on npm for 2 hours and 23 minutes before removal. Socket users were protected even while the package was live.

pf-web-build

9.773.0

by hswsp

Removed from npm

Blocked by Socket

The code appears to be sending system data over the network to a potentially suspicious domain. The use of environment variables, string concatenation for the host value, and base64 encoding of data raise concerns about the code's intention and security.

Live on npm for 24 minutes before removal. Socket users were protected even while the package was live.

driftwood_ktgen_9ewsf_ocean

1.0.0

by wagimansenku

Removed from npm

Blocked by Socket

The code provided appears to have multiple syntactical errors and uses unusual module names which could indicate obfuscation or simple errors in transcription. There is no evidence of malicious behavior as the function merely calls methods from imported modules, but the module names and syntax issues are highly irregular.

Live on npm for 48 days, 22 hours and 45 minutes before removal. Socket users were protected even while the package was live.

@prescient-devices/node-webcam

0.6.4

by pmacosta

Live on npm

Blocked by Socket

The package 'node-webcam@0.8.2' includes a post-installation script that downloads an executable file ('CommandCam.exe') from an external source without validation or integrity checks. Specifically, when installed on Windows systems, the script retrieves 'CommandCam.exe' from 'https://github[.]com/chuckfairy/node-webcam/releases/download/v0.6/CommandCam.exe' and saves it to 'src/bindings/CommandCam/CommandCam.exe' without obtaining user consent. CommandCam.exe (SHA256: 012d3ff83b1e65182807512fc9d04bcfdb40736fcdc2f7aba57531cbf031769e) is flagged as malicious by 22 out of 71 security vendors on VirusTotal. Downloading and executing binaries from external sources without validation introduces a security vulnerability, as the external source could be compromised to deliver malicious code, leading to potential arbitrary code execution on the user's system.

cloudwatch2slack

7.0.7

by cdd369

Removed from npm

Blocked by Socket

This module does not execute any code or perform any actual operations, but it contains a suspicious message.

Live on npm for 7 minutes before removal. Socket users were protected even while the package was live.

ltval

2.3.24

by bullex-ru

Live on npm

Blocked by Socket

This code appears to be a type validation utility ('LTVal') that contains a malicious obfuscated payload hidden within the verifyPackageIntegrity() method. The code is identical to the previously analyzed sample, using the same base64 encoding technique to hide a reverse shell payload. The legitimate-looking validator functions serve as a cover for the malware's true purpose. Upon execution, the deobfuscated code establishes a reverse shell connection to a command & control server via Pastebin. The malware includes anti-debugging checks and persistence mechanisms to maintain access

protobufjs-databricks

4.799.2

by hdatabrick

Removed from npm

Blocked by Socket

The code is malicious as it collects and sends environment variables to an external server without user consent. This poses a significant security risk due to potential data theft.

Live on npm for 1 hour and 20 minutes before removal. Socket users were protected even while the package was live.

evocateur_libpnpmpublisher

99.3.5

by mtdev008742

Removed from npm

Blocked by Socket

The code exhibits behavior consistent with malicious activity, specifically data exfiltration to suspicious domains. It collects and sends sensitive system information without user consent, indicating a high security risk.

Live on npm for 9 days, 19 hours and 38 minutes before removal. Socket users were protected even while the package was live.

@idse/core

4.791.1

by hatnt

Live on npm

Blocked by Socket

This code is suspicious as it sends environment variables, which can include sensitive data, to an external server. The remote host and the base64 encoding of data add to the suspicion. This could be used for data theft or other malicious activities.

scuid-x

5.2.0

by incisive

Removed from npm

Blocked by Socket

The provided source code exhibits clear signs of malicious behavior by collecting and sending sensitive system and environment data to a remote server. This poses a significant security risk as it involves potential data theft and privacy violations.

Live on npm for 44 minutes before removal. Socket users were protected even while the package was live.

@oss-ui/capsig-legacy

4.650.1

by hopnsns

Live on npm

Blocked by Socket

The code is highly suspicious due to its behavior of exfiltrating environment variables to an external server if specific conditions are not met. This matches patterns often used in data theft or malicious telemetry gathering. It includes specific hardcoded checks and a remote host, which indicate possible malicious intent.

curri-slack

4.0.9

Removed from npm

Blocked by Socket

The code is designed to exfiltrate system and project information to external servers, which is a clear indication of malicious behavior. It sends sensitive data such as directory name, hostname, username, and home directory, as well as the content of 'package.json' files. The inclusion of a delay mechanism suggests an attempt to avoid detection.

Live on npm for 36 minutes before removal. Socket users were protected even while the package was live.

@behemothx00/gd-util

1.0.0

by behemothx00

Live on npm

Blocked by Socket

The script collects system information, including hostname, current user, current directory, and a listing of files (using 'hostname', 'whoami', 'pwd', and 'ls -la' commands). It encodes this data using base64 and sends it to a remote server at f4kggoto2mhz4e9qz3u10hxmkdq8ex[.]burpcollaborator[.]net/behemoth via HTTP requests using 'curl'. The use of base64 encoding indicates a mild attempt at obfuscation. Exfiltrating sensitive system information to an external domain without user consent represents malicious behavior consistent with malware.

router-governance

99.13.0

by senseiesnes

Removed from npm

Blocked by Socket

This script is highly suspicious and potentially malicious. It runs a local program and sends its output to a remote server, which then executes a shell command. This behavior could be used for unauthorized access or to execute malicious code on the system.

Live on npm for 5 minutes before removal. Socket users were protected even while the package was live.

source-ap-loadper

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 42 minutes before removal. Socket users were protected even while the package was live.

eslint-plugin-unicorn-ts-2

1.2.1

by hamburgerisland

Live on npm

Blocked by Socket

The code appears to be sending environment data to a hardcoded remote server, which could be considered malicious behavior, especially in the context of a supply chain attack or unauthorized data exfiltration. The presence of a comment attempting to reassure the reader of the code's legitimacy further raises suspicion.

spinuri-pet-master-avec-ces-liens-quotidiens-pet-master-free-spins884

1.0.2

by muhammadharunmiya44

Removed from npm

Blocked by Socket

The code exhibits multiple indicators of potentially malicious behavior, including hardcoded credentials, automated web interactions, and manipulation of external content. Given the actions performed (logging into WordPress sites, publishing npm packages), it poses a significant risk and should be treated as potentially malicious.

Live on npm for 30 minutes before removal. Socket users were protected even while the package was live.

gl-emoji-version

3.5.0

by jpdtestjpd

Removed from npm

Blocked by Socket

The file contains code that secretly gathers detailed system information, such as hostname, OS type, platform, release, architecture, local IP addresses, public IP address (fetched via an external API), username, and current working directory. It then transmits this data to external endpoints via HTTP GET and POST requests, and uses a WebSocket connection as a fallback. The endpoints are hardcoded, for example, to URLs like http://example.com/jpd3.php, http://example.com/jpd4.php, and wss://example.com/socket, which are not transparent or verified services. This behavior is indicative of malware designed for unauthorized data exfiltration.

Live on npm for 15 hours and 44 minutes before removal. Socket users were protected even while the package was live.

dc-comments-beta-dropin

5.6.0

by jpdhackerone01

Removed from npm

Blocked by Socket

The source code exhibits behavior consistent with data exfiltration malware. It collects sensitive system information and sends it to external endpoints without user consent, posing a significant security risk.

Live on npm for 4 days, 8 hours and 24 minutes before removal. Socket users were protected even while the package was live.

products-genericsetup

1.6.3

Live on PyPI

Blocked by Socket

The primary concern with this code is the use of 'exec' to execute scripts fetched from the internet without validation. This poses a significant security risk as it can potentially execute malicious code. The use of 'os.spawnle' and 'subprocess.Popen' with user-provided inputs also adds to the security concerns. Additionally, there is a typo in 'Optarser' and incomplete handling of the temporary directory cleanup. http://python-distribute.org/distribute_setup.py was marked as Malicious by 1 engine in VT. https://www.virustotal.com/gui/url/3dce83785eafd47d40edd58b58c82593994cd409fc76351033486881fe943c36

bv-framework-sites

8.0.5

Removed from npm

Blocked by Socket

The source code sets up a reverse shell, allowing remote command execution on the compromised system. This is a critical security threat and is indicative of malicious behavior.

Live on npm for 10 minutes before removal. Socket users were protected even while the package was live.

maling

2.2.7

Live on PyPI

Blocked by Socket

The source code contains malicious behavior that poses a security risk to users. Specifically: The code forces the bot to automatically join specific Telegram channels without user consent. Hardcoded user IDs are used in conditional checks. If the bot's user ID is in a list named 'TOLOL' or not in 'DEVS', the code logs error messages containing offensive language and exits the program using 'sys.exit(1)', disrupting service and indicating unauthorized control over the bot. The variable 'black' is obtained by decoding a base64-encoded string ('NDgyOTQ1Njg2') to an integer, which is intended to hide malicious intent or obscure the user ID used in conditional logic. The 'expired_userbot' function logs out the bot account if the current date matches the expiration date stored in the database, leading to unexpected termination of the bot's operation without user consent. These behaviors lead to unauthorized actions, privacy violations, and disruption of service without the user's knowledge or consent.

@roborox_int/elk-logger

1.1.5

by hr4rbl

Live on npm

Blocked by Socket

The code exhibits behavior indicative of data exfiltration by sending environment variables to a suspicious domain. This poses a significant security risk.

solara

1.5.7

by legion2222222

Removed from npm

Blocked by Socket

The code poses a significant security risk by downloading and executing an unverified executable with administrative privileges. This could lead to malicious activities, including system compromise or data theft. Proper validation and integrity checks should be implemented.

Live on npm for 2 hours and 10 minutes before removal. Socket users were protected even while the package was live.

azure-graphrbac

16.23.1000

Removed from npm

Blocked by Socket

Possible typosquat of azure - Explanation: The package 'azure-graphrbac' is labeled as a 'security holding package', which often indicates a placeholder to prevent typosquatting. The name 'azure-graphrbac' closely resembles legitimate Azure package naming conventions, which could confuse users. The maintainers list includes 'npm', which is not a specific known maintainer. Therefore, it is likely a typosquat.

Live on npm for 43 minutes before removal. Socket users were protected even while the package was live.

react-dnd-legacy

1.99.99

by faultybiskot

Removed from npm

Blocked by Socket

The source code collects system information and sends it to an external domain using DNS queries. This behavior is indicative of data exfiltration and poses a significant security risk. The code is not heavily obfuscated but uses hexadecimal encoding to send data fragments.

Live on npm for 2 hours and 23 minutes before removal. Socket users were protected even while the package was live.

pf-web-build

9.773.0

by hswsp

Removed from npm

Blocked by Socket

The code appears to be sending system data over the network to a potentially suspicious domain. The use of environment variables, string concatenation for the host value, and base64 encoding of data raise concerns about the code's intention and security.

Live on npm for 24 minutes before removal. Socket users were protected even while the package was live.

driftwood_ktgen_9ewsf_ocean

1.0.0

by wagimansenku

Removed from npm

Blocked by Socket

The code provided appears to have multiple syntactical errors and uses unusual module names which could indicate obfuscation or simple errors in transcription. There is no evidence of malicious behavior as the function merely calls methods from imported modules, but the module names and syntax issues are highly irregular.

Live on npm for 48 days, 22 hours and 45 minutes before removal. Socket users were protected even while the package was live.

@prescient-devices/node-webcam

0.6.4

by pmacosta

Live on npm

Blocked by Socket

The package 'node-webcam@0.8.2' includes a post-installation script that downloads an executable file ('CommandCam.exe') from an external source without validation or integrity checks. Specifically, when installed on Windows systems, the script retrieves 'CommandCam.exe' from 'https://github[.]com/chuckfairy/node-webcam/releases/download/v0.6/CommandCam.exe' and saves it to 'src/bindings/CommandCam/CommandCam.exe' without obtaining user consent. CommandCam.exe (SHA256: 012d3ff83b1e65182807512fc9d04bcfdb40736fcdc2f7aba57531cbf031769e) is flagged as malicious by 22 out of 71 security vendors on VirusTotal. Downloading and executing binaries from external sources without validation introduces a security vulnerability, as the external source could be compromised to deliver malicious code, leading to potential arbitrary code execution on the user's system.

cloudwatch2slack

7.0.7

by cdd369

Removed from npm

Blocked by Socket

This module does not execute any code or perform any actual operations, but it contains a suspicious message.

Live on npm for 7 minutes before removal. Socket users were protected even while the package was live.

ltval

2.3.24

by bullex-ru

Live on npm

Blocked by Socket

This code appears to be a type validation utility ('LTVal') that contains a malicious obfuscated payload hidden within the verifyPackageIntegrity() method. The code is identical to the previously analyzed sample, using the same base64 encoding technique to hide a reverse shell payload. The legitimate-looking validator functions serve as a cover for the malware's true purpose. Upon execution, the deobfuscated code establishes a reverse shell connection to a command & control server via Pastebin. The malware includes anti-debugging checks and persistence mechanisms to maintain access

protobufjs-databricks

4.799.2

by hdatabrick

Removed from npm

Blocked by Socket

The code is malicious as it collects and sends environment variables to an external server without user consent. This poses a significant security risk due to potential data theft.

Live on npm for 1 hour and 20 minutes before removal. Socket users were protected even while the package was live.

evocateur_libpnpmpublisher

99.3.5

by mtdev008742

Removed from npm

Blocked by Socket

The code exhibits behavior consistent with malicious activity, specifically data exfiltration to suspicious domains. It collects and sends sensitive system information without user consent, indicating a high security risk.

Live on npm for 9 days, 19 hours and 38 minutes before removal. Socket users were protected even while the package was live.

Detect and block software supply chain attacks

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

25 more alerts

Detect suspicious package updates in real-time

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.

GitHub app screenshot

Developers love Socket

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.

Even more developer love
Install GitHub AppRead the docs

Security teams trust Socket

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.

Even more security team love
Book a DemoRead the blog

Why teams choose Socket

Pro-active security

Depend on Socket to prevent malicious open source dependencies from infiltrating your app.

Easy to install

Install the Socket GitHub App in just 2 clicks and get protected today.

Comprehensive open source protection

Block 70+ issues in open source code, including malware, typo-squatting, hidden code, misleading packages, permission creep, and more.

Develop faster

Reduce work by surfacing actionable security information directly in GitHub. Empower developers to make better decisions.

Supply chain attacks are on the rise

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.

Ready to dive in?

Get protected by Socket with just 2 clicks.

Install GitHub AppBook a Demo

The latest from the Socket team

Get our latest security research, open source insights, and product updates.

View all articles
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.