🚀 Big News:Socket Has Acquired Secure Annex.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

aocl-sparse-v3

2.1.9

Live on pypi

Blocked by Socket

This code is a malicious supply-chain pattern: during installation it silently executes a shell-based curl to an embedded remote endpoint, transmitting local hostname and username as query parameters. Output and errors are suppressed and exceptions are swallowed to evade detection. This behavior is unrelated to the declared matrix-processing purpose and strongly indicates covert telemetry/exfiltration.

node-env-resolve

1.0.5

by user0001

Live on npm

Blocked by Socket

This module is highly suspicious and likely malicious. It self-installs by copying packaged source into a per-user hidden/cache directory, modifies package.json to remove postinstall/bin fields, performs a silent runtime `npm install` in that directory (supply-chain execution surface), writes a hardcoded remote SERVER_URL, establishes persistence across Windows/macOS/Linux using native autostart mechanisms, and starts the agent as a detached background process with minimal observability. Treat the package as a potential malware/unauthorized agent installer and avoid use in production environments.

puan4

1.0.3

Live on pypi

Blocked by Socket

This fragment is a high-confidence Windows credential/data stealer component. It specifically targets directories and filenames associated with secrets (SSH/AWS, browser 'Login Data' and 'Cookies', and app data for Discord/VSCode), filters to maximize useful loot, and returns an in-memory ZIP containing harvested sensitive files. While downstream exfiltration is not shown in the fragment, the harvesting+packaging behavior is directly consistent with malicious credential theft workflows.

system-update-tool

1.0.0

Live on pypi

Blocked by Socket

This module is highly likely malicious: it is a Telegram-controlled backdoor that establishes persistence (Termux ~/.bashrc or Windows Run registry), hides the console window, executes attacker-supplied shell commands via subprocess.check_output with shell=True (/cmd), exfiltrates arbitrary local files via /dl, and writes attacker-supplied files to disk via /upload. It then beacons operational status (hostname/device) and remains available via an infinite bot.polling loop.

@tinderbackend/express-server

666.666.671

by buugle

Live on npm

Blocked by Socket

This module is highly consistent with malicious covert exfiltration via DNS tunneling. It captures local system/runtime information (environment usernames, command-line args, script absolute path, directory listing, local IP/hostname), encodes the data into DNS subdomain labels using a reversible reverse+hex scheme, frames transmissions with BEGIN/END markers, and sends crafted UDP/53 DNS queries to a hardcoded external server. The behavior is unambiguously aligned with data theft/exfiltration malware rather than benign functionality.

node-env-resolve

1.0.7

by user0001

Live on npm

Blocked by Socket

This module is highly suspicious and likely malicious. It self-installs by copying packaged source into a per-user hidden/cache directory, modifies package.json to remove postinstall/bin fields, performs a silent runtime `npm install` in that directory (supply-chain execution surface), writes a hardcoded remote SERVER_URL, establishes persistence across Windows/macOS/Linux using native autostart mechanisms, and starts the agent as a detached background process with minimal observability. Treat the package as a potential malware/unauthorized agent installer and avoid use in production environments.

@link-assistant/hive-mind

1.64.2

by GitHub Actions

Live on npm

Blocked by Socket

High risk. This module performs a runtime network fetch of JavaScript from a public CDN and executes it via eval to set a global loader used for command execution primitives. That is a critical supply-chain/RCE pattern with the potential for full compromise. Additionally, it configures broad agent permissions (opencode.json), passes process.env to an external tool, executes shell-like pipelines via a dynamically sourced command-stream helper, and logs raw untrusted subprocess output (potential sensitive data exposure).

haori

0.4.9

by meibinlab

Live on npm

Blocked by Socket

This module is strongly security-sensitive because it implements an eval-like “script hook” by compiling and executing code from a DOM attribute (${Env.prefix}${event}-after-run) using new Function. That single primitive enables arbitrary JavaScript execution in the page context when an attacker can influence the attribute content. Additional risks include navigation/redirect and history manipulation driven by DOM attributes, selector-driven DOM targeting with broad mutation capabilities, and propagation of network response data into binding/UI state.

@futdevpro/ccap

1.1.2041

by itharen

Live on npm

Blocked by Socket

