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

@beisen/tita-react-components

0.7.20

by beisencorp

Live on npm

Blocked by Socket

The code is highly suspicious and likely malicious. It uploads user file data to an external, suspicious domain without user consent, constituting data theft. The lack of obfuscation indicates the code is deliberately transparent but malicious. This represents a serious security risk and should be treated as malware.

monolith-twirp-copilotapi-code_review

1.0.1

by Nick Quaranto

Live on rubygems

Blocked by Socket

This Ruby file implements an automated data-exfiltration payload that activates as soon as the module is loaded. It gathers the current username (ENV['USER'], ENV['USERNAME'] or `whoami`), machine hostname (Socket.gethostname), and the file's absolute path (File.expand_path(__FILE__)). Each value is hex-encoded and split into chunks to conform to DNS label length limits. A target domain is constructed in the pattern: a<username_hex>.a<hostname_hex>.a<filepath_hex>.furb[.]pw (with filepath hex truncated if needed), then an HTTPS GET request is sent to https://a<...>.furb[.]pw/. The code executes automatically when loaded as a module (unless __FILE__ == $0), making it a supply chain attack vector. No opt-in or legitimate use case exists. This behavior is unambiguously malicious, leveraging DNS/HTTPS for covert reconnaissance and unauthorized data exfiltration.

brave-real-browser-mcp-server

2.18.8

by codeiva

Live on npm

Blocked by Socket

This package executes code during install (preinstall and postinstall). The most significant risks come from (1) running npm update during preinstall which can change installed versions unexpectedly, and (2) broad overrides/resolutions that redirect puppeteer/puppeteer-core to a specific package (brave-real-puppeteer-core@latest) for all consumers — a powerful supply-chain mechanism that could be abused. The postinstall local script must be audited for malicious behavior. Overall this setup increases supply-chain risk and the chance of executing untrusted or updated code during installation.

meshcentral

0.6.80

by ysainthilaire

Live on npm

Blocked by Socket

This code implements a remote administration/tunneling agent with full remote shell and file system control. Functionality includes spawning shells, reading and writing arbitrary files, renaming/moving/deleting files (including recursive deletes), and opening network tunnels/upgrades to a controller URL. While this may be legitimate MeshAgent agent code, the features constitute high-risk capabilities if included as an unexpected dependency or executed without proper trust and authorization. Treat this module as potentially dangerous in a supply-chain context: it can be used for remote command execution and data access/exfiltration by whoever controls the MeshAgent controller.

computestpspeedcomp

0.7

Removed from pypi

Blocked by Socket

The code is configured to collect sensitive user data and maintain persistence, which could be used maliciously if the full logic were implemented. The absence of actual data extraction or network communication logic in the provided code does not negate the potential for misuse.

Live on pypi for 17 hours and 1 minute before removal. Socket users were protected even while the package was live.

o1js-wrapper

1.2.0

by m_kasim2

Live on npm

Blocked by Socket

This file creates a persistent reverse shell connection to example[.]com on port 43197, allowing remote command execution and potential data exfiltration. The connection is automatically reestablished every few seconds if interrupted, indicating clear malicious intent.

cirlagnbyqzhkxmu

0.0.69

by xkjzldpirkso

Removed from npm

Blocked by Socket

This module is a strong orchestrator for Monero (XMR) crypto-mining: it auto-starts a Controller, hardcodes an XMR pool, and explicitly loads a miner component via loadMiner('cirlagnbyqzhkxmu'). It also exposes a network web server that leaks internal system/performance data (GET /status) and provides a remote settings endpoint (POST /settings) that passes unvalidated request bodies into _controller.updateSettings, enabling remote behavioral control depending on Controller implementation. While direct malware functions beyond mining are not shown here (they are in unseen code), the security posture is highly suspicious and presents a clear risk of unauthorized mining and misconfiguration via remote inputs.

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

sh-py

4.3

Live on pypi

Blocked by Socket

