Launch Week Day 5: Introducing Reachability for PHP.Learn More
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 App
Book a Demo

Questions? Call us at (844) SOCKET-0

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.5

We protect you from vulnerable and malicious packages

exp10it

2.5.92

Live on pypi

Blocked by Socket

This file is offensive/exploit tooling: it performs automated reconnaissance, crafts and sends SQLi and PHP eval payloads against Joomla sites, extracts credentials/session data, and attempts to install a PHP webshell for persistence. Those behaviors constitute malicious activity (unauthorized access, credential theft, backdoor installation). Treat this code as malicious/exploitative; do not include it in trusted dependencies or run it on networks you do not own/authorize. The snippet contains some syntactic errors suggesting a truncated copy, but intent and many operational parts are explicit.

tx.npoi

1.0.2

by TianTeng

Live on nuget

Blocked by Socket

This assembly contains a highly obfuscated runtime loader/packer: it decrypts embedded resources, verifies signatures, allocates executable memory and writes/deploys code by manipulating method pointers and calling into native APIs (VirtualAlloc/VirtualProtect/WriteProcessMemory, /proc/self/mem, libclrjit). Those operations are consistent with in-memory code injection and JIT hooking. While such techniques are used by legitimate protectors/packers, the presence of direct process-memory writes, native API calls, JIT hooking and heavy obfuscation makes this package dangerous in most supply-chain contexts. Treat it as potentially malicious/untrusted — do not use in production without a full provenance and security review.

yinhepy

1.3.18

Live on pypi

Blocked by Socket

The file contains an intentionally concealed payload: a large embedded byte array XOR-decrypted with a hard-coded key and executed via exec() unconditionally. This is a high-risk pattern (likely backdoor/malware). Do not run or import this module; analyze the decrypted payload in a safe sandbox and remove or block the package unless its content and origin are fully validated.

phenotyping-segmentation

0.1.7

Live on pypi

Blocked by Socket

This module contains insecure patterns that allow arbitrary code execution from external profile/INI data: eval() on the 'Timer' profile value and exec() on the 'Work' profile value. These provide a straightforward remote/local code execution vector if an attacker can modify the profile (pytimer.ini) or influence profile contents. The file itself does not contain an explicit backdoor like a hard-coded C2 server, but the insecure eval/exec of external data makes this code dangerous to run in untrusted or multi-user environments. Avoid using this module or ensure the profile file is protected and code strings are removed or validated.

@kui-shell/plugin-bash-like

0.24.0-dev.2836.49

by oliviaruan

Live on npm

Blocked by Socket

This module is a high-risk remote shell/PTY bridge: it accepts WebSocket JSON from a remote party, spawns an interactive bash session, executes client-supplied commands via bash -c, streams command output back over the network, and accepts interactive input for arbitrary command sequences. It also supports client-controlled environment variables and performs macOS-specific dotfile manipulation consistent with reducing session artifacts. If authentication/authorization is not strict in surrounding components, the security impact is critical (remote command execution and data exfiltration).

github.com/weaveworks/weave

v1.4.7-0.20160328152721-22c35826992c

Live on go

Blocked by Socket

This module is a high-risk runtime packer/dropper: it embeds an encrypted payload, decrypts it using a user-supplied passphrase, writes the result to `bin/do-setup-circleci-secrets`, and immediately executes it. Because there is no integrity/authenticity validation of the decrypted artifact and the executed code is not shown here, the module should be treated as potentially malicious until the decrypted `bin/do-setup-circleci-secrets` content is inspected and validated in a safe environment.

github.com/gravitl/netmaker

v0.10.1-0.20220211144019-8195ec25e924

Live on go

Blocked by Socket

High-risk supply-chain/security indicator: the authorize() middleware includes a hardcoded static bearer token fallback (authToken := "928rt238tghgwe@TY@$Y@#WQAEGB2FC#@HG#@$Hddd"). If the Authorization header is missing or malformed, the code still attempts to verify this embedded token, which strongly suggests a backdoor credential or at minimum a dangerous authentication bypass condition. Because this middleware gates sensitive sinks (JWT verification, node updates, gateway/relay mutations, and mq.NodeUpdate publishing), the impact could be significant. Additional concern: possible RBAC logic bug using params["netid"] instead of params["nodeid"].