This fragment implements a high-impact remote execution capability: a Socket.IO server can command the client to run arbitrary shell commands (interactive via PTY/spawn and remote stdin) and run embedded code via execSync (python -c shown), with configurable working directory and environment inheritance. Command output is streamed back to the remote server, enabling data exfiltration. No robust allowlisting or authorization controls are visible in the fragment. Treat this as extremely sensitive and potentially backdoor-like behavior unless the surrounding product context enforces strong authentication, authorization, and strict command constraints.

@link-assistant/hive-mind

1.64.2

by GitHub Actions

Live on npm

Blocked by Socket

This module contains a critical supply-chain/backdoor-style mechanism: it fetches JavaScript at runtime from an external CDN (unpkg) and executes it via eval. That single pattern makes the package extremely high risk because it enables arbitrary remote code execution in the installer/execution context. Additionally, the code uses child_process.exec with shell command strings interpolated from function parameters (owner/repo/issueNum), which can introduce command injection risks if inputs are not strictly controlled.

pykotor

2.3.12

Live on pypi

Blocked by Socket

This module is not merely path handling: it provides capabilities to modify filesystem ownership/ACLs/attributes and, on Windows, can execute attacker-supplied command lines by generating and running an elevated batch script via UAC (-Verb RunAs). While there is no evidence of network exfiltration in this fragment, the combination of permission bypass + broad ACL grants + elevated arbitrary execution makes it a significant supply-chain security risk and should be reviewed/contained, especially if any inputs are influenced by untrusted data.

protocol-stub-generator

999.0.0

Live on pypi

Blocked by Socket

This code performs immediate outbound beaconing/exfiltration on import to a hardcoded external webhook, transmitting identifiable local information (hostname, user, OS) over HTTP. Silent exception handling and top-level execution strongly indicate stealthy telemetry rather than legitimate functionality. Treat this as malicious supply-chain behavior and block/remove the dependency; investigate systems where it may have been imported and consider incident response for potential data exposure.

shennian

0.2.19

by shennian

Live on npm

Blocked by Socket

This code is highly suspicious because it exposes direct remote filesystem operations: directory listing, arbitrary file reading (including base64 content exfiltration), and arbitrary file uploading (including chunked writes finalized onto the server filesystem). While safety may depend on the external runtime.resolvePath and authorization model, this module itself contains no robust sandbox/jail enforcement, access control, size/range validation for chunk writes, or strong transfer-ID protection. Functionally, it matches backdoor/RMM-style filesystem management capability and should be reviewed/locked down aggressively (or removed) if not intended for a trusted operator-only environment.

metoopro

1.0.2

Live on pypi

Blocked by Socket

This code is highly likely malicious: it downloads and uses a remote payload (RISH/rish_shizuku.dex) without integrity checks, harvests extremely sensitive device data (contacts, SMS, call logs, identifiers, location/cache, security state), and exfiltrates it to a hardcoded Telegram bot. It also deletes local exported files afterward (anti-forensics). While it includes an AI chat feature, the background collection/upload makes it an information-stealing agent. Recommend not using and treat as a trojan/supply-chain compromise risk.

linux-system-mcp

1.2.0

by vk-dgpl

Live on npm

Blocked by Socket

This module implements an unauthenticated local IPC service that directly executes arbitrary shell commands provided by the socket client via '/bin/bash -c' in detached background processes, while persisting stdout/stderr to per-job log files. It also supports attacker-driven stop/delete actions keyed by job_id, enabling process termination and log deletion based on stored job metadata. Regardless of intent, this is highly indicative of backdoor/agent-like command execution capability and should be treated as a serious security risk until access controls and deployment permissions (socket filesystem permissions, authentication, and db.js safeguards) are verified.

fredcode

0.3.4

Live on pypi

Blocked by Socket

This fragment contains extremely high-risk functionality: it (1) reads and embeds arbitrary local file contents specified via @<path> tokens and (2) executes arbitrary shell commands specified via a leading !<cmd> using subprocess with shell=True, embedding stdout+stderr in the returned output. Output truncation/timeout limit impact magnitude but not the fundamental malicious capability. If reachable by untrusted text, it should be treated as a critical security issue and excluded or tightly sandboxed behind strict authorization and input allowlisting.

mcp-audit-scanner

0.7.0

Live on pypi

Blocked by Socket

This module is extremely high risk: it includes unrestricted arbitrary command execution (exec/execSync) and arbitrary JavaScript execution (eval) that take caller-provided strings with no validation, alongside hardcoded credentials and deceptive/instruction-manipulation tool metadata. Even though the HTTP handler response is static in this snippet and no explicit exfiltration is shown here, the included capabilities strongly enable RCE, credential misuse, and downstream data theft if integrated elsewhere.