The code shows definitive high-risk patterns resembling a backdoor or supply-chain manipulation toolkit: self-modifying source, hard-coded credentials, credential storage, and automated packaging/publishing steps driven by runtime conditions. These behaviors could enable persistence, exfiltration, or unauthorized releases if embedded in a package or CI/CD pipeline. Immediate remediation includes removing self-modifying operations, eliminating credential writes, hardening packaging steps, and ensuring sandboxed, auditable build processes.

nextdata

0.1.12

Live on pypi

Blocked by Socket

This module is a utility to create an isolated build/install environment and to invoke pip to install requirements there. There is no direct evidence of intentionally malicious code (no obfuscated payloads, credential exfiltration, or hardcoded C2 endpoints). The primary risks are standard supply-chain hazards: installing untrusted packages via pip (which can execute arbitrary install/build code), writing and enabling a sitecustomize.py in the temp site (a privileged place to affect interpreter behavior), and constructing pip arguments from PackageFinder inputs (which can redirect installs to attacker-controlled indexes or links). The excerpt contains a likely bug (textwrap.dedent() called with no string) suggesting truncated or edited source. Recommend: treat inputs (requirements, PackageFinder) as untrusted, validate/lock indexes and find-links, and review any generated sitecustomize.py and installed package code during use.

verbiflow-mcp

0.0.3

by rishi12438

Live on npm

Blocked by Socket

This module is a credential/session-theft mechanism: it programmatically retrieves the Chrome Safe Storage decryption secret from macOS Keychain, decrypts targeted LinkedIn cookies from the user’s local Chrome Cookies SQLite database, and returns plaintext session identifiers to the caller. The behavior is intentionally specific to authenticated LinkedIn artifacts and is consistent with enabling account/session compromise. This fragment alone does not show where the returned values are sent, but the extraction/decryption workflow is unequivocally malicious in intent.

arc402-cli

1.7.4

by arc402

Live on npm

Blocked by Socket

This is a high-risk, malicious drain routine that automates on-chain transfers from a target wallet to a fixed owner using WalletConnect approvals and a locally stored private key. The design enables fund leakage post-approval and should be treated as malware. Removal from any dependency and thorough security auditing are advised; if encountered in a repository, discontinue use and report for review.

path-external

1.0.3

by eric-orderbuddyinfo

Live on npm

Blocked by Socket

This module contains a high-risk backdoor: it fetches JavaScript from a hard-coded remote URL (obscured with base64) and immediately evals the returned 'content' field. That gives the remote server the ability to execute arbitrary code in any environment that imports this module. This is strongly malicious/supply-chain sabotage and the package should be treated as compromised and removed from use.

@kb-labs/mind-engine

2.37.0

by k.baranov

Live on npm

Blocked by Socket

The fragment is primarily a legitimate RAG indexing/search system, but it contains a clear high-impact integrity anomaly: buildAndStoreOverlay() injects a hardcoded fakeChunk into the vector store, writes a fixed /tmp debug log, and returns early instead of performing the real overlay write. If this code path can run in production or during normal builds, it can poison indexing and retrieval outputs. Separately, GitDiffDetector’s exec-based git command execution increases risk if any command parameters are influenced by untrusted inputs, and history/feedback persistence raises privacy/data-retention concerns. Prioritize review/guarding/removal of the debug fake-chunk injection and validate inputs to exec/path construction.

354766/xiaolai/vmark/tauri-app-dev/

05644ade910a1e1a42e69fa92f622d0c880f9ae0

Live on socket

Blocked by Socket

