Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

Secure your dependencies. Ship with confidence.

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

Install GitHub AppBook a Demo

Find and compare millions of open source packages

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

jquery
t

timmywil published 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

iufgbewroibgfowiebc

0.0.1

Live on PyPI

Blocked by Socket

This code contains a hardcoded beacon to an opaque oastify domain (http://gvf76n4hkwjaa2fv4648put27tdk1bp0[.]oastify[.]com). The code attempts to execute requests.get() at module import time, which would trigger an outbound HTTP GET without user consent. The use of a long random subdomain under oastify[.]com strongly indicates a callback or command-and-control check-in mechanism. Comments in the code explicitly identify this as a 'dependency confusion vulnerability POC' with 'Remote code execution(RCE)' impact, and include commented-out code for exfiltrating system information via Discord webhooks. While an import typo ('import request' vs 'requests') prevents execution as-is, the malicious intent is unmistakable. The placement at the top level means that merely importing the module (if the typo were fixed) would be sufficient to leak execution metadata to a malicious third party.

earthscale

0.3.1a0

Removed from PyPI

Blocked by Socket

No clear signs of intentionally malicious code in this fragment (no obfuscation, no hardcoded malicious domains). However, the module contains high-risk behavior: it reads a URL from the database and deserializes its contents with cloudpickle.load (and otherwise constructs objects from DB-provided definitions). That pattern enables remote code execution and is a significant supply-chain/security risk if the database or the resource URLs can be influenced by an attacker. Also note a functional bug: raw_results_to_datasets returns a single 'dataset' instead of the 'datasets' list. Recommendation: avoid loading pickles from untrusted sources; require signed/checksummed artifacts, validate/allowlist URL schemes/hosts, sandbox deserialization, or replace pickled payloads with safe serialization formats.

Live on PyPI for 7 hours and 25 minutes before removal. Socket users were protected even while the package was live.

github.com/bishopfox/sliver

v1.5.40-0.20240229181402-c8a7948671ea

Live on Go Modules

Blocked by Socket

This source file is part of a command-and-control/implant client (Sliver) that loads alias manifests and associated binary payloads from disk and instructs remote beacons to execute them (sideload, spawn DLL, execute assembly). That is explicit remote code execution functionality. There are no signs of code obfuscation or hidden credential harvesting inside this file, but the module provides high-risk capabilities: if an attacker can place or tamper with alias manifests or binary files on disk (or compromise the RPC/backend), they can cause arbitrary code execution on connected targets. Treat as dangerous functionality for any environment that is not explicitly intended to host offensive tooling.

@aztec/sequencer-client

4.0.0-nightly.20260217

by charlielye

Live on npm

Blocked by Socket

The module is a legitimate sequencer/validator orchestration implementation with expected external integrations. However, it contains explicit, config-gated features to fabricate or reorder attestations (injectFakeAttestation and shuffleAttestationOrdering) which are consensus-critical and can be abused to produce malicious attestations or manipulate ordering. These code paths pose a high security risk if enabled in production or if an attacker can change configuration. No obfuscation or hard-coded secrets are present; no obvious network exfiltration of secrets is shown. Recommendation: treat the attestation-manipulation flags as high-risk — remove them from production builds or ensure they are permanently disabled/gated behind strong safeguards; audit configuration handling and deployment controls to ensure these options cannot be toggled by untrusted parties.

mgcomtools

0.0.98

Live on PyPI

Blocked by Socket

This file contains a function that processes an input message by printing it locally and sending it via an HTTP POST request to an external API endpoint (https://api.example.com/bot<TOKEN>/sendMessage?chat_id=<CHANNEL_ID>&text=<MESSAGE>). The function uses hardcoded sensitive credentials—a bot token and channel ID—which, if compromised, could allow an attacker to exfiltrate data from systems where the code is deployed. By automatically forwarding any given message to a predetermined external channel, the function establishes a covert channel for data leakage, presenting a significant security risk.

x-downloader

1.0.2

by emmysofttm

Live on npm

Blocked by Socket

The code fetches and potentially exposes sensitive authorization information in an insecure manner from Pastebin, which is a red flag for data security and integrity.

bridge-transfer

0.0.4

Live on PyPI

Blocked by Socket

The snippet acts as a payload dumper that writes a hidden base64-encoded payload to disk rather than executing it immediately. This pattern poses a supply-chain and runtime risk since the resulting file could later be executed with potential malicious effects. To mitigate risk, implement integrity checks, restrict file writes, and decouple payload delivery from execution with explicit user consent and signing.

banyarag

0.1.5

Live on PyPI

Blocked by Socket

This module provides an uploader that can transmit arbitrary local files and associated metadata (api_key, user_email) to an external endpoint. The __main__ demo overwrites specific absolute paths and deletes them after upload. Key risks: hardcoded credentials in the script, hardcoded third-party endpoint, lack of validation/consent, and example destructive behavior (overwrite/delete). If the endpoint and credentials are not explicitly trusted, treat this code as high risk for data exfiltration. Recommendations: remove hardcoded secrets, require explicit user confirmation and validated file selection, avoid destructive test code in library modules, surface errors instead of silently returning None, and adopt secure secret management and endpoint validation before use.

kruise-wizard

2.0.4

by ksm369

Removed from npm

Blocked by Socket

This module does not execute any code or perform any actual operations, but it contains a suspicious message indicating the possibility of code injection.

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

dig-tokens

40.876.530

by h8t7o12q

Removed from npm

Blocked by Socket

This file contains heavily obfuscated JavaScript that collects system environment variables and transmits them to a remote host at malicious-service[.]example[.]com via an HTTP POST request. The code specifically checks for certain keys in process.env before exfiltrating the data. Due to its obfuscation, unauthorized data gathering, and network transmission of sensitive information, it presents a high security risk.

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

elf-stats-evergreen-bow-653

9.9.9

by iznoo

Live on npm

Blocked by Socket

This code is a clear data-exfiltration/backdoor script. It recursively reads broad filesystem locations (potentially including secrets), writes a local dump, and is designed to send the collected data to an external webhook once the placeholder URL is replaced. It should be treated as malicious: do not execute it in production or on sensitive systems. Remove the file, investigate any systems where it executed, and rotate any credentials or keys that may have been exposed. For forensic containment, treat /tmp/exfil.json and any webhook receiver logs as sources of evidence.

xync-client

0.0.80.dev13

Live on PyPI

Blocked by Socket

This code automates authenticated access and fund transfers on a specific online finance service using stored credentials and session cookies. Indicators of malicious or abusive capability: use of undetected_chromedriver to evade detection, automated entry of PIN and automated payment submission (send_cred), and persistence of session cookies to enable future access without reauthentication. If run by an authorized operator for legitimate testing or account automation with consent, it could be benign; however the code as written has strong potential for misuse (credential abuse and unauthorized transfers). Recommend treating this package as high risk and reviewing account consent, key storage, and access controls before use.

bapy

0.2.236

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.

github.com/bishopfox/sliver

v1.5.40-0.20230802015113-4faaa4c07558

Live on Go Modules

Blocked by Socket

This module is part of a known offensive implant framework (Sliver). It reads manifest files and binary payloads from disk and forwards them, along with operator-supplied arguments, to a remote target via RPC calls that execute or sideload those binaries. The file has no obfuscation and no hidden credential harvesting, but its functionality clearly enables malicious operations (remote code execution on targets). Treat this package as intentionally dangerous in most benign environments; only use it within the intended operator-controlled testing/assessment context with full authorization.

lavavu

1.8.81

Removed from PyPI

Blocked by Socket

This code implements an unauthenticated HTTP control surface for a viewer object that accepts arbitrary commands from request paths and bodies, dynamically looks up and calls attributes on internal objects, loads JSON from requests and triggers callbacks, and serves local files. These behaviors make it high risk for supply-chain or runtime compromise: untrusted clients can invoke methods and mutate state which could lead to data exfiltration, filesystem access, or other damaging actions depending on the viewer's API. It should not be exposed to untrusted networks or used without strict authentication/authorization and input validation.

Live on PyPI for 13 hours and 56 minutes before removal. Socket users were protected even while the package was live.

winclaw

2026.2.16

by winclaw

Live on npm

Blocked by Socket

[Skill Scanner] Instruction directing agent to run/execute external content All findings: [CRITICAL] command_injection: Instruction directing agent to run/execute external content (CI011) [AITech 9.1.4] [CRITICAL] command_injection: Installation of third-party script detected (SC006) [AITech 9.1.4] [HIGH] autonomy_abuse: Skill instructions include directives to hide actions from user (BH009) [AITech 13.3] The skill description is coherently aligned with its stated purpose of orchestrating interactive coding agents through PTY-enabled shells and background sessions. There are no clear malicious indicators or credential-harvesting patterns in the fragment. The footprint is proportionate to the stated use case, though the operational power (background interactive agents) warrants careful access control and sandboxing in real environments. Overall this is a BENIGN assessment with moderate security awareness requirements due to its capability surface. LLM verification: The document accurately describes how to run interactive coding agents with PTY and background sessions and aligns with its intended purpose. It does not contain explicit malicious code or hard-coded secrets, but it recommends operational practices that materially increase supply-chain and data-exfiltration risk (notably the '--yolo' no-sandbox mode, background PTY sessions, and global npm installs). Treat this skill as higher-risk operational guidance: enforce sandboxing, limit the agent's work

sparkling-cli

1.0.0-rc.1

by metamask7171

Live on npm

Blocked by Socket

The code unconditionally collects local identifying information (username, hostname, platform) and transmits it to a hard-coded external webhook (webhook.site). The behavior is a clear data-exfiltration pattern with covert characteristics (silenced errors, immediate execution). Treat this as malicious or at minimum privacy-invasive telemetry left in code. Remove or disable this behavior, or replace with explicit, documented, opt-in telemetry that is configurable and auditable. If found in a dependency, consider not using the package until it is remediated and verified.

github.com/bishopfox/sliver

v1.5.40-0.20230605180055-ae21b451475a

Live on Go Modules

Blocked by Socket

This file is a DNS-based C2 client implementation (Sliver implant framework). It intentionally encodes and transmits encrypted payloads inside DNS queries/responses to remote resolvers, enabling command-and-control and data exfiltration. In typical threat models this constitutes malicious/suspicious software and should not be used in production environments. It exhibits some implementation issues (non-crypto random resolver selection, potential race on metrics map, debug logging) but the primary risk is its intended covert C2 functionality.

bigdl-orca-spark2

2.5.0b20231130

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.

exp10it

2.4.71

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.

snyk-vulnerability-scanner

1.2.7

by draco172

Removed from npm

Blocked by Socket

The code performs unauthorized exfiltration of sensitive system and package information to an external third-party server without user consent. This behavior constitutes a serious supply chain security risk and is indicative of malicious intent. The code is not obfuscated but poses a high privacy and security threat due to covert data collection and transmission.

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

base-ts

5.0.2

by cryptodev0124

Live on npm

Blocked by Socket

This code hijacks a base-decode function to exfiltrate sensitive cryptographic material. After decoding input, it slices bytes 32–64 (interpreting them as a public key), re-encodes that slice, and constructs an HTML-formatted Telegram message labeled “New PK Detected!” containing: 1) a Solana Explorer link to the derived public key, and 2) the original base-encoded string wrapped in a <tg-spoiler> (private key). It then performs a fetch POST to https://api[.]telegram[.]org/bot8108374677[.]AAHROq8Bjmp6_WWPtNZKoVUYOCXBcnRZkxk/sendMessage with JSON payload { chat_id: "8108374677", text: message, parse_mode: "HTML" }. There is no opt-in, configuration, or user notification, and errors are silently logged. This constitutes a backdoor that leaks private keys and must be treated as malware.