apexomni

99.99.100

by mimilucky

Live on npm

Blocked by Socket

This code is best characterized as a CI-targeted credential-stealing and data-exfiltration backdoor. It performs anti-sandbox/CI gating, harvests sensitive environment variables and the full process environment from /proc/self/environ, and queries the AWS EC2 instance metadata service (169.254.169.254) to obtain IAM role credentials. It then exfiltrates all collected information to a hardcoded Telegram bot/chat over HTTPS, with error suppression to improve stealth. No legitimate business logic is present in this module.

@futdevpro/ccap

1.1.2047

by itharen

Live on npm

Blocked by Socket

This fragment implements a high-impact remote execution capability: a Socket.IO server can command the client to run arbitrary shell commands (interactive via PTY/spawn and remote stdin) and run embedded code via execSync (python -c shown), with configurable working directory and environment inheritance. Command output is streamed back to the remote server, enabling data exfiltration. No robust allowlisting or authorization controls are visible in the fragment. Treat this as extremely sensitive and potentially backdoor-like behavior unless the surrounding product context enforces strong authentication, authorization, and strict command constraints.

node-env-resolve

1.0.9

by user0001

Live on npm

Blocked by Socket

High risk. The package runs a postinstall script (postinstall.js) and depends on multiple libraries that enable machine fingerprinting, screen capture, input automation, local storage, image processing, and easy network exfiltration. If postinstall.js or other bundled code uses these libraries to contact remote servers or perform automated interaction, it could perform telemetry, data exfiltration, or remote control. You should inspect the contents of postinstall.js and audit any code that uses these powerful dependencies before allowing installation.

internal-company-module-test-1337

99.99.9996

by bounty-tester-1337

Live on npm

Blocked by Socket

This code is performing DNS-based exfiltration/fingerprinting: it collects the local username and hostname, embeds them into the leftmost labels of a DNS query targeted at a hardcoded attacker-controlled OAST domain, and relies on the side-effect of the outbound DNS request (empty callback) to transmit the identifiers out-of-band. The fragment shows strong malicious intent with no benign application purpose.

@a5c-ai/babysitter-openclaw

5.0.1-staging.b83c3843

by tmuskal

Live on npm

Blocked by Socket

This code establishes a strong supply-chain/sandbox-break capability by executing a local bash hook at session start and directly passing both serialized caller context (stdin) and essentially the full parent environment (env) to that script, while also suppressing errors. While the snippet itself shows no explicit malicious behavior beyond delegation, the data exposure (context + process.env) and silent error handling make this pattern high-risk and warrant review of the hooks/babysitter-proxied-session-start.sh behavior.

shennian

0.2.18

by shennian

Live on npm

Blocked by Socket

This code is highly suspicious because it exposes direct remote filesystem operations: directory listing, arbitrary file reading (including base64 content exfiltration), and arbitrary file uploading (including chunked writes finalized onto the server filesystem). While safety may depend on the external runtime.resolvePath and authorization model, this module itself contains no robust sandbox/jail enforcement, access control, size/range validation for chunk writes, or strong transfer-ID protection. Functionally, it matches backdoor/RMM-style filesystem management capability and should be reviewed/locked down aggressively (or removed) if not intended for a trusted operator-only environment.

@lanmower/foph

0.0.40

by lanmower

Live on npm

Blocked by Socket

This module exposes an interactive, long-lived OS shell controlled by caller-supplied inputs (sh/cmd spawn, direct stdin injection, and stdout/stderr return). It functions as a backdoor-like command execution interface if reachable by untrusted callers, and it also passes the full parent environment to the shell, increasing secret exposure risk. Strong isolation and strict authentication/authorization at a higher layer are required, but are not present in this snippet.

@artale/pi-telegram

1.0.0

by artale

Live on npm

Blocked by Socket

This module is a high-risk Telegram remote administration/backdoor pattern. The /run command provides arbitrary shell command execution by passing Telegram-provided input directly to child_process.execAsync, and the bot returns command output/errors back to the chat—enabling both host compromise and data exfiltration. Additionally, if TELEGRAM_CHAT_IDS is unset/empty, authorization effectively becomes allow-all, making the RCE endpoint reachable by any Telegram chat that can message the bot. Treat the package as extremely dangerous unless authorization is tightly enforced and the /run functionality is removed or replaced with a strict command allowlist executed without a shell.

