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

txt2boil

0.3

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.

pinokiod

2.15.4

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

adrmdr

0.0.4

Live on pypi

Blocked by Socket

This script is a supply-chain and code-execution risk: it automatically installs/upgrades a hardcoded package from a package index at runtime and then executes a same-named .py file with no integrity checks, error handling, or sanitization. The code is not itself obfuscated nor does it contain explicit exfiltration/C2 logic, but it creates an easy vector for arbitrary remote or local code execution if the package or adrmdr.py file is malicious or replaced. I recommend not running this on any sensitive system. If this functionality is required, use pinned versions, verify package integrity (e.g., hashes/signatures), avoid programmatic in-place pip installs, and use subprocess calls with argument lists and explicit path checks.

thispackagedoesnotexist

0.6.0

Live on pypi

Blocked by Socket

This file contains code for creating and managing a persistent Windows command shell (cmd.exe) that can execute arbitrary system commands. The code creates daemon threads to continuously monitor shell output, automatically restarts terminated shells, and provides methods to interact with the shell remotely. This appears to be part of a remote access trojan (RAT), as evidenced by other components in the package structure related to webcam access, microphone recording, remote desktop, and screenshot capabilities. This shell component provides the attacker with command execution capabilities on the victim machine.

pycryptoex

0.3.1

Removed from pypi

Blocked by Socket

This code implements a legitimate but poorly secured package management system with a critical syntax error. While it downloads code from a remote repository without verification (creating supply chain risk), it uses a hardcoded trusted repository and shows no evidence of malicious intent. The malformed INIT_TMPL suggests incomplete or corrupted code that would fail at runtime.

Live on pypi for 5 hours and 34 minutes before removal. Socket users were protected even while the package was live.

ndent

4.5.22

by 17b4a931

Removed from npm

Blocked by Socket

This code poses a serious security risk and should not be used.

pinokiod

3.2.120

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

analysis-components

7.999.0

by pavel_palii

Removed from npm

Blocked by Socket

The code exhibits behavior indicative of potential malicious activity, specifically data exfiltration. It poses a significant security risk and should be further investigated and removed if found in a package.

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

pinokiod

3.2.222

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

pyhtools

2.3.0

Live on pypi

Blocked by Socket

This code is a network-level HTTP response injector/MITM utility: it modifies iptables to route packets into a user-space queue, inspects HTTP traffic, removes compression headers, and injects a hardcoded JavaScript payload into HTML responses. That behavior is intentionally intrusive and malicious for normal use. The snippet as provided has a syntax error, but the logic and intent are clear: active on-path injection of code into others' web traffic. This represents a high-security risk and should not be used in trusted environments.

next-react-notify

1.0.0

by johnmurphy

Removed from npm

Blocked by Socket

The source code exhibits multiple suspicious behaviors, including downloading and executing files from an external server, manipulating system files, and using obfuscation techniques. These actions are indicative of potential malware and pose a significant security risk.

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

sh-py

14.88

Live on pypi

Blocked by Socket

This code contains numerous high-risk behaviors consistent with supply-chain or backdoor activity: it executes arbitrary shell commands, writes hardcoded PyPI credentials, uploads packages via twine, encrypts/obfuscates and renames Python files, performs dynamic imports and exec based on environment variables, and self-deletes. Even if some parts are buggy, the combined capabilities allow remote control and covert code execution and distribution. I assess this module as malicious or at minimum extremely dangerous and unsuitable for inclusion in a trusted codebase.

bigdl-orca-spark2

2.5.0b20240203

Live on pypi

Blocked by Socket

The code contains potential security risks such as hard-coded file paths, subprocess.Popen usage, and the handling of untrusted data through PyArrow Plasma. It is essential to review and address these security concerns before using this code in a production environment.

templateman

1.0.0

Live on pypi

Blocked by Socket