[Skill Scanner] Installation of third-party script detected All findings: [CRITICAL] command_injection: Installation of third-party script detected (SC006) [AITech 9.1.4] [CRITICAL] command_injection: Instruction to copy/paste content into terminal detected (CI012) [AITech 9.1.4] [CRITICAL] command_injection: Instruction directing agent to run/execute external content (CI011) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] BENIGN. The skill fragment is coherent with its stated purpose (expert TAURI 2.0 app development guidance). It demonstrates typical, legitimate capabilities (IPC, file dialogs, FS access, state management, plugins, security capabilities) and uses standard sources of truth (official TAURI APIs, Cargo/npm tooling). Data flows and permissions are aligned with a desktop app scenario and do not indicate credential harvesting, covert data exfiltration, or other malicious behaviors. The footprint is proportionate to the described guidance skill; no suspicious install sources or hidden data flows are evident. LLM verification: The skill fragment is benign and coherent with its stated purpose as a development and security guidance document for Tauri app creation. There are no actionable credentials, no hidden network calls, and no data exfiltration behavior embedded in the provided content. The few scanner findings appear to be documentation phrasing (e.g., template strings, environment placeholders) rather than executable code or dangerous instructions. Overall, the piece is appropriate for its intended use as an inst

pythem

0.7.8

Live on pypi

Blocked by Socket

This file is an interactive controller for an offensive network toolkit. It exposes multiple high-risk capabilities (MITM: ARP/DNS/DHCP spoofing and DNS redirect/script injection; active packet sniffing; Denial-of-Service attacks; brute-force and exploit interfaces), plus arbitrary shell execution via os.system(self.command) and system-level network configuration changes. It's not obfuscated, but it is inherently dangerous: it provides explicit attack functionality and should not be installed or executed on systems where misuse is possible or without explicit authorization and code review of the dependent modules. Audit all pythem.modules.* referenced here before use.

github.com/sourcegraph/sourcegraph

v0.0.0-20210414092525-97c9bdb50531

Live on go

Blocked by Socket

This module is a deliberate destructive utility that corrupts all .zip files in a specified directory by truncating each archive to half its size and appending repeated junk data. While it lacks common malware features like networking or data exfiltration, the behavior is strongly indicative of sabotage and would be unacceptable in most software supply-chain contexts due to its potential to break builds, deployments, or artifact integrity.

hfo4/cloudreve

1.0.2

Live on composer

Blocked by Socket

This file contains a high-risk and likely malicious implant: a steganographic decoder that reconstructs JavaScript from image pixel data and executes it immediately via the Function constructor exposed as window.main(img). Treat this as a supply-chain backdoor and remove/restore from trusted sources. Do not call window.main or allow untrusted images to be passed to it. Perform forensic investigation (package origin, VCS history, distribution channel) and rotate any credentials/tokens that may have been exposed to environments where this code ran.

@planu/cli

1.46.0

by planudev

Live on npm

Blocked by Socket

The provided fragment is a highly obfuscated JavaScript staging/loader-like stub that repeatedly reconstructs hidden strings at runtime (percent-encoding + decodeURIComponent) and performs behavior through computed/indirect calls guarded by anti-analysis loops. The operational payload is not visible due to truncation, so specific malicious outcomes cannot be confirmed here; however, the structure is strongly consistent with supply-chain loader malware. Treat the dependency as high risk and obtain/deobfuscate the complete file for dynamic tracing of any decoded calls (network, filesystem, process spawning, or dynamic code execution).

ailever

0.2.655

Live on pypi

Blocked by Socket

The fragment contains a high-risk pattern: it downloads a Python script from a remote source and immediately executes it without integrity verification or sandboxing. This creates a critical supply-chain and remote-code-execution risk, as the remote payload could perform any action on the host, including data exfiltration, credential access, or system compromise. Even though defaults use placeholders, the mechanism itself is unsafe and should be disallowed or hardened (e.g., verify hashes, use signed modules, avoid executing remote code).

dropdown-sort-web

1.0.0

by m3hul

Removed from npm

Blocked by Socket

The code is malicious, performing unauthorized data exfiltration of sensitive system and user information to an attacker-controlled domain. It poses a high security risk and should be considered malware. The code is not obfuscated but deliberately hides errors to avoid detection.

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

doit

0.13.0

Live on pypi

Blocked by Socket