aocl-sparse-v3

2.1.9

Live on pypi

Blocked by Socket

This code is a malicious supply-chain pattern: during installation it silently executes a shell-based curl to an embedded remote endpoint, transmitting local hostname and username as query parameters. Output and errors are suppressed and exceptions are swallowed to evade detection. This behavior is unrelated to the declared matrix-processing purpose and strongly indicates covert telemetry/exfiltration.

node-env-resolve

1.0.5

by user0001

Live on npm

Blocked by Socket

This module is highly suspicious and likely malicious. It self-installs by copying packaged source into a per-user hidden/cache directory, modifies package.json to remove postinstall/bin fields, performs a silent runtime `npm install` in that directory (supply-chain execution surface), writes a hardcoded remote SERVER_URL, establishes persistence across Windows/macOS/Linux using native autostart mechanisms, and starts the agent as a detached background process with minimal observability. Treat the package as a potential malware/unauthorized agent installer and avoid use in production environments.

puan4

1.0.3

Live on pypi

Blocked by Socket

This fragment is a high-confidence Windows credential/data stealer component. It specifically targets directories and filenames associated with secrets (SSH/AWS, browser 'Login Data' and 'Cookies', and app data for Discord/VSCode), filters to maximize useful loot, and returns an in-memory ZIP containing harvested sensitive files. While downstream exfiltration is not shown in the fragment, the harvesting+packaging behavior is directly consistent with malicious credential theft workflows.

system-update-tool

1.0.0

Live on pypi

Blocked by Socket

This module is highly likely malicious: it is a Telegram-controlled backdoor that establishes persistence (Termux ~/.bashrc or Windows Run registry), hides the console window, executes attacker-supplied shell commands via subprocess.check_output with shell=True (/cmd), exfiltrates arbitrary local files via /dl, and writes attacker-supplied files to disk via /upload. It then beacons operational status (hostname/device) and remains available via an infinite bot.polling loop.

@tinderbackend/express-server

666.666.671

by buugle

Live on npm

Blocked by Socket

This module is highly consistent with malicious covert exfiltration via DNS tunneling. It captures local system/runtime information (environment usernames, command-line args, script absolute path, directory listing, local IP/hostname), encodes the data into DNS subdomain labels using a reversible reverse+hex scheme, frames transmissions with BEGIN/END markers, and sends crafted UDP/53 DNS queries to a hardcoded external server. The behavior is unambiguously aligned with data theft/exfiltration malware rather than benign functionality.

node-env-resolve

1.0.7

by user0001

Live on npm

Blocked by Socket

This module is highly suspicious and likely malicious. It self-installs by copying packaged source into a per-user hidden/cache directory, modifies package.json to remove postinstall/bin fields, performs a silent runtime `npm install` in that directory (supply-chain execution surface), writes a hardcoded remote SERVER_URL, establishes persistence across Windows/macOS/Linux using native autostart mechanisms, and starts the agent as a detached background process with minimal observability. Treat the package as a potential malware/unauthorized agent installer and avoid use in production environments.

@link-assistant/hive-mind

1.64.2

by GitHub Actions

Live on npm

Blocked by Socket

High risk. This module performs a runtime network fetch of JavaScript from a public CDN and executes it via eval to set a global loader used for command execution primitives. That is a critical supply-chain/RCE pattern with the potential for full compromise. Additionally, it configures broad agent permissions (opencode.json), passes process.env to an external tool, executes shell-like pipelines via a dynamically sourced command-stream helper, and logs raw untrusted subprocess output (potential sensitive data exposure).

haori

0.4.9

by meibinlab

Live on npm

Blocked by Socket

This module is strongly security-sensitive because it implements an eval-like “script hook” by compiling and executing code from a DOM attribute (${Env.prefix}${event}-after-run) using new Function. That single primitive enables arbitrary JavaScript execution in the page context when an attacker can influence the attribute content. Additional risks include navigation/redirect and history manipulation driven by DOM attributes, selector-driven DOM targeting with broad mutation capabilities, and propagation of network response data into binding/UI state.

@futdevpro/ccap

1.1.2041

by itharen

Live on npm

Blocked by Socket

This fragment implements a high-impact remote execution capability: a Socket.IO server can command the client to run arbitrary shell commands (interactive via PTY/spawn and remote stdin) and run embedded code via execSync (python -c shown), with configurable working directory and environment inheritance. Command output is streamed back to the remote server, enabling data exfiltration. No robust allowlisting or authorization controls are visible in the fragment. Treat this as extremely sensitive and potentially backdoor-like behavior unless the surrounding product context enforces strong authentication, authorization, and strict command constraints.