align-configer

3.4.2

by sandy-barton

Live on npm

Blocked by Socket

This module uses atob to decode three base64-encoded environment variables (DEV_API_KEY, DEV_SECRET_KEY, DEV_SECRET_VALUE) into a remote URL and HTTP header name/value. It then performs an axios GET to that URL with the decoded header. The response’s data.cookie field is treated as JavaScript source, compiled via new Function.constructor('require', …), and invoked immediately with Node’s require injected—granting the fetched code full access to filesystem, network, child processes, credentials, etc. The code also saves and restores console.log around execution (to hide output) and silently retries up to five times on errors. This is a classic remote code execution backdoor, posing an immediate and severe supply-chain risk. Remove or quarantine this module and audit the environment variable configuration and remote endpoint. Supply-chain controls (signed payloads, pinned URLs, disabling runtime evaluation) are strongly recommended.

dnszlsk/muad-dib

7d64e80bab45e6d5a0b4e75ed89b0b5347075ce9

Live on actions

Blocked by Socket

This code is strongly consistent with a malicious dropper/loader: it fetches an external platform-specific binary from a hardcoded remote endpoint, writes it to a hidden temp file, marks it executable, and runs it detached with suppressed output. The absence of integrity/authenticity verification and the silent error handling further increase the likelihood of harmful behavior. Recommend treating this package/module as malicious unless strong provenance and verification controls are demonstrated externally.

itims4-superform

0.2.9

by liwei20190326

Live on npm

Blocked by Socket

This module contains a clear high-risk arbitrary code execution primitive: itimsOpenWin performs eval(...) on a value derived from the mypage string when mypage contains 'javascript'. Additionally, it can open/navigate popups using mypage with limited validation, which can enable phishing/open-redirect-style effects or script-protocol delivery if inputs are not tightly controlled. The URL parameter parsing decodes and returns untrusted data and logs errors on malformed input; while not directly malicious by itself, it can contribute to injection risk depending on downstream usage (not shown). Overall, this code should be treated as security-critical and reviewed/removed or strictly guarded with allowlists and elimination of eval.

angle

0.1.8

Live on pypi

Blocked by Socket

The code fragment exhibits high-risk patterns for untrusted input handling and dynamic code execution. The combination of eval on user-supplied input, shell command execution via os.popen, environment-driven module loading, and extensive reflection-like invocation creates clear pathways for remote or local arbitrary code execution and data exposure. While some components may be legitimate for a dynamic language runtime, the presence of these sinks and data-flow patterns warrants treating this as a high-risk component in a supply-chain context. Remediation should prioritize removing or sandboxing eval paths, restricting os.popen/bash execution, validating and neutralizing inputs, and eliminating environment-driven module loading or constraining it to trusted sources.

huggingleg2

0.1

Live on pypi

Blocked by Socket

This setup.py contains an explicit reverse shell that will be executed during package installation unless the installer sets environment variable X to 'True'. This is a deliberate supply-chain backdoor providing remote command execution to an external host (120.55.57.148:8080). Treat the package as malicious: do not install; if already installed, assume compromise and investigate affected systems.

wix-ui-tpa

3.5.3

by wix-ci-publisher

Live on npm

Blocked by Socket

This code is heavily obfuscated using encoding techniques, making it impossible to analyze its true functionality without deobfuscation. The intentional obfuscation is a significant security concern as it's commonly used to hide malicious behavior in supply chain attacks. The code should not be trusted or executed.

fca-spbot

6.0.4

by nnlp

Removed from npm

Blocked by Socket

The code has significant security risks due to the use of 'eval' function and lack of input validation. It does not appear to be intentionally malicious, but it could potentially be misused if a malicious actor gains access to the websocket communication.

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

fsd

0.0.130

Removed from pypi

Blocked by Socket

This module is not obviously malware by itself, but it contains high-risk patterns: executing arbitrary shell commands (subprocess.Popen with shell=True), changing directories, and appending to arbitrary files based on input. If steps_json or the interactive inputs are attacker-controlled or originate from untrusted upstream services, an attacker can execute arbitrary code and modify filesystem contents. Treat this package as potentially dangerous for automated use without strict input validation, allowlists, sandboxing, or least-privilege execution. Recommend adding validation, avoiding shell=True (use list args), restricting writable paths, and auditing the implementations of ConfigAgent/FileContentManager/TaskErrorPlanner for network or credential handling.

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