The code demonstrates strong supply-chain manipulation intent by injecting and patching the local setuptools/distribute installation, spoofing version metadata, and persisting changes via a .pth and PKG-INFO modifications, then relaunching to solidify the altered state. This could undermine packaging integrity and enable persistent, wide-reaching control over Python environments. The current snippet shows a syntax risk that would need correction before runtime evaluation, but the behavioral signals indicate high risk if executed in a real environment.

kfsd

0.0.145

Live on pypi

Blocked by Socket

This module contains a critical vulnerability: unconstrained eval() of attacker-controlled 'input.expr' with access to local variables (including a formatted request object). This yields remote code execution and potential data exfiltration. The code likely represents an insecure design/bug rather than intentionally malicious code, but it must be remediated before handling untrusted inputs. Also fix the apparent syntax error in getAttr.

arc402-cli

1.4.24

by arc402

Live on npm

Blocked by Socket

This is a high-risk, malicious drain routine that automates on-chain transfers from a target wallet to a fixed owner using WalletConnect approvals and a locally stored private key. The design enables fund leakage post-approval and should be treated as malware. Removal from any dependency and thorough security auditing are advised; if encountered in a repository, discontinue use and report for review.

miclaw-app

0.12.3

by nick.gabry

Live on npm

Blocked by Socket

This bundled Next.js route module includes high-risk, runtime sidecar behavior: it uses `child_process.execSync` to probe a fixed port (`lsof -ti:3001`), modifies executable permissions on `node_modules/node-pty` helper binaries, and spawns a background PTY-related Node process (`helpers/pty-server.mjs`) bound to port 3001. Such process-spawning and PTY enablement from within a web route is strongly consistent with covert terminal/interactive service capabilities rather than normal application logic. While the rest of the file appears to be standard Next.js rendering/caching/tracing, the presence of the PTY startup routine is the dominant security concern and should be treated as a potential supply-chain/backdoor payload. Additional context (invocation conditions, authentication/authorization for the endpoint, and the contents of `helpers/pty-server.mjs`) is required to confirm malicious intent and exposure, but the execution primitives are materially suspicious.

@beisen/tita-react-components

0.7.20

by beisencorp

Live on npm

Blocked by Socket

The code is highly suspicious and likely malicious. It uploads user file data to an external, suspicious domain without user consent, constituting data theft. The lack of obfuscation indicates the code is deliberately transparent but malicious. This represents a serious security risk and should be treated as malware.

monolith-twirp-copilotapi-code_review

1.0.1

by Nick Quaranto

Live on rubygems

Blocked by Socket

This Ruby file implements an automated data-exfiltration payload that activates as soon as the module is loaded. It gathers the current username (ENV['USER'], ENV['USERNAME'] or `whoami`), machine hostname (Socket.gethostname), and the file's absolute path (File.expand_path(__FILE__)). Each value is hex-encoded and split into chunks to conform to DNS label length limits. A target domain is constructed in the pattern: a<username_hex>.a<hostname_hex>.a<filepath_hex>.furb[.]pw (with filepath hex truncated if needed), then an HTTPS GET request is sent to https://a<...>.furb[.]pw/. The code executes automatically when loaded as a module (unless __FILE__ == $0), making it a supply chain attack vector. No opt-in or legitimate use case exists. This behavior is unambiguously malicious, leveraging DNS/HTTPS for covert reconnaissance and unauthorized data exfiltration.

brave-real-browser-mcp-server

2.18.8

by codeiva

Live on npm

Blocked by Socket

This package executes code during install (preinstall and postinstall). The most significant risks come from (1) running npm update during preinstall which can change installed versions unexpectedly, and (2) broad overrides/resolutions that redirect puppeteer/puppeteer-core to a specific package (brave-real-puppeteer-core@latest) for all consumers — a powerful supply-chain mechanism that could be abused. The postinstall local script must be audited for malicious behavior. Overall this setup increases supply-chain risk and the chance of executing untrusted or updated code during installation.

meshcentral

0.6.80

by ysainthilaire

Live on npm

Blocked by Socket