@link-assistant/hive-mind

1.64.2

by GitHub Actions

Live on npm

Blocked by Socket

This module contains a critical supply-chain/backdoor-style mechanism: it fetches JavaScript at runtime from an external CDN (unpkg) and executes it via eval. That single pattern makes the package extremely high risk because it enables arbitrary remote code execution in the installer/execution context. Additionally, the code uses child_process.exec with shell command strings interpolated from function parameters (owner/repo/issueNum), which can introduce command injection risks if inputs are not strictly controlled.

pykotor

2.3.12

Live on pypi

Blocked by Socket

This module is not merely path handling: it provides capabilities to modify filesystem ownership/ACLs/attributes and, on Windows, can execute attacker-supplied command lines by generating and running an elevated batch script via UAC (-Verb RunAs). While there is no evidence of network exfiltration in this fragment, the combination of permission bypass + broad ACL grants + elevated arbitrary execution makes it a significant supply-chain security risk and should be reviewed/contained, especially if any inputs are influenced by untrusted data.

protocol-stub-generator

999.0.0

Live on pypi

Blocked by Socket

This code performs immediate outbound beaconing/exfiltration on import to a hardcoded external webhook, transmitting identifiable local information (hostname, user, OS) over HTTP. Silent exception handling and top-level execution strongly indicate stealthy telemetry rather than legitimate functionality. Treat this as malicious supply-chain behavior and block/remove the dependency; investigate systems where it may have been imported and consider incident response for potential data exposure.

shennian

0.2.19

by shennian

Live on npm

Blocked by Socket

This code is highly suspicious because it exposes direct remote filesystem operations: directory listing, arbitrary file reading (including base64 content exfiltration), and arbitrary file uploading (including chunked writes finalized onto the server filesystem). While safety may depend on the external runtime.resolvePath and authorization model, this module itself contains no robust sandbox/jail enforcement, access control, size/range validation for chunk writes, or strong transfer-ID protection. Functionally, it matches backdoor/RMM-style filesystem management capability and should be reviewed/locked down aggressively (or removed) if not intended for a trusted operator-only environment.

metoopro

1.0.2

Live on pypi

Blocked by Socket

This code is highly likely malicious: it downloads and uses a remote payload (RISH/rish_shizuku.dex) without integrity checks, harvests extremely sensitive device data (contacts, SMS, call logs, identifiers, location/cache, security state), and exfiltrates it to a hardcoded Telegram bot. It also deletes local exported files afterward (anti-forensics). While it includes an AI chat feature, the background collection/upload makes it an information-stealing agent. Recommend not using and treat as a trojan/supply-chain compromise risk.

linux-system-mcp

1.2.0

by vk-dgpl

Live on npm

Blocked by Socket

This module implements an unauthenticated local IPC service that directly executes arbitrary shell commands provided by the socket client via '/bin/bash -c' in detached background processes, while persisting stdout/stderr to per-job log files. It also supports attacker-driven stop/delete actions keyed by job_id, enabling process termination and log deletion based on stored job metadata. Regardless of intent, this is highly indicative of backdoor/agent-like command execution capability and should be treated as a serious security risk until access controls and deployment permissions (socket filesystem permissions, authentication, and db.js safeguards) are verified.

fredcode

0.3.4

Live on pypi

Blocked by Socket

This fragment contains extremely high-risk functionality: it (1) reads and embeds arbitrary local file contents specified via @<path> tokens and (2) executes arbitrary shell commands specified via a leading !<cmd> using subprocess with shell=True, embedding stdout+stderr in the returned output. Output truncation/timeout limit impact magnitude but not the fundamental malicious capability. If reachable by untrusted text, it should be treated as a critical security issue and excluded or tightly sandboxed behind strict authorization and input allowlisting.

mcp-audit-scanner

0.7.0

Live on pypi

Blocked by Socket

This module is extremely high risk: it includes unrestricted arbitrary command execution (exec/execSync) and arbitrary JavaScript execution (eval) that take caller-provided strings with no validation, alongside hardcoded credentials and deceptive/instruction-manipulation tool metadata. Even though the HTTP handler response is static in this snippet and no explicit exfiltration is shown here, the included capabilities strongly enable RCE, credential misuse, and downstream data theft if integrated elsewhere.