bluelamp-ai

1.0.1

Removed from pypi

Blocked by Socket

This file executes concealed code at import time by decoding and decompressing an embedded payload and passing it to exec. That behavior prevents static audit and is a high-risk pattern for backdoors or data-exfiltration. Immediate action: do not import this module in production; decode and inspect the payload only in a safe sandbox; verify package origin and consider removing the dependency. The module should be treated as potentially malicious until the decompressed code is reviewed.

Live on pypi for 3 days, 6 hours and 41 minutes before removal. Socket users were protected even while the package was live.

mtmai

0.3.755

Live on pypi

Blocked by Socket

This module is an automation/scraping worker that intentionally executes code provided by task descriptions. That design requires trusting the task source. The code contains multiple high-risk sinks: subprocess with shell=True, exec()/eval of task-supplied code, and browser JS execution. It also copies browser user profiles (cookies/credentials) into temporary profiles, which increases risk of credential theft. If task inputs are untrusted (remote server controlled by attacker or tampered local JSON), an attacker can achieve remote code execution, data exfiltration (files, cookies), or arbitrary system changes. Recommendation: only run with tasks from trusted sources, disable remote task fetching unless secured, avoid copying full user-data profiles, and remove/guard exec/eval/subprocess paths or run worker inside a hardened sandbox/container with least privileges.

lecom-ui

0.0.83

by odassi

Removed from npm

Blocked by Socket

This is the official minified React DOM production renderer. The fragment shows standard React internals (event system, reconciliation, hydration, scheduling). I found no indicators of malicious intent or supply-chain sabotage in the provided code excerpt. It manipulates DOM and reads user interactions only for legitimate rendering/event-handling purposes. Continue to treat application-level code and any additional dependencies with normal security review, but this module itself appears safe.

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

@spx-workforceops/shared-vue

99.99.9

by seacom

Live on npm

Blocked by Socket

This preinstall script is malicious or at minimum highly suspicious: it performs stealthy environment fingerprinting and network callbacks to an attacker-controlled domain over insecure HTTP/DNS during package installation. This leaks identifiable information (username and hostname), can confirm successful installs to the attacker, and enables follow-up malicious activity. Treat as high risk and do not install or run this package without isolating/inspecting it in a safe environment.

shamika-wa-baileys

1.1.9

Removed from npm

Blocked by Socket

`lotusbail` is a malicious npm package that masquerades as a WhatsApp Web API library by forking legitimate Baileys-based code and preserving working messaging functionality. In addition to normal API behavior, it inserts a wrapper around the WhatsApp WebSocket client so that all traffic passing through the library is duplicated for collection. Reported data theft includes WhatsApp authentication tokens and session keys, full message content (sent/received and historical), contact lists (including phone numbers), and transferred media/files. The package also attempts to establish persistent unauthorized access by hijacking the WhatsApp device-linking (“pairing”) workflow using a hardcoded pairing code, effectively linking an attacker-controlled device to the victim’s account; removing the npm dependency does not automatically remove the linked device. To hinder detection, the exfiltration endpoint is hidden behind multiple obfuscation layers, collected data is encrypted (including a custom RSA implementation), and the code includes anti-debugging traps designed to disrupt analysis.

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

paypal-logger

1.0.0

by jpdtestjpd

Live on npm

Blocked by Socket