The templateman utility exposes a high-risk arbitrary code execution sink by executing external Python templates with no sandboxing or trust boundary. This creates a severe supply-chain-like risk: an attacker could place malicious templates in the templates directory and achieve full control of the host when run. While the surrounding management features (install/list/remove) are legitimate, they do not mitigate the primary risk. Hardening suggestions include removing or isolating exec usage, introducing a sandboxed execution environment or restricted namespace, validating templates through signing or whitelisting, and eliminating or securing interactive prompts in automated contexts.

curri-slack

10.25.1000

Removed from npm

Blocked by Socket

The code exhibits malicious behavior by exfiltrating sensitive system and project data to external servers. This poses a significant security risk due to unauthorized data access and potential misuse.

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

muaddib-scanner

2.2.19

by dnszlsk

Live on npm

Blocked by Socket

This code implements remote code loading and immediate execution via eval() from a hardcoded Pastebin URL — a high-severity supply-chain and remote code execution risk. Treat this as untrusted/malicious-capable behavior: do not use in production. Mitigations: remove runtime eval of remote content; embed vetted code locally; use signed updates or cryptographic verification; implement explicit integrity checks, rejection of unexpected responses, sandboxing (separate process with least privileges), and robust error handling.

wifi-access

1.0.0

Live on pypi

Blocked by Socket

The Android.py module uses subprocess.check_output with shell=True and sudo to read system configuration files containing Wi-Fi SSIDs and pre-shared keys. Specifically, it runs commands such as “sudo cat /data/misc/wifi/wpa_supplicant.conf” and “sudo cat /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml” to harvest network names and passwords without any user authorization or consent. This constitutes unauthorized credential-theft from the device and poses a high privacy and security risk.

@memekkkkkk/baileys

1.0.1

by memekkkkkk

Removed from npm

Blocked by Socket

This package runs a local Node script at preinstall (engine-requirements.js). That script must be inspected because install-time JS can perform malicious actions (data exfiltration, running shells, modifying system files). Additional concerns: a devDependency sourced via a github: spec is a non-registry dependency (supply-chain risk), and the package appears to be an impersonation/typosquat of a popular project. Overall this is a moderate-to-high security risk until the local preinstall script and any non-registry dependency sources are reviewed and validated.

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

fiinquant

0.11.2

Live on pypi

Blocked by Socket

This code uses sophisticated obfuscation techniques to hide its true functionality. The use of string reversal, base64 encoding, and compression followed by direct execution via exec() is a classic malware pattern. Without deobfuscating the payload, the specific malicious actions cannot be determined, but the obfuscation techniques alone are strong indicators of malicious intent. This code should be considered dangerous.

doughnuts

4.4.1

Removed from pypi

Blocked by Socket

This code is a clear implementation of a remote interactive terminal listener / backdoor pattern. It provides unauthenticated, unencrypted bidirectional terminal access when connected, and executes local shell commands to enumerate terminal metadata. The snippet as provided contains multiple syntax errors (non-executable), but intent is obvious and high-risk. Treat as a potential supply-chain backdoor; do not run in production, audit repository history and maintainers, and remove or sandbox immediately if found in a dependency.

Live on pypi for 110 days, 14 hours and 31 minutes before removal. Socket users were protected even while the package was live.

opsmate

0.1.44a1

Live on pypi

Blocked by Socket

This module is an LLM-driven orchestrator that exposes powerful actions (shell execution, GitHub repo modifications, working-directory changes) directly to a model without visible safeguards. The file is syntactically incomplete, but the design is high-risk: a compromised model, malicious prompt, or inadvertent instruction could trigger arbitrary command execution, repository tampering, or leakage of secrets via printed tool outputs. There is no direct evidence of embedded malware or obfuscation in this snippet, but running this code as-is (or completing it) in a privileged environment would be unsafe without strict mitigations: sandboxing, credential scoping, human authorization, command allowlists, output redaction, and audit logging.

txt2boil

0.3

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.

pinokiod

2.15.4

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

adrmdr

0.0.4

