You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP →
Socket
Book a DemoSign 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 4.0.0

left-pad
s

stevemao published 1.3.0

react
r

react-bot published 19.2.4

We protect you from vulnerable and malicious packages

@neoxr/wb

6.0.0-rc.32

by neoxr

Live on npm

Blocked by Socket

This file is an obfuscated unpacker/loader that uses a string table and a mapping function to build code at runtime and execute it with the Function constructor. It intentionally exposes host environment objects (window, require, module, exports) to the dynamically executed payload. This combination (heavy obfuscation + dynamic code construction/execution + access to require/module/exports/window) is a strong indicator of potentially malicious supply-chain behavior or at least a high-risk opaque module. I recommend treating this package as untrusted: remove or isolate it, and perform a full dynamic or manual unpacking/reverse-engineering to determine the payload. If used in production, consider replacing with a transparent, non-obfuscated alternative or audit the fully deobfuscated code before allowing it to run.

pocsuite3

1.8.11

Live on pypi

Blocked by Socket

This code is a payload/shellcode generator that builds binaries embedding shellcode (reverse/bind shells, DLL injection). It is dual-use: intended for security testing (pocsuite3) but can be used to produce malware artifacts. There are no explicit obfuscation techniques or hidden backdoors in this fragment, but the module's purpose is to create executable payloads and write them to disk — which poses significant security risk if used maliciously or unintentionally. Review and restrict use to trusted environments and audit the imported create_shellcode and filesystem/write locations before use.

shancx

1.9.16

Removed from pypi

Blocked by Socket

The code exhibits several security risks, particularly in the sendEmail function which could lead to data exfiltration. The presence of hardcoded values and lack of input validation raises concerns about potential malicious behavior. Overall, the code should be reviewed and modified to mitigate these risks.

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

github-badge-bot

1.9.2

Live on npm

Blocked by Socket

This module programmatically attempts to start Chrome Remote Desktop host with a hardcoded authorization code and runs it in a hidden, detached, and potentially elevated manner, while reporting status to a Telegram bot. These behaviors are consistent with enabling remote access/backdoor capabilities and are high-risk in a supply-chain context. If this package is included in a project without the operators' explicit knowledge and the AUTH_CODE/Telegram credentials are controlled by a third party, it could allow unauthorized remote access. Review and remove or modify this code unless you trust the AUTH_CODE owner and the Telegram endpoint and intend this automated setup. At minimum, avoid hardcoded credentials and require explicit user consent/interaction for privilege elevation and remote-host registration.

wifiorca

0.0.16

Live on pypi

Blocked by Socket

This code is a high-risk malicious tool: a root-required packet sniffer that captures raw network frames and exfiltrates them to a configured remote host over TLS. It can capture sensitive unencrypted application data and metadata, and it manipulates network interfaces. Do not run on production or sensitive systems. Treat as malware/backdoor capable of network surveillance and data exfiltration. If encountered in dependencies, remove and investigate the environment for compromise.

rth-host-helper

1.0.2

by shangzhen

Live on npm

Blocked by Socket

The fragment implements a remote shell/backdoor capability accessible over WebSocket, with terminal emulation and filesystem operations. Obfuscation masks critical logic, and the combination of remote command execution, file system access, and potential external payload updates constitutes high risk for supply-chain or runtime compromise if included in a project. Without explicit provenance, authentication, or safeguards, treat as dangerous and remove or isolate from any public-facing library.

github.com/LifeForRedTream/NginxRce

v0.0.0-20230810025252-72fa55c28e4e

Live on go

Blocked by Socket

This code is intentionally malicious and should be treated as an exploit/backdoor tool. It transmits a crafted binary exploit followed by a hardcoded reverse-shell command to a user-specified host:port. Do not run this code in any production or untrusted environment. Remove from supply chain and investigate provenance and distribution. If you encountered this in a repository, consider it a critical incident and treat artifacts and build outputs as potentially compromised.