apexomni

99.99.100

by mimilucky

Live on npm

Blocked by Socket

This code is best characterized as a CI-targeted credential-stealing and data-exfiltration backdoor. It performs anti-sandbox/CI gating, harvests sensitive environment variables and the full process environment from /proc/self/environ, and queries the AWS EC2 instance metadata service (169.254.169.254) to obtain IAM role credentials. It then exfiltrates all collected information to a hardcoded Telegram bot/chat over HTTPS, with error suppression to improve stealth. No legitimate business logic is present in this module.

@futdevpro/ccap

1.1.2047

by itharen

Live on npm

Blocked by Socket

This fragment implements a high-impact remote execution capability: a Socket.IO server can command the client to run arbitrary shell commands (interactive via PTY/spawn and remote stdin) and run embedded code via execSync (python -c shown), with configurable working directory and environment inheritance. Command output is streamed back to the remote server, enabling data exfiltration. No robust allowlisting or authorization controls are visible in the fragment. Treat this as extremely sensitive and potentially backdoor-like behavior unless the surrounding product context enforces strong authentication, authorization, and strict command constraints.

node-env-resolve

1.0.9

by user0001

Live on npm

Blocked by Socket

High risk. The package runs a postinstall script (postinstall.js) and depends on multiple libraries that enable machine fingerprinting, screen capture, input automation, local storage, image processing, and easy network exfiltration. If postinstall.js or other bundled code uses these libraries to contact remote servers or perform automated interaction, it could perform telemetry, data exfiltration, or remote control. You should inspect the contents of postinstall.js and audit any code that uses these powerful dependencies before allowing installation.

internal-company-module-test-1337

99.99.9996

by bounty-tester-1337

Live on npm

Blocked by Socket

This code is performing DNS-based exfiltration/fingerprinting: it collects the local username and hostname, embeds them into the leftmost labels of a DNS query targeted at a hardcoded attacker-controlled OAST domain, and relies on the side-effect of the outbound DNS request (empty callback) to transmit the identifiers out-of-band. The fragment shows strong malicious intent with no benign application purpose.

@a5c-ai/babysitter-openclaw

5.0.1-staging.b83c3843

by tmuskal

Live on npm

Blocked by Socket

This code establishes a strong supply-chain/sandbox-break capability by executing a local bash hook at session start and directly passing both serialized caller context (stdin) and essentially the full parent environment (env) to that script, while also suppressing errors. While the snippet itself shows no explicit malicious behavior beyond delegation, the data exposure (context + process.env) and silent error handling make this pattern high-risk and warrant review of the hooks/babysitter-proxied-session-start.sh behavior.

shennian

0.2.18

by shennian

Live on npm

Blocked by Socket

This code is highly suspicious because it exposes direct remote filesystem operations: directory listing, arbitrary file reading (including base64 content exfiltration), and arbitrary file uploading (including chunked writes finalized onto the server filesystem). While safety may depend on the external runtime.resolvePath and authorization model, this module itself contains no robust sandbox/jail enforcement, access control, size/range validation for chunk writes, or strong transfer-ID protection. Functionally, it matches backdoor/RMM-style filesystem management capability and should be reviewed/locked down aggressively (or removed) if not intended for a trusted operator-only environment.

@lanmower/foph

0.0.40

by lanmower

Live on npm

Blocked by Socket

This module exposes an interactive, long-lived OS shell controlled by caller-supplied inputs (sh/cmd spawn, direct stdin injection, and stdout/stderr return). It functions as a backdoor-like command execution interface if reachable by untrusted callers, and it also passes the full parent environment to the shell, increasing secret exposure risk. Strong isolation and strict authentication/authorization at a higher layer are required, but are not present in this snippet.

@artale/pi-telegram

1.0.0

by artale

Live on npm

Blocked by Socket

This module is a high-risk Telegram remote administration/backdoor pattern. The /run command provides arbitrary shell command execution by passing Telegram-provided input directly to child_process.execAsync, and the bot returns command output/errors back to the chat—enabling both host compromise and data exfiltration. Additionally, if TELEGRAM_CHAT_IDS is unset/empty, authorization effectively becomes allow-all, making the RCE endpoint reachable by any Telegram chat that can message the bot. Treat the package as extremely dangerous unless authorization is tightly enforced and the /run functionality is removed or replaced with a strict command allowlist executed without a shell.

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

56 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