This file gathers detailed OS and network information (including hostname, user details, and IP addresses) and sends it to hardcoded endpoints (e.g., http://23[.]22[.]251[.]177:8080/jpd[.]php and http://23[.]22[.]251[.]177:8080/jpd1[.]php) via HTTP GET and POST requests. It also attempts to fall back on a WebSocket connection (wss://yourserver[.]com/socket) if needed. The code fetches the public IP address from https://api64.ipify.org, then exfiltrates the collected data without user consent, indicating malicious intent and posing a serious security risk.

exp10it

2.5.92

Live on pypi

Blocked by Socket

This file is offensive/exploit tooling: it performs automated reconnaissance, crafts and sends SQLi and PHP eval payloads against Joomla sites, extracts credentials/session data, and attempts to install a PHP webshell for persistence. Those behaviors constitute malicious activity (unauthorized access, credential theft, backdoor installation). Treat this code as malicious/exploitative; do not include it in trusted dependencies or run it on networks you do not own/authorize. The snippet contains some syntactic errors suggesting a truncated copy, but intent and many operational parts are explicit.

tx.npoi

1.0.2

by TianTeng

Live on nuget

Blocked by Socket

This assembly contains a highly obfuscated runtime loader/packer: it decrypts embedded resources, verifies signatures, allocates executable memory and writes/deploys code by manipulating method pointers and calling into native APIs (VirtualAlloc/VirtualProtect/WriteProcessMemory, /proc/self/mem, libclrjit). Those operations are consistent with in-memory code injection and JIT hooking. While such techniques are used by legitimate protectors/packers, the presence of direct process-memory writes, native API calls, JIT hooking and heavy obfuscation makes this package dangerous in most supply-chain contexts. Treat it as potentially malicious/untrusted — do not use in production without a full provenance and security review.

yinhepy

1.3.18

Live on pypi

Blocked by Socket

The file contains an intentionally concealed payload: a large embedded byte array XOR-decrypted with a hard-coded key and executed via exec() unconditionally. This is a high-risk pattern (likely backdoor/malware). Do not run or import this module; analyze the decrypted payload in a safe sandbox and remove or block the package unless its content and origin are fully validated.

phenotyping-segmentation

0.1.7

Live on pypi

Blocked by Socket

This module contains insecure patterns that allow arbitrary code execution from external profile/INI data: eval() on the 'Timer' profile value and exec() on the 'Work' profile value. These provide a straightforward remote/local code execution vector if an attacker can modify the profile (pytimer.ini) or influence profile contents. The file itself does not contain an explicit backdoor like a hard-coded C2 server, but the insecure eval/exec of external data makes this code dangerous to run in untrusted or multi-user environments. Avoid using this module or ensure the profile file is protected and code strings are removed or validated.

@kui-shell/plugin-bash-like

0.24.0-dev.2836.49

by oliviaruan

Live on npm

Blocked by Socket

This module is a high-risk remote shell/PTY bridge: it accepts WebSocket JSON from a remote party, spawns an interactive bash session, executes client-supplied commands via bash -c, streams command output back over the network, and accepts interactive input for arbitrary command sequences. It also supports client-controlled environment variables and performs macOS-specific dotfile manipulation consistent with reducing session artifacts. If authentication/authorization is not strict in surrounding components, the security impact is critical (remote command execution and data exfiltration).

github.com/weaveworks/weave

v1.4.7-0.20160328152721-22c35826992c

Live on go

Blocked by Socket

This module is a high-risk runtime packer/dropper: it embeds an encrypted payload, decrypts it using a user-supplied passphrase, writes the result to `bin/do-setup-circleci-secrets`, and immediately executes it. Because there is no integrity/authenticity validation of the decrypted artifact and the executed code is not shown here, the module should be treated as potentially malicious until the decrypted `bin/do-setup-circleci-secrets` content is inspected and validated in a safe environment.

github.com/gravitl/netmaker

v0.10.1-0.20220211144019-8195ec25e924

Live on go

Blocked by Socket

High-risk supply-chain/security indicator: the authorize() middleware includes a hardcoded static bearer token fallback (authToken := "928rt238tghgwe@TY@$Y@#WQAEGB2FC#@HG#@$Hddd"). If the Authorization header is missing or malformed, the code still attempts to verify this embedded token, which strongly suggests a backdoor credential or at minimum a dangerous authentication bypass condition. Because this middleware gates sensitive sinks (JWT verification, node updates, gateway/relay mutations, and mq.NodeUpdate publishing), the impact could be significant. Additional concern: possible RBAC logic bug using params["netid"] instead of params["nodeid"].

align-configer

3.4.2

by sandy-barton

Live on npm

Blocked by Socket

This module uses atob to decode three base64-encoded environment variables (DEV_API_KEY, DEV_SECRET_KEY, DEV_SECRET_VALUE) into a remote URL and HTTP header name/value. It then performs an axios GET to that URL with the decoded header. The response’s data.cookie field is treated as JavaScript source, compiled via new Function.constructor('require', …), and invoked immediately with Node’s require injected—granting the fetched code full access to filesystem, network, child processes, credentials, etc. The code also saves and restores console.log around execution (to hide output) and silently retries up to five times on errors. This is a classic remote code execution backdoor, posing an immediate and severe supply-chain risk. Remove or quarantine this module and audit the environment variable configuration and remote endpoint. Supply-chain controls (signed payloads, pinned URLs, disabling runtime evaluation) are strongly recommended.

dnszlsk/muad-dib

7d64e80bab45e6d5a0b4e75ed89b0b5347075ce9

Live on actions

Blocked by Socket

This code is strongly consistent with a malicious dropper/loader: it fetches an external platform-specific binary from a hardcoded remote endpoint, writes it to a hidden temp file, marks it executable, and runs it detached with suppressed output. The absence of integrity/authenticity verification and the silent error handling further increase the likelihood of harmful behavior. Recommend treating this package/module as malicious unless strong provenance and verification controls are demonstrated externally.

itims4-superform

0.2.9

by liwei20190326

Live on npm

Blocked by Socket

This module contains a clear high-risk arbitrary code execution primitive: itimsOpenWin performs eval(...) on a value derived from the mypage string when mypage contains 'javascript'. Additionally, it can open/navigate popups using mypage with limited validation, which can enable phishing/open-redirect-style effects or script-protocol delivery if inputs are not tightly controlled. The URL parameter parsing decodes and returns untrusted data and logs errors on malformed input; while not directly malicious by itself, it can contribute to injection risk depending on downstream usage (not shown). Overall, this code should be treated as security-critical and reviewed/removed or strictly guarded with allowlists and elimination of eval.

angle

0.1.8

Live on pypi

Blocked by Socket

The code fragment exhibits high-risk patterns for untrusted input handling and dynamic code execution. The combination of eval on user-supplied input, shell command execution via os.popen, environment-driven module loading, and extensive reflection-like invocation creates clear pathways for remote or local arbitrary code execution and data exposure. While some components may be legitimate for a dynamic language runtime, the presence of these sinks and data-flow patterns warrants treating this as a high-risk component in a supply-chain context. Remediation should prioritize removing or sandboxing eval paths, restricting os.popen/bash execution, validating and neutralizing inputs, and eliminating environment-driven module loading or constraining it to trusted sources.

huggingleg2

0.1

Live on pypi

Blocked by Socket

This setup.py contains an explicit reverse shell that will be executed during package installation unless the installer sets environment variable X to 'True'. This is a deliberate supply-chain backdoor providing remote command execution to an external host (120.55.57.148:8080). Treat the package as malicious: do not install; if already installed, assume compromise and investigate affected systems.

wix-ui-tpa

3.5.3

by wix-ci-publisher

Live on npm

Blocked by Socket

This code is heavily obfuscated using encoding techniques, making it impossible to analyze its true functionality without deobfuscation. The intentional obfuscation is a significant security concern as it's commonly used to hide malicious behavior in supply chain attacks. The code should not be trusted or executed.

fca-spbot

6.0.4

by nnlp

Removed from npm

Blocked by Socket

The code has significant security risks due to the use of 'eval' function and lack of input validation. It does not appear to be intentionally malicious, but it could potentially be misused if a malicious actor gains access to the websocket communication.

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

fsd

0.0.130

Removed from pypi

Blocked by Socket

This module is not obviously malware by itself, but it contains high-risk patterns: executing arbitrary shell commands (subprocess.Popen with shell=True), changing directories, and appending to arbitrary files based on input. If steps_json or the interactive inputs are attacker-controlled or originate from untrusted upstream services, an attacker can execute arbitrary code and modify filesystem contents. Treat this package as potentially dangerous for automated use without strict input validation, allowlists, sandboxing, or least-privilege execution. Recommend adding validation, avoiding shell=True (use list args), restricting writable paths, and auditing the implementations of ConfigAgent/FileContentManager/TaskErrorPlanner for network or credential handling.

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

bluelamp-ai

1.0.1

Removed from pypi

Blocked by Socket

This file executes concealed code at import time by decoding and decompressing an embedded payload and passing it to exec. That behavior prevents static audit and is a high-risk pattern for backdoors or data-exfiltration. Immediate action: do not import this module in production; decode and inspect the payload only in a safe sandbox; verify package origin and consider removing the dependency. The module should be treated as potentially malicious until the decompressed code is reviewed.

Live on pypi for 3 days, 6 hours and 41 minutes before removal. Socket users were protected even while the package was live.

mtmai

0.3.755

Live on pypi

Blocked by Socket

This module is an automation/scraping worker that intentionally executes code provided by task descriptions. That design requires trusting the task source. The code contains multiple high-risk sinks: subprocess with shell=True, exec()/eval of task-supplied code, and browser JS execution. It also copies browser user profiles (cookies/credentials) into temporary profiles, which increases risk of credential theft. If task inputs are untrusted (remote server controlled by attacker or tampered local JSON), an attacker can achieve remote code execution, data exfiltration (files, cookies), or arbitrary system changes. Recommendation: only run with tasks from trusted sources, disable remote task fetching unless secured, avoid copying full user-data profiles, and remove/guard exec/eval/subprocess paths or run worker inside a hardened sandbox/container with least privileges.

lecom-ui

0.0.83

by odassi

Removed from npm

Blocked by Socket

This is the official minified React DOM production renderer. The fragment shows standard React internals (event system, reconciliation, hydration, scheduling). I found no indicators of malicious intent or supply-chain sabotage in the provided code excerpt. It manipulates DOM and reads user interactions only for legitimate rendering/event-handling purposes. Continue to treat application-level code and any additional dependencies with normal security review, but this module itself appears safe.

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

@spx-workforceops/shared-vue

99.99.9

by seacom

Live on npm

Blocked by Socket

This preinstall script is malicious or at minimum highly suspicious: it performs stealthy environment fingerprinting and network callbacks to an attacker-controlled domain over insecure HTTP/DNS during package installation. This leaks identifiable information (username and hostname), can confirm successful installs to the attacker, and enables follow-up malicious activity. Treat as high risk and do not install or run this package without isolating/inspecting it in a safe environment.

shamika-wa-baileys

1.1.9

Removed from npm

Blocked by Socket

`lotusbail` is a malicious npm package that masquerades as a WhatsApp Web API library by forking legitimate Baileys-based code and preserving working messaging functionality. In addition to normal API behavior, it inserts a wrapper around the WhatsApp WebSocket client so that all traffic passing through the library is duplicated for collection. Reported data theft includes WhatsApp authentication tokens and session keys, full message content (sent/received and historical), contact lists (including phone numbers), and transferred media/files. The package also attempts to establish persistent unauthorized access by hijacking the WhatsApp device-linking (“pairing”) workflow using a hardcoded pairing code, effectively linking an attacker-controlled device to the victim’s account; removing the npm dependency does not automatically remove the linked device. To hinder detection, the exfiltration endpoint is hidden behind multiple obfuscation layers, collected data is encrypted (including a custom RSA implementation), and the code includes anti-debugging traps designed to disrupt analysis.

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

paypal-logger

1.0.0

by jpdtestjpd

Live on npm

Blocked by Socket

This file gathers detailed OS and network information (including hostname, user details, and IP addresses) and sends it to hardcoded endpoints (e.g., http://23[.]22[.]251[.]177:8080/jpd[.]php and http://23[.]22[.]251[.]177:8080/jpd1[.]php) via HTTP GET and POST requests. It also attempts to fall back on a WebSocket connection (wss://yourserver[.]com/socket) if needed. The code fetches the public IP address from https://api64.ipify.org, then exfiltrates the collected data without user consent, indicating malicious intent and posing a serious security risk.

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

HTTP dependency

Obfuscated code

Suspicious Stars on GitHub

Telemetry

Protestware or potentially unwanted behavior

Unstable ownership

55 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 Demo

Questions? Call us at (844) SOCKET-0

Read 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 App
Book a Demo

Questions? Call us at (844) SOCKET-0

The latest from the Socket team

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

View all articles