pymediawikidocker

0.20.4

Live on pypi

Blocked by Socket

This script is intentionally destructive: it removes a sudoers fragment and uninstalls the sudo package (on Debian/Ubuntu systems) and thus can lock out administrators and impede recovery. It is high-risk sabotage rather than covert data-exfiltration malware. Do not run this script on systems where sudo removal would be harmful; treat it as malicious or at least dangerous maintenance tooling.

jessa-vue-components

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

sbcli-dev

5.0.1

Live on pypi

Blocked by Socket

This module implements privileged node and device management and exposes HTTP endpoints that accept user input used directly in shell commands and Docker operations. Main risks: command injection (unsanitized string interpolation into shell commands and os.popen), destructive device operations (partitioning, bind/unbind), supplying arbitrary images to be pulled and run as privileged containers, and use of an unencrypted/unprotected Docker TCP socket (tcp://...:2375). I assess this as not manifestly malware but a high-risk administrative component that must be strictly access-controlled and hardened (validate/sanitize inputs, avoid passing raw user values into shell/Docker operations, use secure Docker API access, avoid exposing endpoints publicly).

finalmoyloyt

0.30.1

by tatiana_etn

Live on npm

Blocked by Socket

This install script executes a local program named exploit.js two times. The action itself is execution of untrusted code — potentially highly dangerous. You must inspect the contents of exploit.js before allowing this to run. Treat it as potentially malicious: do not run with elevated privileges, run in a sandbox/isolated environment, and audit the file for network access, child process spawning, file writes, or attempts to modify git hooks or system files.

mtmai

0.3.1533

Live on pypi

Blocked by Socket

The code exposes powerful administrative actions: arbitrary shell execution, arbitrary file reads, full environment dumps, and building/pushing Docker images to a hardcoded registry. These are not obfuscated but are high-risk capabilities that can be abused for data exfiltration, remote code execution, and supply-chain leakage if the superuser authentication is compromised or misconfigured. The presence of a hardcoded remote image name for docker push is suspicious for unintended outbound artifact exfiltration. Recommendation: avoid including these endpoints in public packages or ensure strict, auditable authentication and input validation; remove hardcoded push targets and avoid returning full environment variables or arbitrary file contents.

txt2boil

0.2.20

Live on pypi

Blocked by Socket

This code dynamically executes Python taken from comment content labelled 'Python Gen:' by building and eval()-ing a function whose body comes directly from the regex capture. If the 'comm' input can be influenced by an attacker, this is a high-risk remote code execution vector. The group-index remapping makes the capture-to-execution mapping less obvious. Do not use on untrusted input; if this functionality is required, restrict or sanitize inputs, use a safe execution sandbox, or remove dynamic eval altogether.

dnszlsk/muad-dib

6c46866ab915e9f67dd30c66fe9b789dac526ef4

Live on actions

Blocked by Socket

This file implements a direct backdoor: if not running in a Docker environment (/.dockerenv absent) it downloads and immediately executes a remote shell script from a hard-coded domain. This is a high-severity remote code execution/backdoor pattern. Treat as compromise: do not run, remove, and investigate any systems where it executed.

sbcli-main

1.0.3

Live on pypi

Blocked by Socket

The Python module itself is not directly implementing typical malware behaviors, but it creates a high-risk execution surface: it runs local shell scripts (some with sudo) with unvalidated inputs and passes secrets on the command line. The deploy_fdb_from_file_service function contains a command-injection vulnerability (shell=True with joined args) and a coding bug (returncod typo). Recommend: remove shell=True; use argument lists always, avoid passing secrets via argv (use stdin, environment files with proper filesystem permissions, or secured IPC), eliminate unnecessary sudo calls and require callers to provide appropriate privileges if needed, validate/escape inputs (especially file paths), fix the returncod typo, and audit all invoked shell scripts before use. Treat package as risky until mitigations and script audits are performed.

opsmate

0.1.55a0

Live on pypi

Blocked by Socket

The module itself is not obviously obfuscated and contains no hardcoded credentials, but it exposes several high-risk behaviors: executing arbitrary shell commands via subprocess.check_output/run with shell=True driven by metadata, rendering Jinja2 templates with untrusted inputs, and reading arbitrary files specified by metadata. These behaviors create clear vectors for command execution, data exfiltration, and template injection if metadata or templates can be influenced by an attacker. If metadata is attacker-controllable or comes from untrusted sources, the package should be considered dangerous and not used without strong input validation and least-privilege controls. If metadata is strictly internal and trusted, the risk is reduced but still noteworthy due to use of shell=True and template rendering.

bashrc

0.1.96

Live on pypi

Blocked by Socket

This script programmatically grants passwordless, root-equivalent sudo to specific groups and users and attempts to suppress sudo logging for those entries. Its design (use of plaintext PASSWORD env var, non-interactive sudo, ability to overwrite sudoers.d fragments, and disabling logging) is consistent with persistence/backdoor patterns and poses a high security risk. Treat the code as dangerous: do not run on production or sensitive hosts. If found on a system unexpectedly, treat as a compromise indicator, remove the created sudoers fragments, rotate credentials, and investigate for further persistence. Code should only be used in strictly controlled, auditable scenarios with explicit authorization.

firesoft.core

7.0.0

by FIRESOFT ITALIA SRL

Live on nuget

Blocked by Socket

Selected as the most thorough, albeit alarming, assessment among the three reports. It accurately identifies loader/backdoor-like traits, heavy interop, in-memory code execution possibilities, and obfuscation as core signals. The improved view reinforces the need for treating this artifact as high risk: do not deploy, require isolated offline analysis, and consider removing or safeguarding it from supply chains until a transparent, auditable design is demonstrated.

xenon-alchemy-onh129

1.0.0

by afifaljafari112

Removed from npm

Blocked by Socket

The code snippet appears to be highly suspicious due to unusual naming conventions and lack of clarity about the purpose of the imported modules and the functame() function. Without more information about the imported modules, it is difficult to determine if the code is malicious, but the irregularities and lack of clear purpose raise security concerns.

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

hardhat-gas-optimizer

1.2.3

by ruslan-dev

Removed from npm

Blocked by Socket

The code appears to be primarily functional, enhancing testing workflows for Ethereum development. However, the inclusion of an HTTP POST request that sends potentially sensitive configuration data to a remote server using hardcoded credentials is highly suspicious and indicative of intentional data exfiltration.

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

canine

0.3.1

Live on pypi

Blocked by Socket

The script performs explicit destructive operations against the Slurm compute-node daemon and its spool files. While trivial and not obfuscated, its unconditional use of killall and rm -rf make it dangerous and potentially malicious or at least negligent. Treat as high risk: do not execute. Investigate provenance, remove from automated deployment hooks, and if run on hosts, assume job/state loss and perform forensic recovery.

dnszlsk/muad-dib

e03b80e5864778a4d89bad7cc27636321a758c7a

Live on actions

Blocked by Socket

This file implements a direct backdoor: if not running in a Docker environment (/.dockerenv absent) it downloads and immediately executes a remote shell script from a hard-coded domain. This is a high-severity remote code execution/backdoor pattern. Treat as compromise: do not run, remove, and investigate any systems where it executed.

@tushar-br/file11

1.0.78

by tushar-br

Live on npm

Blocked by Socket

The module's primary functionality (synchronizing a local staging_area into a target directory and reassembling multipart files) appears legitimate. However, it includes dangerous destructive behavior: unconditional deletion of node_modules and key package files in a root resolved relative to the script, and deletion of files listed in .cloud_ignore.json, with no safeguards or path validation. While there is no network exfiltration or obfuscation, the deletion logic can cause data loss or sabotage when run in developer or CI environments. Treat this package as high risk: do not run it without code review and removing or gating the destructive cleanup and adding explicit path validation and user confirmation.

github.com/milvus-io/milvus

v0.10.3-0.20211222123310-289e11323da6

Live on go

Blocked by Socket

This code implements an insecure, unauthenticated RPC mechanism that allows remote clients to cause arbitrary code execution and exfiltrate files/system information. Using pickle over an untrusted network and invoking methods by client-supplied names are severe supply-chain/backdoor risks. Do not deploy or reuse this code in production; it should be treated as a backdoor/untrusted remote-execution component unless wrapped with strong authentication, authorization, sandboxing, and safe serialization.

@neoxr/wb

6.0.0-rc.32

by neoxr

Live on npm

Blocked by Socket

This file is an obfuscated unpacker/loader that uses a string table and a mapping function to build code at runtime and execute it with the Function constructor. It intentionally exposes host environment objects (window, require, module, exports) to the dynamically executed payload. This combination (heavy obfuscation + dynamic code construction/execution + access to require/module/exports/window) is a strong indicator of potentially malicious supply-chain behavior or at least a high-risk opaque module. I recommend treating this package as untrusted: remove or isolate it, and perform a full dynamic or manual unpacking/reverse-engineering to determine the payload. If used in production, consider replacing with a transparent, non-obfuscated alternative or audit the fully deobfuscated code before allowing it to run.

pocsuite3

1.8.11

Live on pypi

Blocked by Socket

This code is a payload/shellcode generator that builds binaries embedding shellcode (reverse/bind shells, DLL injection). It is dual-use: intended for security testing (pocsuite3) but can be used to produce malware artifacts. There are no explicit obfuscation techniques or hidden backdoors in this fragment, but the module's purpose is to create executable payloads and write them to disk — which poses significant security risk if used maliciously or unintentionally. Review and restrict use to trusted environments and audit the imported create_shellcode and filesystem/write locations before use.

shancx

1.9.16

Removed from pypi

Blocked by Socket

The code exhibits several security risks, particularly in the sendEmail function which could lead to data exfiltration. The presence of hardcoded values and lack of input validation raises concerns about potential malicious behavior. Overall, the code should be reviewed and modified to mitigate these risks.

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

github-badge-bot

1.9.2

Live on npm

Blocked by Socket

This module programmatically attempts to start Chrome Remote Desktop host with a hardcoded authorization code and runs it in a hidden, detached, and potentially elevated manner, while reporting status to a Telegram bot. These behaviors are consistent with enabling remote access/backdoor capabilities and are high-risk in a supply-chain context. If this package is included in a project without the operators' explicit knowledge and the AUTH_CODE/Telegram credentials are controlled by a third party, it could allow unauthorized remote access. Review and remove or modify this code unless you trust the AUTH_CODE owner and the Telegram endpoint and intend this automated setup. At minimum, avoid hardcoded credentials and require explicit user consent/interaction for privilege elevation and remote-host registration.

wifiorca

0.0.16

Live on pypi

Blocked by Socket

This code is a high-risk malicious tool: a root-required packet sniffer that captures raw network frames and exfiltrates them to a configured remote host over TLS. It can capture sensitive unencrypted application data and metadata, and it manipulates network interfaces. Do not run on production or sensitive systems. Treat as malware/backdoor capable of network surveillance and data exfiltration. If encountered in dependencies, remove and investigate the environment for compromise.

rth-host-helper

1.0.2

by shangzhen

Live on npm

Blocked by Socket

The fragment implements a remote shell/backdoor capability accessible over WebSocket, with terminal emulation and filesystem operations. Obfuscation masks critical logic, and the combination of remote command execution, file system access, and potential external payload updates constitutes high risk for supply-chain or runtime compromise if included in a project. Without explicit provenance, authentication, or safeguards, treat as dangerous and remove or isolate from any public-facing library.

github.com/LifeForRedTream/NginxRce

v0.0.0-20230810025252-72fa55c28e4e

Live on go

Blocked by Socket

This code is intentionally malicious and should be treated as an exploit/backdoor tool. It transmits a crafted binary exploit followed by a hardcoded reverse-shell command to a user-specified host:port. Do not run this code in any production or untrusted environment. Remove from supply chain and investigate provenance and distribution. If you encountered this in a repository, consider it a critical incident and treat artifacts and build outputs as potentially compromised.

pymediawikidocker

0.20.4

Live on pypi

Blocked by Socket

This script is intentionally destructive: it removes a sudoers fragment and uninstalls the sudo package (on Debian/Ubuntu systems) and thus can lock out administrators and impede recovery. It is high-risk sabotage rather than covert data-exfiltration malware. Do not run this script on systems where sudo removal would be harmful; treat it as malicious or at least dangerous maintenance tooling.

jessa-vue-components

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

sbcli-dev

5.0.1

Live on pypi

Blocked by Socket

This module implements privileged node and device management and exposes HTTP endpoints that accept user input used directly in shell commands and Docker operations. Main risks: command injection (unsanitized string interpolation into shell commands and os.popen), destructive device operations (partitioning, bind/unbind), supplying arbitrary images to be pulled and run as privileged containers, and use of an unencrypted/unprotected Docker TCP socket (tcp://...:2375). I assess this as not manifestly malware but a high-risk administrative component that must be strictly access-controlled and hardened (validate/sanitize inputs, avoid passing raw user values into shell/Docker operations, use secure Docker API access, avoid exposing endpoints publicly).

finalmoyloyt

0.30.1

by tatiana_etn

Live on npm

Blocked by Socket

This install script executes a local program named exploit.js two times. The action itself is execution of untrusted code — potentially highly dangerous. You must inspect the contents of exploit.js before allowing this to run. Treat it as potentially malicious: do not run with elevated privileges, run in a sandbox/isolated environment, and audit the file for network access, child process spawning, file writes, or attempts to modify git hooks or system files.

mtmai

0.3.1533

Live on pypi

Blocked by Socket

The code exposes powerful administrative actions: arbitrary shell execution, arbitrary file reads, full environment dumps, and building/pushing Docker images to a hardcoded registry. These are not obfuscated but are high-risk capabilities that can be abused for data exfiltration, remote code execution, and supply-chain leakage if the superuser authentication is compromised or misconfigured. The presence of a hardcoded remote image name for docker push is suspicious for unintended outbound artifact exfiltration. Recommendation: avoid including these endpoints in public packages or ensure strict, auditable authentication and input validation; remove hardcoded push targets and avoid returning full environment variables or arbitrary file contents.

txt2boil

0.2.20

Live on pypi

Blocked by Socket

This code dynamically executes Python taken from comment content labelled 'Python Gen:' by building and eval()-ing a function whose body comes directly from the regex capture. If the 'comm' input can be influenced by an attacker, this is a high-risk remote code execution vector. The group-index remapping makes the capture-to-execution mapping less obvious. Do not use on untrusted input; if this functionality is required, restrict or sanitize inputs, use a safe execution sandbox, or remove dynamic eval altogether.

dnszlsk/muad-dib

6c46866ab915e9f67dd30c66fe9b789dac526ef4

Live on actions

Blocked by Socket

This file implements a direct backdoor: if not running in a Docker environment (/.dockerenv absent) it downloads and immediately executes a remote shell script from a hard-coded domain. This is a high-severity remote code execution/backdoor pattern. Treat as compromise: do not run, remove, and investigate any systems where it executed.

sbcli-main

1.0.3

Live on pypi

Blocked by Socket

The Python module itself is not directly implementing typical malware behaviors, but it creates a high-risk execution surface: it runs local shell scripts (some with sudo) with unvalidated inputs and passes secrets on the command line. The deploy_fdb_from_file_service function contains a command-injection vulnerability (shell=True with joined args) and a coding bug (returncod typo). Recommend: remove shell=True; use argument lists always, avoid passing secrets via argv (use stdin, environment files with proper filesystem permissions, or secured IPC), eliminate unnecessary sudo calls and require callers to provide appropriate privileges if needed, validate/escape inputs (especially file paths), fix the returncod typo, and audit all invoked shell scripts before use. Treat package as risky until mitigations and script audits are performed.

opsmate

0.1.55a0

Live on pypi

Blocked by Socket

The module itself is not obviously obfuscated and contains no hardcoded credentials, but it exposes several high-risk behaviors: executing arbitrary shell commands via subprocess.check_output/run with shell=True driven by metadata, rendering Jinja2 templates with untrusted inputs, and reading arbitrary files specified by metadata. These behaviors create clear vectors for command execution, data exfiltration, and template injection if metadata or templates can be influenced by an attacker. If metadata is attacker-controllable or comes from untrusted sources, the package should be considered dangerous and not used without strong input validation and least-privilege controls. If metadata is strictly internal and trusted, the risk is reduced but still noteworthy due to use of shell=True and template rendering.

bashrc

0.1.96

Live on pypi

Blocked by Socket

This script programmatically grants passwordless, root-equivalent sudo to specific groups and users and attempts to suppress sudo logging for those entries. Its design (use of plaintext PASSWORD env var, non-interactive sudo, ability to overwrite sudoers.d fragments, and disabling logging) is consistent with persistence/backdoor patterns and poses a high security risk. Treat the code as dangerous: do not run on production or sensitive hosts. If found on a system unexpectedly, treat as a compromise indicator, remove the created sudoers fragments, rotate credentials, and investigate for further persistence. Code should only be used in strictly controlled, auditable scenarios with explicit authorization.

firesoft.core

7.0.0

by FIRESOFT ITALIA SRL

Live on nuget

Blocked by Socket

Selected as the most thorough, albeit alarming, assessment among the three reports. It accurately identifies loader/backdoor-like traits, heavy interop, in-memory code execution possibilities, and obfuscation as core signals. The improved view reinforces the need for treating this artifact as high risk: do not deploy, require isolated offline analysis, and consider removing or safeguarding it from supply chains until a transparent, auditable design is demonstrated.

xenon-alchemy-onh129

1.0.0

by afifaljafari112

Removed from npm

Blocked by Socket

The code snippet appears to be highly suspicious due to unusual naming conventions and lack of clarity about the purpose of the imported modules and the functame() function. Without more information about the imported modules, it is difficult to determine if the code is malicious, but the irregularities and lack of clear purpose raise security concerns.

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

hardhat-gas-optimizer

1.2.3

by ruslan-dev

Removed from npm

Blocked by Socket

The code appears to be primarily functional, enhancing testing workflows for Ethereum development. However, the inclusion of an HTTP POST request that sends potentially sensitive configuration data to a remote server using hardcoded credentials is highly suspicious and indicative of intentional data exfiltration.

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

canine

0.3.1

Live on pypi

Blocked by Socket

The script performs explicit destructive operations against the Slurm compute-node daemon and its spool files. While trivial and not obfuscated, its unconditional use of killall and rm -rf make it dangerous and potentially malicious or at least negligent. Treat as high risk: do not execute. Investigate provenance, remove from automated deployment hooks, and if run on hosts, assume job/state loss and perform forensic recovery.

dnszlsk/muad-dib

e03b80e5864778a4d89bad7cc27636321a758c7a

Live on actions

Blocked by Socket

This file implements a direct backdoor: if not running in a Docker environment (/.dockerenv absent) it downloads and immediately executes a remote shell script from a hard-coded domain. This is a high-severity remote code execution/backdoor pattern. Treat as compromise: do not run, remove, and investigate any systems where it executed.

@tushar-br/file11

1.0.78

by tushar-br

Live on npm

Blocked by Socket

The module's primary functionality (synchronizing a local staging_area into a target directory and reassembling multipart files) appears legitimate. However, it includes dangerous destructive behavior: unconditional deletion of node_modules and key package files in a root resolved relative to the script, and deletion of files listed in .cloud_ignore.json, with no safeguards or path validation. While there is no network exfiltration or obfuscation, the deletion logic can cause data loss or sabotage when run in developer or CI environments. Treat this package as high risk: do not run it without code review and removing or gating the destructive cleanup and adding explicit path validation and user confirmation.

github.com/milvus-io/milvus

v0.10.3-0.20211222123310-289e11323da6

Live on go

Blocked by Socket

This code implements an insecure, unauthenticated RPC mechanism that allows remote clients to cause arbitrary code execution and exfiltrate files/system information. Using pickle over an untrusted network and invoking methods by client-supplied names are severe supply-chain/backdoor risks. Do not deploy or reuse this code in production; it should be treated as a backdoor/untrusted remote-execution component unless wrapped with strong authentication, authorization, sandboxing, and safe serialization.

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.

Possible typosquat attack

Known malware

Git dependency

GitHub dependency

AI-detected potential malware

HTTP dependency

Obfuscated code

Suspicious Stars on GitHub

Telemetry

Protestware or potentially unwanted behavior

54 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

Protect every package in your stack

Secure your team's dependencies across your stack with Socket. Stop supply chain attacks before they reach production.

View all integrations

RUST

crates.io

Rust Package Manager

PHP

Packagist

PHP Package Manager

GOLANG

Go Modules

Go Dependency Management

JAVA

Maven Central

JAVASCRIPT

npm

Node Package Manager

.NET

NuGet

.NET Package Manager

PYTHON

PyPI

Python Package Index

RUBY

RubyGems.org

Ruby Package Manager

AI

Hugging Face Hub

AI Model Hub

CI

GitHub Actions

CI/CD Workflows

EXTENSIONS

Chrome Web Store

Chrome Browser Extensions

EXTENSIONS

Open VSX

VS Code Extensions

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.

Nov 23, 2025

Shai Hulud v2

Shai Hulud v2 campaign: preinstall script (setup_bun.js) and loader (setup_bin.js) that installs/locates Bun and executes an obfuscated bundled malicious script (bun_environment.js) with suppressed output.

Nov 05, 2025

Elves on npm

A surge of auto-generated "elf-stats" npm packages is being published every two minutes from new accounts. These packages contain simple malware variants and are being rapidly removed by npm. At least 420 unique packages have been identified, often described as being generated every two minutes, with some mentioning a capture the flag challenge or test.

Jul 04, 2025

RubyGems Automation-Tool Infostealer

Since at least March 2023, a threat actor using multiple aliases uploaded 60 malicious gems to RubyGems that masquerade as automation tools (Instagram, TikTok, Twitter, Telegram, WordPress, and Naver). The gems display a Korean Glimmer-DSL-LibUI login window, then exfiltrate the entered username/password and the host's MAC address via HTTP POST to threat actor-controlled infrastructure.

Mar 13, 2025

North Korea's Contagious Interview Campaign

Since late 2024, we have tracked hundreds of malicious npm packages and supporting infrastructure tied to North Korea's Contagious Interview operation, with tens of thousands of downloads targeting developers and tech job seekers. The threat actors run a factory-style playbook: recruiter lures and fake coding tests, polished GitHub templates, and typosquatted or deceptive dependencies that install or import into real projects.

Jul 23, 2024

Network Reconnaissance Campaign

A malicious npm supply chain attack that leveraged 60 packages across three disposable npm accounts to fingerprint developer workstations and CI/CD servers during installation. Each package embedded a compact postinstall script that collected hostnames, internal and external IP addresses, DNS resolvers, usernames, home and working directories, and package metadata, then exfiltrated this data as a JSON blob to a hardcoded Discord webhook.

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 →