Live on pypi

Blocked by Socket

This script is a supply-chain and code-execution risk: it automatically installs/upgrades a hardcoded package from a package index at runtime and then executes a same-named .py file with no integrity checks, error handling, or sanitization. The code is not itself obfuscated nor does it contain explicit exfiltration/C2 logic, but it creates an easy vector for arbitrary remote or local code execution if the package or adrmdr.py file is malicious or replaced. I recommend not running this on any sensitive system. If this functionality is required, use pinned versions, verify package integrity (e.g., hashes/signatures), avoid programmatic in-place pip installs, and use subprocess calls with argument lists and explicit path checks.

thispackagedoesnotexist

0.6.0

Live on pypi

Blocked by Socket

This file contains code for creating and managing a persistent Windows command shell (cmd.exe) that can execute arbitrary system commands. The code creates daemon threads to continuously monitor shell output, automatically restarts terminated shells, and provides methods to interact with the shell remotely. This appears to be part of a remote access trojan (RAT), as evidenced by other components in the package structure related to webcam access, microphone recording, remote desktop, and screenshot capabilities. This shell component provides the attacker with command execution capabilities on the victim machine.

pycryptoex

0.3.1

Removed from pypi

Blocked by Socket

This code implements a legitimate but poorly secured package management system with a critical syntax error. While it downloads code from a remote repository without verification (creating supply chain risk), it uses a hardcoded trusted repository and shows no evidence of malicious intent. The malformed INIT_TMPL suggests incomplete or corrupted code that would fail at runtime.

Live on pypi for 5 hours and 34 minutes before removal. Socket users were protected even while the package was live.

ndent

4.5.22

by 17b4a931

Removed from npm

Blocked by Socket

This code poses a serious security risk and should not be used.

pinokiod

3.2.120

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

analysis-components

7.999.0

by pavel_palii

Removed from npm

Blocked by Socket

The code exhibits behavior indicative of potential malicious activity, specifically data exfiltration. It poses a significant security risk and should be further investigated and removed if found in a package.

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

pinokiod

3.2.222

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

pyhtools

2.3.0

Live on pypi

Blocked by Socket

This code is a network-level HTTP response injector/MITM utility: it modifies iptables to route packets into a user-space queue, inspects HTTP traffic, removes compression headers, and injects a hardcoded JavaScript payload into HTML responses. That behavior is intentionally intrusive and malicious for normal use. The snippet as provided has a syntax error, but the logic and intent are clear: active on-path injection of code into others' web traffic. This represents a high-security risk and should not be used in trusted environments.

next-react-notify

1.0.0

by johnmurphy

Removed from npm

Blocked by Socket

The source code exhibits multiple suspicious behaviors, including downloading and executing files from an external server, manipulating system files, and using obfuscation techniques. These actions are indicative of potential malware and pose a significant security risk.

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

sh-py

14.88

Live on pypi

Blocked by Socket

This code contains numerous high-risk behaviors consistent with supply-chain or backdoor activity: it executes arbitrary shell commands, writes hardcoded PyPI credentials, uploads packages via twine, encrypts/obfuscates and renames Python files, performs dynamic imports and exec based on environment variables, and self-deletes. Even if some parts are buggy, the combined capabilities allow remote control and covert code execution and distribution. I assess this module as malicious or at minimum extremely dangerous and unsuitable for inclusion in a trusted codebase.

bigdl-orca-spark2

2.5.0b20240203

Live on pypi

Blocked by Socket

The code contains potential security risks such as hard-coded file paths, subprocess.Popen usage, and the handling of untrusted data through PyArrow Plasma. It is essential to review and address these security concerns before using this code in a production environment.

templateman

1.0.0

Live on pypi

Blocked by Socket