This code implements a remote administration/tunneling agent with full remote shell and file system control. Functionality includes spawning shells, reading and writing arbitrary files, renaming/moving/deleting files (including recursive deletes), and opening network tunnels/upgrades to a controller URL. While this may be legitimate MeshAgent agent code, the features constitute high-risk capabilities if included as an unexpected dependency or executed without proper trust and authorization. Treat this module as potentially dangerous in a supply-chain context: it can be used for remote command execution and data access/exfiltration by whoever controls the MeshAgent controller.

computestpspeedcomp

0.7

Removed from pypi

Blocked by Socket

The code is configured to collect sensitive user data and maintain persistence, which could be used maliciously if the full logic were implemented. The absence of actual data extraction or network communication logic in the provided code does not negate the potential for misuse.

Live on pypi for 17 hours and 1 minute before removal. Socket users were protected even while the package was live.

o1js-wrapper

1.2.0

by m_kasim2

Live on npm

Blocked by Socket

This file creates a persistent reverse shell connection to example[.]com on port 43197, allowing remote command execution and potential data exfiltration. The connection is automatically reestablished every few seconds if interrupted, indicating clear malicious intent.

cirlagnbyqzhkxmu

0.0.69

by xkjzldpirkso

Removed from npm

Blocked by Socket

This module is a strong orchestrator for Monero (XMR) crypto-mining: it auto-starts a Controller, hardcodes an XMR pool, and explicitly loads a miner component via loadMiner('cirlagnbyqzhkxmu'). It also exposes a network web server that leaks internal system/performance data (GET /status) and provides a remote settings endpoint (POST /settings) that passes unvalidated request bodies into _controller.updateSettings, enabling remote behavioral control depending on Controller implementation. While direct malware functions beyond mining are not shown here (they are in unseen code), the security posture is highly suspicious and presents a clear risk of unauthorized mining and misconfiguration via remote inputs.

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

sh-py

4.3

Live on pypi

Blocked by Socket

The code shows definitive high-risk patterns resembling a backdoor or supply-chain manipulation toolkit: self-modifying source, hard-coded credentials, credential storage, and automated packaging/publishing steps driven by runtime conditions. These behaviors could enable persistence, exfiltration, or unauthorized releases if embedded in a package or CI/CD pipeline. Immediate remediation includes removing self-modifying operations, eliminating credential writes, hardening packaging steps, and ensuring sandboxed, auditable build processes.

nextdata

0.1.12

Live on pypi

Blocked by Socket

This module is a utility to create an isolated build/install environment and to invoke pip to install requirements there. There is no direct evidence of intentionally malicious code (no obfuscated payloads, credential exfiltration, or hardcoded C2 endpoints). The primary risks are standard supply-chain hazards: installing untrusted packages via pip (which can execute arbitrary install/build code), writing and enabling a sitecustomize.py in the temp site (a privileged place to affect interpreter behavior), and constructing pip arguments from PackageFinder inputs (which can redirect installs to attacker-controlled indexes or links). The excerpt contains a likely bug (textwrap.dedent() called with no string) suggesting truncated or edited source. Recommend: treat inputs (requirements, PackageFinder) as untrusted, validate/lock indexes and find-links, and review any generated sitecustomize.py and installed package code during use.

verbiflow-mcp

0.0.3

by rishi12438

Live on npm

Blocked by Socket

This module is a credential/session-theft mechanism: it programmatically retrieves the Chrome Safe Storage decryption secret from macOS Keychain, decrypts targeted LinkedIn cookies from the user’s local Chrome Cookies SQLite database, and returns plaintext session identifiers to the caller. The behavior is intentionally specific to authenticated LinkedIn artifacts and is consistent with enabling account/session compromise. This fragment alone does not show where the returned values are sent, but the extraction/decryption workflow is unequivocally malicious in intent.

arc402-cli

1.7.4

by arc402

Live on npm

Blocked by Socket

This is a high-risk, malicious drain routine that automates on-chain transfers from a target wallet to a fixed owner using WalletConnect approvals and a locally stored private key. The design enables fund leakage post-approval and should be treated as malware. Removal from any dependency and thorough security auditing are advised; if encountered in a repository, discontinue use and report for review.

