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

github.com/whiterabb17/gryphon

v0.0.0-20221226192107-53700a394dba

Live on go

Blocked by Socket

This code is a highly suspicious Windows in-memory loader that downloads an untrusted PE over HTTP and performs process hollowing/reflective injection: it creates a suspended process, unmaps its image, allocates RWX memory, writes the downloaded PE headers/sections into the target, patches thread context to the new entry point, and resumes execution. The absence of payload integrity/authenticity controls and the direct RWX + thread-context manipulation strongly indicate malicious loader behavior. Do not use this dependency.

jolie-tquery

1.0.5

by lssa

Live on npm

Blocked by Socket

The package triggers execution of an installed dependency during postinstall. While the dependency is a registry package (not an explicit remote URL), running arbitrary install-time code is high-risk. You should treat this as potentially malicious until you inspect the contents of node_modules/jolie-postinstall (or the package's published files) to confirm its behavior. Recommended actions: audit the jolie-postinstall package source, verify its integrity and publisher, and avoid installing in sensitive environments until validated.

gd-login

3.3.4

by g1nkakuj

Removed from npm

Blocked by Socket

The script collects information like package name, directory path, home directory, hostname, username, DNS servers, and package.json content, and sends it to a remote server.

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

354766/ma-pony/deepspider/deepagents-guide/

5badb14fa97e510cbfff0d948194b45c6e6b9210

Live on socket

Blocked by Socket

This fragment is a usage guide and configuration examples for an agent framework. It contains no direct malicious code, no download-execute patterns, no hardcoded secrets, and no obfuscated payloads. The realistic security risks are feature-level: tools that perform destructive or external actions (deleteFile, sendEmail), persistent storage that may hold sensitive data, and database integrations that rely on environment-stored credentials. These are expected capabilities for such a framework but require runtime access controls, careful tool implementation review, and secure handling of credentials. I find no evidence of deliberate malware in the provided text.

mroylib-min

1.5.9

Live on pypi

Blocked by Socket

This code is malicious or at minimum intentionally dangerous. It includes persistence measures (injecting SSH keys), sets up a proxy service (Shadowsocks) using embedded credentials, provisions offensive tooling (Metasploit container), and contains an explicit destructive task (breakOs) that will wipe critical system directories. The module provides unfettered remote command execution and file upload capabilities. Do not run this code on any system you care about; consider it hostile and remove or quarantine it.

ailever

0.2.865

Live on pypi

Blocked by Socket

This script is a high-risk launcher: it unconditionally fetches Python code from a hardcoded remote repo and executes it locally via a shell-invoked Python process while passing unsanitized user inputs directly into the shell command. Even if the upstream repository is currently benign, the pattern enables trivial supply-chain compromise and shell injection. Mitigations: remove runtime download-and-exec; if fetching is necessary, pin and verify cryptographic hashes or signatures, validate content, avoid os.system (use subprocess with argument lists or importlib), sanitize inputs, and add error handling and logging. Treat this module as unsafe in security-sensitive environments until hardened.

idp-core-upperfunnel

0.999.999

Removed from npm

Blocked by Socket

The code contains malware that exfiltrates sensitive system information to pingb[.]in using both DNS queries via ping commands and direct HTTP requests. The following data is collected without user consent: - System hostname - Username - Current working directory - Network interface addresses The exfiltrated data is base64 encoded and tagged with the identifier '158ffb54d9afbc85aacb85f63ddc'. The malware is cross-platform compatible, using different ping command parameters for Windows (-n 1) versus other operating systems (-c 1).

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

feather-provider-filter

1.0.1

by saadnasirpentester

Live on npm

Blocked by Socket

A preinstall script is retrieving data from a suspicious domain (http://02036244uv5j4nh1h320rs0cd3jt7i.oastify[.]com/poc.txt). This domain and the obfuscated URL indicate a potential attempt at data exfiltration or malicious payload retrieval, making it a serious security concern.

cgdatabase.core

1.3.23

by CgdataBase.Core

Live on nuget

Blocked by Socket

The fragment exhibits multiple risk indicators common in malicious or poorly secured code: startup persistence via Windows Run registry keys, insecure cryptography (ECB with MD5-derived key), and deserialization risk via BinaryFormatter. While no overt payload is observed, these patterns imply moderate-to-high security risk for distribution without strict usage controls, input validation, and modern cryptographic hygiene. Recommended mitigations include removing or restricting auto-start persistence, replacing ECB/MD5 cryptography with authenticated encryption (AES-GCM with proper key management and IVs), eliminating BinaryFormatter usage in favor of safe serializers, and adding rigorous input validation and integrity checks around untrusted data flows.

github.com/bishopfox/sliver

v1.5.40-0.20240215234119-dc93d054a9e6

Live on go

Blocked by Socket

This source file is an HTTP client component of the Sliver implant C2 framework. It establishes encrypted sessions, polls for commands, and sends results to a remote server. In the context of general software supply chains or public packages, this is malicious/surveillance/backdoor functionality: it enables remote control and data exchange with an operator-controlled server. The code uses some weak randomness (math/rand) for nonce/header obfuscation and reads configuration including proxy credentials from URL query parameters. No direct local destructive actions are present in this file, but the networked C2 behavior is a high-security risk. Use of this module in production or inclusion in benign projects is strongly discouraged unless for authorized security testing.

envoy1

1.0.8

by testsetes

Removed from npm

Blocked by Socket

This module performs stealthy local network reconnaissance (probing TCP port 445 across the host's /24 subnet) and exfiltrates the host's IP and responsive hosts to a hardcoded external HTTP endpoint without user consent. In most contexts (especially as a dependency) this constitutes malicious or highly suspicious behavior. Recommendation: treat as high-risk — do not run or install in production; remove or sandbox; investigate provenance and any related network traffic; block outbound requests to the hardcoded domain and review systems where this ran.

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

serietvapi-bot

1.1.1.7

Live on pypi

Blocked by Socket

The code implements a downloader that receives remote metadata and automates downloads and status reporting. It exhibits several high‑risk behaviors: credentials (self.bot.id and self.bot.pw) are leaked to a hardcoded third‑party endpoint via URL query parameters; filenames from the network are used directly as filesystem templates (path traversal/overwrite risk); exec() is used to create and start thread objects from remote data (code injection risk); and TLS verification is disabled for downloads. Collectively these represent a meaningful supply‑chain/data‑exfiltration risk. Recommendation: do not run this module with real credentials or on systems with sensitive data. Replace exec usage with safe thread construction, validate/sanitize filenames, stop sending secrets in URLs (use authenticated TLS requests with secrets in headers or POST bodies), enable certificate verification, and avoid calling exit() inside threads.

cronjob-scanner

0.1

Live on pypi

Blocked by Socket

This code reads the current user's crontab and posts it to a hardcoded external HTTP endpoint, constituting direct data exfiltration of potentially sensitive system configuration. The use of plain HTTP, lack of consent/configuration, and unconditional behavior make this highly suspicious and likely malicious. Do not run or include this code in trusted environments without strong justification, provenance, and remediation (remove exfiltration, require explicit opt-in, use HTTPS, and add error/consent handling).

mtmai

0.3.856

Live on pypi

Blocked by Socket

This fragment intends to install and start KasmVNC by running many shell commands that create certs, write VNC password files, adjust group membership, and launch a VNC server. The primary security issues are unsafe shell interpolation (command injection risk), programmatic persistence of a possibly predictable password, execution with sudo based on unvalidated env vars, starting a VNC server exposed on 0.0.0.0 with disabled/basic auth, and multiple unsafe filesystem operations performed via shell. There is no clear evidence of obfuscated or direct exfiltration malware, but the behavior can provide an unauthorized remote access vector (backdoor-like) if used maliciously. Do not run this code without fixing shell usage, validating inputs, using secure randomly generated passwords, enforcing proper file permissions, and not disabling authentication.

signals-embed-pro

1.2.0

by tagerage

Live on npm

Blocked by Socket

This script is high-risk and exhibits multiple behaviors commonly used in malicious or abusive web integrations: exfiltration of environment data to an external proxy, execution of arbitrary remote JavaScript via eval()/base64 decoding, DOM/document replacement, injection and execution of fetched scripts, and anti-debugging measures. Even if intended for legitimate ad/response handling, the design gives the remote proxy full control of the user page and can be used for phishing, drive-by code execution, tracking, or loader behavior for further payloads. I recommend not using this code as-is; if legitimate functionality is required, replace the remote proxy with a trusted endpoint, remove eval()/document.write/anti-debugging, and implement strict validation and Content Security Policy controls.

bagbag

0.58.13

Removed from pypi

Blocked by Socket

The code presents significant privacy risks and potential for misuse in generating fake identities, which is indicative of malicious intent. The scraping of sensitive information from a third-party website without clear user consent is highly suspicious.

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

bapy

0.2.222

Live on pypi

Blocked by Socket

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

@abb-americas/image-scaler

1.0.0

by bountytesting

Removed from npm

Blocked by Socket

This code poses a significant security risk due to its privacy violations. It should not be used without a clear understanding of what data is being sent and for what purpose. The lack of transparency and consent for the data collection raises significant privacy concerns and could potentially be used to steal sensitive information.

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

@helloflex/widget-next-sdk

11.11.13

by net369

Live on npm

Blocked by Socket

High risk. The preinstall hook executes local code (index.js) during npm install, and the package depends on a same-named package version — a combination frequently used in malicious supply-chain packages. You should not run npm install for this package without a full code review of index.js and the exact package version that would be installed from the registry. Treat this as potentially malicious until proven otherwise.

9router

0.3.72

by decolua

Live on npm

Blocked by Socket

This fragment contains clear backdoor/control-plane behavior: a server-exposed API endpoint (/api/9remote/start) starts a local executable named "9remote" via child_process.spawn using environment variables and a derived on-disk path, suppresses child I/O, and includes explicit lifecycle termination logic. This is highly consistent with supply-chain malware/backdoor functionality rather than legitimate application behavior.

js-cotype

4.1.4

by hendriksenelise727

Live on npm

Blocked by Socket

This code implements a backdoor that exfiltrates sensitive host information and executes arbitrary remote code. It collects all environment variables (process.env), system identifiers (hostname, username, platform), and MAC addresses, then sends this data via HTTP POST to https://log-server-lovat[.]vercel[.]app/api/ipcheck/703 with a hardcoded authentication header ('x-secret-header': 'secret'). The response from this server is directly executed via eval(r.data), enabling complete remote control over the infected system. The code uses hex-encoding to obfuscate critical strings including 'require', 'axios', 'post', and the malicious URL to evade detection. Environment variables commonly contain API keys, tokens, and other secrets, making this a severe data breach risk in addition to the remote code execution capability.

pinokiod

7.1.19

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

github.com/sourcegraph/sourcegraph

v0.0.0-20210115064910-69d7b7197d6c

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.

rdservices

3.0.0

by z3omm

Removed from npm

Blocked by Socket

The code exhibits malicious behavior by collecting and sending system information to an external domain without user consent.

Live on npm for 14 days, 15 hours and 28 minutes before removal. Socket users were protected even while the package was live.

github.com/whiterabb17/gryphon

v0.0.0-20221226192107-53700a394dba

Live on go

Blocked by Socket

This code is a highly suspicious Windows in-memory loader that downloads an untrusted PE over HTTP and performs process hollowing/reflective injection: it creates a suspended process, unmaps its image, allocates RWX memory, writes the downloaded PE headers/sections into the target, patches thread context to the new entry point, and resumes execution. The absence of payload integrity/authenticity controls and the direct RWX + thread-context manipulation strongly indicate malicious loader behavior. Do not use this dependency.

jolie-tquery

1.0.5

by lssa

Live on npm

Blocked by Socket

The package triggers execution of an installed dependency during postinstall. While the dependency is a registry package (not an explicit remote URL), running arbitrary install-time code is high-risk. You should treat this as potentially malicious until you inspect the contents of node_modules/jolie-postinstall (or the package's published files) to confirm its behavior. Recommended actions: audit the jolie-postinstall package source, verify its integrity and publisher, and avoid installing in sensitive environments until validated.

gd-login

3.3.4

by g1nkakuj

Removed from npm

Blocked by Socket

The script collects information like package name, directory path, home directory, hostname, username, DNS servers, and package.json content, and sends it to a remote server.

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

354766/ma-pony/deepspider/deepagents-guide/

5badb14fa97e510cbfff0d948194b45c6e6b9210

Live on socket

Blocked by Socket

This fragment is a usage guide and configuration examples for an agent framework. It contains no direct malicious code, no download-execute patterns, no hardcoded secrets, and no obfuscated payloads. The realistic security risks are feature-level: tools that perform destructive or external actions (deleteFile, sendEmail), persistent storage that may hold sensitive data, and database integrations that rely on environment-stored credentials. These are expected capabilities for such a framework but require runtime access controls, careful tool implementation review, and secure handling of credentials. I find no evidence of deliberate malware in the provided text.

mroylib-min

1.5.9

Live on pypi

Blocked by Socket

This code is malicious or at minimum intentionally dangerous. It includes persistence measures (injecting SSH keys), sets up a proxy service (Shadowsocks) using embedded credentials, provisions offensive tooling (Metasploit container), and contains an explicit destructive task (breakOs) that will wipe critical system directories. The module provides unfettered remote command execution and file upload capabilities. Do not run this code on any system you care about; consider it hostile and remove or quarantine it.

ailever

0.2.865

Live on pypi

Blocked by Socket

This script is a high-risk launcher: it unconditionally fetches Python code from a hardcoded remote repo and executes it locally via a shell-invoked Python process while passing unsanitized user inputs directly into the shell command. Even if the upstream repository is currently benign, the pattern enables trivial supply-chain compromise and shell injection. Mitigations: remove runtime download-and-exec; if fetching is necessary, pin and verify cryptographic hashes or signatures, validate content, avoid os.system (use subprocess with argument lists or importlib), sanitize inputs, and add error handling and logging. Treat this module as unsafe in security-sensitive environments until hardened.

idp-core-upperfunnel

0.999.999

Removed from npm

Blocked by Socket

The code contains malware that exfiltrates sensitive system information to pingb[.]in using both DNS queries via ping commands and direct HTTP requests. The following data is collected without user consent: - System hostname - Username - Current working directory - Network interface addresses The exfiltrated data is base64 encoded and tagged with the identifier '158ffb54d9afbc85aacb85f63ddc'. The malware is cross-platform compatible, using different ping command parameters for Windows (-n 1) versus other operating systems (-c 1).

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

feather-provider-filter

1.0.1

by saadnasirpentester

Live on npm

Blocked by Socket

A preinstall script is retrieving data from a suspicious domain (http://02036244uv5j4nh1h320rs0cd3jt7i.oastify[.]com/poc.txt). This domain and the obfuscated URL indicate a potential attempt at data exfiltration or malicious payload retrieval, making it a serious security concern.

cgdatabase.core

1.3.23

by CgdataBase.Core

Live on nuget

Blocked by Socket

The fragment exhibits multiple risk indicators common in malicious or poorly secured code: startup persistence via Windows Run registry keys, insecure cryptography (ECB with MD5-derived key), and deserialization risk via BinaryFormatter. While no overt payload is observed, these patterns imply moderate-to-high security risk for distribution without strict usage controls, input validation, and modern cryptographic hygiene. Recommended mitigations include removing or restricting auto-start persistence, replacing ECB/MD5 cryptography with authenticated encryption (AES-GCM with proper key management and IVs), eliminating BinaryFormatter usage in favor of safe serializers, and adding rigorous input validation and integrity checks around untrusted data flows.

github.com/bishopfox/sliver

v1.5.40-0.20240215234119-dc93d054a9e6

Live on go

Blocked by Socket

This source file is an HTTP client component of the Sliver implant C2 framework. It establishes encrypted sessions, polls for commands, and sends results to a remote server. In the context of general software supply chains or public packages, this is malicious/surveillance/backdoor functionality: it enables remote control and data exchange with an operator-controlled server. The code uses some weak randomness (math/rand) for nonce/header obfuscation and reads configuration including proxy credentials from URL query parameters. No direct local destructive actions are present in this file, but the networked C2 behavior is a high-security risk. Use of this module in production or inclusion in benign projects is strongly discouraged unless for authorized security testing.

envoy1

1.0.8

by testsetes

Removed from npm

Blocked by Socket

This module performs stealthy local network reconnaissance (probing TCP port 445 across the host's /24 subnet) and exfiltrates the host's IP and responsive hosts to a hardcoded external HTTP endpoint without user consent. In most contexts (especially as a dependency) this constitutes malicious or highly suspicious behavior. Recommendation: treat as high-risk — do not run or install in production; remove or sandbox; investigate provenance and any related network traffic; block outbound requests to the hardcoded domain and review systems where this ran.

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

serietvapi-bot

1.1.1.7

Live on pypi

Blocked by Socket

The code implements a downloader that receives remote metadata and automates downloads and status reporting. It exhibits several high‑risk behaviors: credentials (self.bot.id and self.bot.pw) are leaked to a hardcoded third‑party endpoint via URL query parameters; filenames from the network are used directly as filesystem templates (path traversal/overwrite risk); exec() is used to create and start thread objects from remote data (code injection risk); and TLS verification is disabled for downloads. Collectively these represent a meaningful supply‑chain/data‑exfiltration risk. Recommendation: do not run this module with real credentials or on systems with sensitive data. Replace exec usage with safe thread construction, validate/sanitize filenames, stop sending secrets in URLs (use authenticated TLS requests with secrets in headers or POST bodies), enable certificate verification, and avoid calling exit() inside threads.

cronjob-scanner

0.1

Live on pypi

Blocked by Socket

This code reads the current user's crontab and posts it to a hardcoded external HTTP endpoint, constituting direct data exfiltration of potentially sensitive system configuration. The use of plain HTTP, lack of consent/configuration, and unconditional behavior make this highly suspicious and likely malicious. Do not run or include this code in trusted environments without strong justification, provenance, and remediation (remove exfiltration, require explicit opt-in, use HTTPS, and add error/consent handling).

mtmai

0.3.856

Live on pypi

Blocked by Socket

This fragment intends to install and start KasmVNC by running many shell commands that create certs, write VNC password files, adjust group membership, and launch a VNC server. The primary security issues are unsafe shell interpolation (command injection risk), programmatic persistence of a possibly predictable password, execution with sudo based on unvalidated env vars, starting a VNC server exposed on 0.0.0.0 with disabled/basic auth, and multiple unsafe filesystem operations performed via shell. There is no clear evidence of obfuscated or direct exfiltration malware, but the behavior can provide an unauthorized remote access vector (backdoor-like) if used maliciously. Do not run this code without fixing shell usage, validating inputs, using secure randomly generated passwords, enforcing proper file permissions, and not disabling authentication.

signals-embed-pro

1.2.0

by tagerage

Live on npm

Blocked by Socket

This script is high-risk and exhibits multiple behaviors commonly used in malicious or abusive web integrations: exfiltration of environment data to an external proxy, execution of arbitrary remote JavaScript via eval()/base64 decoding, DOM/document replacement, injection and execution of fetched scripts, and anti-debugging measures. Even if intended for legitimate ad/response handling, the design gives the remote proxy full control of the user page and can be used for phishing, drive-by code execution, tracking, or loader behavior for further payloads. I recommend not using this code as-is; if legitimate functionality is required, replace the remote proxy with a trusted endpoint, remove eval()/document.write/anti-debugging, and implement strict validation and Content Security Policy controls.

bagbag

0.58.13

Removed from pypi

Blocked by Socket

The code presents significant privacy risks and potential for misuse in generating fake identities, which is indicative of malicious intent. The scraping of sensitive information from a third-party website without clear user consent is highly suspicious.

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

bapy

0.2.222

Live on pypi

Blocked by Socket

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

@abb-americas/image-scaler

1.0.0

by bountytesting

Removed from npm

Blocked by Socket

This code poses a significant security risk due to its privacy violations. It should not be used without a clear understanding of what data is being sent and for what purpose. The lack of transparency and consent for the data collection raises significant privacy concerns and could potentially be used to steal sensitive information.

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

@helloflex/widget-next-sdk

11.11.13

by net369

Live on npm

Blocked by Socket

High risk. The preinstall hook executes local code (index.js) during npm install, and the package depends on a same-named package version — a combination frequently used in malicious supply-chain packages. You should not run npm install for this package without a full code review of index.js and the exact package version that would be installed from the registry. Treat this as potentially malicious until proven otherwise.

9router

0.3.72

by decolua

Live on npm

Blocked by Socket

This fragment contains clear backdoor/control-plane behavior: a server-exposed API endpoint (/api/9remote/start) starts a local executable named "9remote" via child_process.spawn using environment variables and a derived on-disk path, suppresses child I/O, and includes explicit lifecycle termination logic. This is highly consistent with supply-chain malware/backdoor functionality rather than legitimate application behavior.

js-cotype

4.1.4

by hendriksenelise727

Live on npm

Blocked by Socket

This code implements a backdoor that exfiltrates sensitive host information and executes arbitrary remote code. It collects all environment variables (process.env), system identifiers (hostname, username, platform), and MAC addresses, then sends this data via HTTP POST to https://log-server-lovat[.]vercel[.]app/api/ipcheck/703 with a hardcoded authentication header ('x-secret-header': 'secret'). The response from this server is directly executed via eval(r.data), enabling complete remote control over the infected system. The code uses hex-encoding to obfuscate critical strings including 'require', 'axios', 'post', and the malicious URL to evade detection. Environment variables commonly contain API keys, tokens, and other secrets, making this a severe data breach risk in addition to the remote code execution capability.

pinokiod

7.1.19

by cocktailpeanut

Live on npm

Blocked by Socket

The SweetAlert2 library code is mostly benign and serves as a UI modal dialog tool. However, it contains a suspicious and potentially malicious snippet that targets Russian users on certain domains to play an unsolicited audio prank, disabling pointer events and potentially disrupting user interaction. This behavior is unexpected and should be considered a moderate security risk and potential malware. The rest of the code shows no signs of malicious intent. The provided reports were invalid and unhelpful. Users should be cautious about this version of the library due to the embedded prank behavior.

github.com/sourcegraph/sourcegraph

v0.0.0-20210115064910-69d7b7197d6c

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.

rdservices

3.0.0

by z3omm

Removed from npm

Blocked by Socket

The code exhibits malicious behavior by collecting and sending system information to an external domain without user consent.

Live on npm for 14 days, 15 hours and 28 minutes before removal. Socket users were protected even while the package was live.

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