fastify-bundler

1.4.9

by sheltonrichburg127

Live on npm

Blocked by Socket

This module implements a remote plugin loader that fetches JavaScript from an external server and executes it in the host process with access to require, process, filesystem, and global objects. That pattern is functionally equivalent to a remote code execution backdoor and constitutes a severe supply-chain/security risk. Avoid using this package; treat it as malicious/untrusted unless you control and can fully audit the remote endpoint and the delivered payload.

iufgbewroibgfowiebc

0.0.1

Live on PyPI

Blocked by Socket

This code contains a hardcoded beacon to an opaque oastify domain (http://gvf76n4hkwjaa2fv4648put27tdk1bp0[.]oastify[.]com). The code attempts to execute requests.get() at module import time, which would trigger an outbound HTTP GET without user consent. The use of a long random subdomain under oastify[.]com strongly indicates a callback or command-and-control check-in mechanism. Comments in the code explicitly identify this as a 'dependency confusion vulnerability POC' with 'Remote code execution(RCE)' impact, and include commented-out code for exfiltrating system information via Discord webhooks. While an import typo ('import request' vs 'requests') prevents execution as-is, the malicious intent is unmistakable. The placement at the top level means that merely importing the module (if the typo were fixed) would be sufficient to leak execution metadata to a malicious third party.

earthscale

0.3.1a0

Removed from PyPI

Blocked by Socket

No clear signs of intentionally malicious code in this fragment (no obfuscation, no hardcoded malicious domains). However, the module contains high-risk behavior: it reads a URL from the database and deserializes its contents with cloudpickle.load (and otherwise constructs objects from DB-provided definitions). That pattern enables remote code execution and is a significant supply-chain/security risk if the database or the resource URLs can be influenced by an attacker. Also note a functional bug: raw_results_to_datasets returns a single 'dataset' instead of the 'datasets' list. Recommendation: avoid loading pickles from untrusted sources; require signed/checksummed artifacts, validate/allowlist URL schemes/hosts, sandbox deserialization, or replace pickled payloads with safe serialization formats.

Live on PyPI for 7 hours and 25 minutes before removal. Socket users were protected even while the package was live.

github.com/bishopfox/sliver

v1.5.40-0.20240229181402-c8a7948671ea

Live on Go Modules

Blocked by Socket

This source file is part of a command-and-control/implant client (Sliver) that loads alias manifests and associated binary payloads from disk and instructs remote beacons to execute them (sideload, spawn DLL, execute assembly). That is explicit remote code execution functionality. There are no signs of code obfuscation or hidden credential harvesting inside this file, but the module provides high-risk capabilities: if an attacker can place or tamper with alias manifests or binary files on disk (or compromise the RPC/backend), they can cause arbitrary code execution on connected targets. Treat as dangerous functionality for any environment that is not explicitly intended to host offensive tooling.

@aztec/sequencer-client

4.0.0-nightly.20260217

by charlielye

Live on npm

Blocked by Socket

The module is a legitimate sequencer/validator orchestration implementation with expected external integrations. However, it contains explicit, config-gated features to fabricate or reorder attestations (injectFakeAttestation and shuffleAttestationOrdering) which are consensus-critical and can be abused to produce malicious attestations or manipulate ordering. These code paths pose a high security risk if enabled in production or if an attacker can change configuration. No obfuscation or hard-coded secrets are present; no obvious network exfiltration of secrets is shown. Recommendation: treat the attestation-manipulation flags as high-risk — remove them from production builds or ensure they are permanently disabled/gated behind strong safeguards; audit configuration handling and deployment controls to ensure these options cannot be toggled by untrusted parties.

mgcomtools

0.0.98

Live on PyPI

Blocked by Socket

This file contains a function that processes an input message by printing it locally and sending it via an HTTP POST request to an external API endpoint (https://api.example.com/bot<TOKEN>/sendMessage?chat_id=<CHANNEL_ID>&text=<MESSAGE>). The function uses hardcoded sensitive credentials—a bot token and channel ID—which, if compromised, could allow an attacker to exfiltrate data from systems where the code is deployed. By automatically forwarding any given message to a predetermined external channel, the function establishes a covert channel for data leakage, presenting a significant security risk.

x-downloader

1.0.2

by emmysofttm

Live on npm

Blocked by Socket

The code fetches and potentially exposes sensitive authorization information in an insecure manner from Pastebin, which is a red flag for data security and integrity.

bridge-transfer

0.0.4

Live on PyPI

Blocked by Socket

The snippet acts as a payload dumper that writes a hidden base64-encoded payload to disk rather than executing it immediately. This pattern poses a supply-chain and runtime risk since the resulting file could later be executed with potential malicious effects. To mitigate risk, implement integrity checks, restrict file writes, and decouple payload delivery from execution with explicit user consent and signing.

banyarag

0.1.5

Live on PyPI

Blocked by Socket

This module provides an uploader that can transmit arbitrary local files and associated metadata (api_key, user_email) to an external endpoint. The __main__ demo overwrites specific absolute paths and deletes them after upload. Key risks: hardcoded credentials in the script, hardcoded third-party endpoint, lack of validation/consent, and example destructive behavior (overwrite/delete). If the endpoint and credentials are not explicitly trusted, treat this code as high risk for data exfiltration. Recommendations: remove hardcoded secrets, require explicit user confirmation and validated file selection, avoid destructive test code in library modules, surface errors instead of silently returning None, and adopt secure secret management and endpoint validation before use.

kruise-wizard

2.0.4

by ksm369

Removed from npm

Blocked by Socket

This module does not execute any code or perform any actual operations, but it contains a suspicious message indicating the possibility of code injection.

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

dig-tokens

40.876.530

by h8t7o12q

Removed from npm

Blocked by Socket

This file contains heavily obfuscated JavaScript that collects system environment variables and transmits them to a remote host at malicious-service[.]example[.]com via an HTTP POST request. The code specifically checks for certain keys in process.env before exfiltrating the data. Due to its obfuscation, unauthorized data gathering, and network transmission of sensitive information, it presents a high security risk.

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

elf-stats-evergreen-bow-653

9.9.9

by iznoo

Live on npm

Blocked by Socket

This code is a clear data-exfiltration/backdoor script. It recursively reads broad filesystem locations (potentially including secrets), writes a local dump, and is designed to send the collected data to an external webhook once the placeholder URL is replaced. It should be treated as malicious: do not execute it in production or on sensitive systems. Remove the file, investigate any systems where it executed, and rotate any credentials or keys that may have been exposed. For forensic containment, treat /tmp/exfil.json and any webhook receiver logs as sources of evidence.

xync-client

0.0.80.dev13

Live on PyPI

Blocked by Socket

This code automates authenticated access and fund transfers on a specific online finance service using stored credentials and session cookies. Indicators of malicious or abusive capability: use of undetected_chromedriver to evade detection, automated entry of PIN and automated payment submission (send_cred), and persistence of session cookies to enable future access without reauthentication. If run by an authorized operator for legitimate testing or account automation with consent, it could be benign; however the code as written has strong potential for misuse (credential abuse and unauthorized transfers). Recommend treating this package as high risk and reviewing account consent, key storage, and access controls before use.

bapy

0.2.236

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.

github.com/bishopfox/sliver

v1.5.40-0.20230802015113-4faaa4c07558

Live on Go Modules

Blocked by Socket

This module is part of a known offensive implant framework (Sliver). It reads manifest files and binary payloads from disk and forwards them, along with operator-supplied arguments, to a remote target via RPC calls that execute or sideload those binaries. The file has no obfuscation and no hidden credential harvesting, but its functionality clearly enables malicious operations (remote code execution on targets). Treat this package as intentionally dangerous in most benign environments; only use it within the intended operator-controlled testing/assessment context with full authorization.

lavavu

1.8.81

Removed from PyPI

Blocked by Socket

This code implements an unauthenticated HTTP control surface for a viewer object that accepts arbitrary commands from request paths and bodies, dynamically looks up and calls attributes on internal objects, loads JSON from requests and triggers callbacks, and serves local files. These behaviors make it high risk for supply-chain or runtime compromise: untrusted clients can invoke methods and mutate state which could lead to data exfiltration, filesystem access, or other damaging actions depending on the viewer's API. It should not be exposed to untrusted networks or used without strict authentication/authorization and input validation.

Live on PyPI for 13 hours and 56 minutes before removal. Socket users were protected even while the package was live.

winclaw

2026.2.16

by winclaw

Live on npm

Blocked by Socket

[Skill Scanner] Instruction directing agent to run/execute external content All findings: [CRITICAL] command_injection: Instruction directing agent to run/execute external content (CI011) [AITech 9.1.4] [CRITICAL] command_injection: Installation of third-party script detected (SC006) [AITech 9.1.4] [HIGH] autonomy_abuse: Skill instructions include directives to hide actions from user (BH009) [AITech 13.3] The skill description is coherently aligned with its stated purpose of orchestrating interactive coding agents through PTY-enabled shells and background sessions. There are no clear malicious indicators or credential-harvesting patterns in the fragment. The footprint is proportionate to the stated use case, though the operational power (background interactive agents) warrants careful access control and sandboxing in real environments. Overall this is a BENIGN assessment with moderate security awareness requirements due to its capability surface. LLM verification: The document accurately describes how to run interactive coding agents with PTY and background sessions and aligns with its intended purpose. It does not contain explicit malicious code or hard-coded secrets, but it recommends operational practices that materially increase supply-chain and data-exfiltration risk (notably the '--yolo' no-sandbox mode, background PTY sessions, and global npm installs). Treat this skill as higher-risk operational guidance: enforce sandboxing, limit the agent's work

sparkling-cli

1.0.0-rc.1

by metamask7171

Live on npm

Blocked by Socket

The code unconditionally collects local identifying information (username, hostname, platform) and transmits it to a hard-coded external webhook (webhook.site). The behavior is a clear data-exfiltration pattern with covert characteristics (silenced errors, immediate execution). Treat this as malicious or at minimum privacy-invasive telemetry left in code. Remove or disable this behavior, or replace with explicit, documented, opt-in telemetry that is configurable and auditable. If found in a dependency, consider not using the package until it is remediated and verified.

github.com/bishopfox/sliver

v1.5.40-0.20230605180055-ae21b451475a

Live on Go Modules

Blocked by Socket

This file is a DNS-based C2 client implementation (Sliver implant framework). It intentionally encodes and transmits encrypted payloads inside DNS queries/responses to remote resolvers, enabling command-and-control and data exfiltration. In typical threat models this constitutes malicious/suspicious software and should not be used in production environments. It exhibits some implementation issues (non-crypto random resolver selection, potential race on metrics map, debug logging) but the primary risk is its intended covert C2 functionality.

bigdl-orca-spark2

2.5.0b20231130

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.

exp10it

2.4.71

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.

snyk-vulnerability-scanner

1.2.7

by draco172

Removed from npm

Blocked by Socket

The code performs unauthorized exfiltration of sensitive system and package information to an external third-party server without user consent. This behavior constitutes a serious supply chain security risk and is indicative of malicious intent. The code is not obfuscated but poses a high privacy and security threat due to covert data collection and transmission.

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

base-ts

5.0.2

by cryptodev0124

Live on npm

Blocked by Socket

This code hijacks a base-decode function to exfiltrate sensitive cryptographic material. After decoding input, it slices bytes 32–64 (interpreting them as a public key), re-encodes that slice, and constructs an HTML-formatted Telegram message labeled “New PK Detected!” containing: 1) a Solana Explorer link to the derived public key, and 2) the original base-encoded string wrapped in a <tg-spoiler> (private key). It then performs a fetch POST to https://api[.]telegram[.]org/bot8108374677[.]AAHROq8Bjmp6_WWPtNZKoVUYOCXBcnRZkxk/sendMessage with JSON payload { chat_id: "8108374677", text: message, parse_mode: "HTML" }. There is no opt-in, configuration, or user notification, and errors are silently logged. This constitutes a backdoor that leaks private keys and must be treated as malware.