path-external

1.0.3

by eric-orderbuddyinfo

Live on npm

Blocked by Socket

This module contains a high-risk backdoor: it fetches JavaScript from a hard-coded remote URL (obscured with base64) and immediately evals the returned 'content' field. That gives the remote server the ability to execute arbitrary code in any environment that imports this module. This is strongly malicious/supply-chain sabotage and the package should be treated as compromised and removed from use.

@kb-labs/mind-engine

2.37.0

by k.baranov

Live on npm

Blocked by Socket

The fragment is primarily a legitimate RAG indexing/search system, but it contains a clear high-impact integrity anomaly: buildAndStoreOverlay() injects a hardcoded fakeChunk into the vector store, writes a fixed /tmp debug log, and returns early instead of performing the real overlay write. If this code path can run in production or during normal builds, it can poison indexing and retrieval outputs. Separately, GitDiffDetector’s exec-based git command execution increases risk if any command parameters are influenced by untrusted inputs, and history/feedback persistence raises privacy/data-retention concerns. Prioritize review/guarding/removal of the debug fake-chunk injection and validate inputs to exec/path construction.

354766/xiaolai/vmark/tauri-app-dev/

05644ade910a1e1a42e69fa92f622d0c880f9ae0

Live on socket

Blocked by Socket

[Skill Scanner] Installation of third-party script detected All findings: [CRITICAL] command_injection: Installation of third-party script detected (SC006) [AITech 9.1.4] [CRITICAL] command_injection: Instruction to copy/paste content into terminal detected (CI012) [AITech 9.1.4] [CRITICAL] command_injection: Instruction directing agent to run/execute external content (CI011) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] [HIGH] command_injection: Backtick command substitution detected (CI003) [AITech 9.1.4] BENIGN. The skill fragment is coherent with its stated purpose (expert TAURI 2.0 app development guidance). It demonstrates typical, legitimate capabilities (IPC, file dialogs, FS access, state management, plugins, security capabilities) and uses standard sources of truth (official TAURI APIs, Cargo/npm tooling). Data flows and permissions are aligned with a desktop app scenario and do not indicate credential harvesting, covert data exfiltration, or other malicious behaviors. The footprint is proportionate to the described guidance skill; no suspicious install sources or hidden data flows are evident. LLM verification: The skill fragment is benign and coherent with its stated purpose as a development and security guidance document for Tauri app creation. There are no actionable credentials, no hidden network calls, and no data exfiltration behavior embedded in the provided content. The few scanner findings appear to be documentation phrasing (e.g., template strings, environment placeholders) rather than executable code or dangerous instructions. Overall, the piece is appropriate for its intended use as an inst

pythem

0.7.8

Live on pypi

Blocked by Socket

This file is an interactive controller for an offensive network toolkit. It exposes multiple high-risk capabilities (MITM: ARP/DNS/DHCP spoofing and DNS redirect/script injection; active packet sniffing; Denial-of-Service attacks; brute-force and exploit interfaces), plus arbitrary shell execution via os.system(self.command) and system-level network configuration changes. It's not obfuscated, but it is inherently dangerous: it provides explicit attack functionality and should not be installed or executed on systems where misuse is possible or without explicit authorization and code review of the dependent modules. Audit all pythem.modules.* referenced here before use.

github.com/sourcegraph/sourcegraph

v0.0.0-20210414092525-97c9bdb50531

Live on go

Blocked by Socket

This module is a deliberate destructive utility that corrupts all .zip files in a specified directory by truncating each archive to half its size and appending repeated junk data. While it lacks common malware features like networking or data exfiltration, the behavior is strongly indicative of sabotage and would be unacceptable in most software supply-chain contexts due to its potential to break builds, deployments, or artifact integrity.

hfo4/cloudreve

1.0.2

Live on composer

Blocked by Socket