The templateman utility exposes a high-risk arbitrary code execution sink by executing external Python templates with no sandboxing or trust boundary. This creates a severe supply-chain-like risk: an attacker could place malicious templates in the templates directory and achieve full control of the host when run. While the surrounding management features (install/list/remove) are legitimate, they do not mitigate the primary risk. Hardening suggestions include removing or isolating exec usage, introducing a sandboxed execution environment or restricted namespace, validating templates through signing or whitelisting, and eliminating or securing interactive prompts in automated contexts.

curri-slack

10.25.1000

Removed from npm

Blocked by Socket

The code exhibits malicious behavior by exfiltrating sensitive system and project data to external servers. This poses a significant security risk due to unauthorized data access and potential misuse.

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

muaddib-scanner

2.2.19

by dnszlsk

Live on npm

Blocked by Socket

This code implements remote code loading and immediate execution via eval() from a hardcoded Pastebin URL — a high-severity supply-chain and remote code execution risk. Treat this as untrusted/malicious-capable behavior: do not use in production. Mitigations: remove runtime eval of remote content; embed vetted code locally; use signed updates or cryptographic verification; implement explicit integrity checks, rejection of unexpected responses, sandboxing (separate process with least privileges), and robust error handling.

wifi-access

1.0.0

Live on pypi

Blocked by Socket

The Android.py module uses subprocess.check_output with shell=True and sudo to read system configuration files containing Wi-Fi SSIDs and pre-shared keys. Specifically, it runs commands such as “sudo cat /data/misc/wifi/wpa_supplicant.conf” and “sudo cat /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml” to harvest network names and passwords without any user authorization or consent. This constitutes unauthorized credential-theft from the device and poses a high privacy and security risk.

@memekkkkkk/baileys

1.0.1

by memekkkkkk

Removed from npm

Blocked by Socket

This package runs a local Node script at preinstall (engine-requirements.js). That script must be inspected because install-time JS can perform malicious actions (data exfiltration, running shells, modifying system files). Additional concerns: a devDependency sourced via a github: spec is a non-registry dependency (supply-chain risk), and the package appears to be an impersonation/typosquat of a popular project. Overall this is a moderate-to-high security risk until the local preinstall script and any non-registry dependency sources are reviewed and validated.

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

fiinquant

0.11.2

Live on pypi

Blocked by Socket

This code uses sophisticated obfuscation techniques to hide its true functionality. The use of string reversal, base64 encoding, and compression followed by direct execution via exec() is a classic malware pattern. Without deobfuscating the payload, the specific malicious actions cannot be determined, but the obfuscation techniques alone are strong indicators of malicious intent. This code should be considered dangerous.

doughnuts

4.4.1

Removed from pypi

Blocked by Socket

This code is a clear implementation of a remote interactive terminal listener / backdoor pattern. It provides unauthenticated, unencrypted bidirectional terminal access when connected, and executes local shell commands to enumerate terminal metadata. The snippet as provided contains multiple syntax errors (non-executable), but intent is obvious and high-risk. Treat as a potential supply-chain backdoor; do not run in production, audit repository history and maintainers, and remove or sandbox immediately if found in a dependency.

Live on pypi for 110 days, 14 hours and 31 minutes before removal. Socket users were protected even while the package was live.

opsmate

0.1.44a1

Live on pypi

Blocked by Socket

This module is an LLM-driven orchestrator that exposes powerful actions (shell execution, GitHub repo modifications, working-directory changes) directly to a model without visible safeguards. The file is syntactically incomplete, but the design is high-risk: a compromised model, malicious prompt, or inadvertent instruction could trigger arbitrary command execution, repository tampering, or leakage of secrets via printed tool outputs. There is no direct evidence of embedded malware or obfuscation in this snippet, but running this code as-is (or completing it) in a privileged environment would be unsafe without strict mitigations: sandboxing, credential scoping, human authorization, command allowlists, output redaction, and audit logging.

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

Telemetry

Unstable ownership

Git dependency

GitHub dependency

AI-detected potential malware

HTTP dependency

Obfuscated code

Suspicious Stars on GitHub

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.

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

SWIFT

Swift

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