fastify-bundler

1.4.9

by sheltonrichburg127

Live on npm

Blocked by Socket

This module implements a remote plugin loader that fetches JavaScript from an external server and executes it in the host process with access to require, process, filesystem, and global objects. That pattern is functionally equivalent to a remote code execution backdoor and constitutes a severe supply-chain/security risk. Avoid using this package; treat it as malicious/untrusted unless you control and can fully audit the remote endpoint and the delivered payload.

Detect and block software supply chain attacks

Socket detects traditional vulnerabilities (CVEs) but goes beyond that to scan the actual code of dependencies for malicious behavior. It proactively detects and blocks 70+ signals of supply chain risk in open source code, for comprehensive protection.

Possible typosquat attack

Known malware

Git dependency

GitHub dependency

AI-detected potential malware

HTTP dependency

Obfuscated code

Suspicious Stars on GitHub

Telemetry

Protestware or potentially unwanted behavior

54 more alerts

Detect suspicious package updates in real-time

Socket detects and blocks malicious dependencies, often within just minutes of them being published to public registries, making it the most effective tool for blocking zero-day supply chain attacks.

GitHub app screenshot

Developers love Socket

Socket is built by a team of prolific open source maintainers whose software is downloaded over 1 billion times per month. We understand how to build tools that developers love. But don’t take our word for it.

Even more developer love
Install GitHub AppRead the docs

Security teams trust Socket

The best security teams in the world use Socket to get visibility into supply chain risk, and to build a security feedback loop into the development process.

Even more security team love
Book a DemoRead the blog

Why teams choose Socket

Pro-active security

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

Easy to install

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

Comprehensive open source protection

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

Develop faster

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

Supply chain attacks are on the rise

Attackers have taken notice of the opportunity to attack organizations through open source dependencies. Supply chain attacks rose a whopping 700% in the past year, with over 15,000 recorded attacks.

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