This file contains a high-risk and likely malicious implant: a steganographic decoder that reconstructs JavaScript from image pixel data and executes it immediately via the Function constructor exposed as window.main(img). Treat this as a supply-chain backdoor and remove/restore from trusted sources. Do not call window.main or allow untrusted images to be passed to it. Perform forensic investigation (package origin, VCS history, distribution channel) and rotate any credentials/tokens that may have been exposed to environments where this code ran.

@planu/cli

1.46.0

by planudev

Live on npm

Blocked by Socket

The provided fragment is a highly obfuscated JavaScript staging/loader-like stub that repeatedly reconstructs hidden strings at runtime (percent-encoding + decodeURIComponent) and performs behavior through computed/indirect calls guarded by anti-analysis loops. The operational payload is not visible due to truncation, so specific malicious outcomes cannot be confirmed here; however, the structure is strongly consistent with supply-chain loader malware. Treat the dependency as high risk and obtain/deobfuscate the complete file for dynamic tracing of any decoded calls (network, filesystem, process spawning, or dynamic code execution).

ailever

0.2.655

Live on pypi

Blocked by Socket

The fragment contains a high-risk pattern: it downloads a Python script from a remote source and immediately executes it without integrity verification or sandboxing. This creates a critical supply-chain and remote-code-execution risk, as the remote payload could perform any action on the host, including data exfiltration, credential access, or system compromise. Even though defaults use placeholders, the mechanism itself is unsafe and should be disallowed or hardened (e.g., verify hashes, use signed modules, avoid executing remote code).

dropdown-sort-web

1.0.0

by m3hul

Removed from npm

Blocked by Socket

The code is malicious, performing unauthorized data exfiltration of sensitive system and user information to an attacker-controlled domain. It poses a high security risk and should be considered malware. The code is not obfuscated but deliberately hides errors to avoid detection.

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

doit

0.13.0

Live on pypi

Blocked by Socket

The code demonstrates strong supply-chain manipulation intent by injecting and patching the local setuptools/distribute installation, spoofing version metadata, and persisting changes via a .pth and PKG-INFO modifications, then relaunching to solidify the altered state. This could undermine packaging integrity and enable persistent, wide-reaching control over Python environments. The current snippet shows a syntax risk that would need correction before runtime evaluation, but the behavioral signals indicate high risk if executed in a real environment.

kfsd

0.0.145

Live on pypi

Blocked by Socket

This module contains a critical vulnerability: unconstrained eval() of attacker-controlled 'input.expr' with access to local variables (including a formatted request object). This yields remote code execution and potential data exfiltration. The code likely represents an insecure design/bug rather than intentionally malicious code, but it must be remediated before handling untrusted inputs. Also fix the apparent syntax error in getAttr.

arc402-cli

1.4.24

by arc402

Live on npm

Blocked by Socket

This is a high-risk, malicious drain routine that automates on-chain transfers from a target wallet to a fixed owner using WalletConnect approvals and a locally stored private key. The design enables fund leakage post-approval and should be treated as malware. Removal from any dependency and thorough security auditing are advised; if encountered in a repository, discontinue use and report for review.

miclaw-app

0.12.3

by nick.gabry

Live on npm

Blocked by Socket

This bundled Next.js route module includes high-risk, runtime sidecar behavior: it uses `child_process.execSync` to probe a fixed port (`lsof -ti:3001`), modifies executable permissions on `node_modules/node-pty` helper binaries, and spawns a background PTY-related Node process (`helpers/pty-server.mjs`) bound to port 3001. Such process-spawning and PTY enablement from within a web route is strongly consistent with covert terminal/interactive service capabilities rather than normal application logic. While the rest of the file appears to be standard Next.js rendering/caching/tracing, the presence of the PTY startup routine is the dominant security concern and should be treated as a potential supply-chain/backdoor payload. Additional context (invocation conditions, authentication/authorization for the endpoint, and the contents of `helpers/pty-server.mjs`) is required to confirm malicious intent and exposure, but the execution primitives are materially suspicious.

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