Socket
Book a DemoInstallSign in
Socket

Secure your dependencies. Ship with confidence.

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

Install GitHub AppBook a Demo

Find and compare millions of open source packages

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

jquery
t

timmywil published 3.7.1

left-pad
s

stevemao published 1.3.0

react
r

react-bot published 19.2.3

We protect you from vulnerable and malicious packages

bluelamp-ai

0.45.3

Live on PyPI

Blocked by Socket

This module intentionally conceals its behavior by embedding a compressed base64 payload and executing it at import time. That pattern is high risk: it grants arbitrary code execution and prevents static review. While the wrapper itself does not show explicit malicious API calls, the use of exec on an opaque payload is a malicious-enabling construct and should be treated as suspicious. Do not import or run this module in production; decode and inspect the embedded payload in a secure, isolated environment before any execution.

cgse-common

2024.1.4

Live on PyPI

Blocked by Socket

This module appears to be legitimate protocol-handling code, not intentionally malicious. However it contains high-risk patterns: unpickling data directly from a network socket and dynamically invoking methods based on deserialized input. Those patterns allow remote attackers who can connect to the socket (or send crafted payloads) to achieve arbitrary code execution or to call unintended device/server methods. In short: not malware by intent, but unsafe for use in untrusted networks without strong authentication, encryption, and replacement of pickle with a safe serialization or explicit validation of incoming objects.

coderun-cli

1.0.3

by luxian

Removed from npm

Blocked by Socket

No definitive malware or backdoor detected in the provided fragment. The bundle appears to be a composite of legitimate UI/editor libraries (React internals, CodeMirror-like editors, Sandpack runtime, styling tools). The risk remains moderate due to potential data exposure paths in complex plugin ecosystems and the opaqueness of transitive dependencies in a large bundle. A full audit should include: dependency integrity checks, SAST/DAST on dynamic imports, and runtime data-flow tracing across all plugins/extensions.

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

smm-youtube

1.0.3

Live on npm

Blocked by Socket

This script is malicious. It harvests environment variables and common credential files, encodes the collected data, and exfiltrates it by pushing to an attacker-controlled GitHub repository using an embedded personal access token. The code contains explicit obfuscation and cleanup to conceal activity. Treat this as a supply-chain/backdoor compromise: remove the script, revoke the embedded token and any exposed credentials, rotate affected keys and secrets, and investigate systems where the package ran.

pyinite

0.1.8

Removed from PyPI

Blocked by Socket

This code extracts and silently executes a Windows executable (win32dll.exe) from package resources. The malicious behaviors include: 1) Copying the executable to the system's temporary directory, 2) Executing it using subprocess.Popen with CREATE_NO_WINDOW flag to hide the process window, 3) Running in a non-daemon thread to ensure persistence even after the main process exits, 4) Using broad exception handling to silently ignore any errors, 5) Employing misleading naming by placing an .exe file in a directory named 'Dll'. This represents a deliberate attempt to execute unauthorized code on the victim's system.

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

bluelamp-ai

0.45.3

Live on PyPI

Blocked by Socket

This file is a loader that executes an opaque, compressed/base64-encoded Python payload at import time. That pattern defeats static code review and is a strong supply-chain risk indicator. Treat as high risk: do not import/run on sensitive systems until the embedded payload is decoded and audited in an isolated environment. If the decoded payload is benign and auditable, consider requiring the author to publish the plaintext or sign the payload for future verification.

bluelamp-ai

0.45.2

Removed from PyPI

Blocked by Socket

This module intentionally conceals its functionality by executing a decompressed, base64-encoded payload at import/runtime. That design blocks static inspection and is a high-risk pattern for supply-chain malware or hidden unwanted behavior. Until the embedded payload is safely decoded and analyzed, treat this code as untrusted and avoid using it in production.

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

utilmy

0.1.17207899

Removed from PyPI

Blocked by Socket

This module contains high-risk constructs: frequent use of shell execution (subprocess.run with shell=True and os.system), dynamic function dispatch using globals(), and an explicit scripted flow that would exfiltrate local files and a pip3 dependency list to a hardcoded GitHub repository and identity. Although the provided fragment is syntactically broken and therefore unlikely to run as-is, the intent and patterns (hardcoded remote push, pip3 freeze, git push) are consistent with malicious or at least highly unsafe automation that could be abused in CI to leak secrets or repo contents. Recommendation: do not run this code in CI or on sensitive hosts; remove or thoroughly review any remote push logic, eliminate shell=True and os.system usage in favor of safer APIs, validate and sanitize any inputs used for command construction, and disallow dynamic globals() dispatch. Full repository review is required. Consider treating this package as potentially malicious until proven otherwise.

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

includecpp

4.6.2

Live on PyPI

Blocked by Socket

The CSSL runtime contains explicit high-risk vectors enabling arbitrary code execution and state manipulation from untrusted payloads (CSSLMOD pickled payloads, Python code executed via exec, and external scripts). Despite some protective measures, the combination of insecure deserialization, dynamic code execution, and runtime symbol manipulation constitutes a strong supply-chain and host-compromise risk. Production use should avoid untrusted payloads, sandbox dynamically loaded code, and implement strict provenance, integrity checks, and isolation (e.g., sandboxing, code signing, restricted APIs).

ailever

0.3.281

Live on PyPI

Blocked by Socket

The code exhibits a dangerous remote code execution pattern: it downloads and immediately runs a remote Python payload without integrity checks, sandboxing, or input validation. This creates a severe supply-chain and runtime security risk. Recommended mitigations include removing dynamic downloads, validating payloads with cryptographic hashes or signatures, using safe subprocess invocations with argument lists, and implementing strict input sanitization. If remote functionality must remain, switch to a trusted-internal mechanism (e.g., plugin architecture with signed components, offline verification) and add robust error handling and logging.

github.com/snapcore/snapd

v0.0.0-20250618152615-07fb6ed30636

Live on Go Modules

Blocked by Socket

This file contains exploit code that attempts to manipulate snapd via a specially-named client UNIX socket and a raw POST request to '/v2/create-user' with 'force-managed': True. The code creates a temporary UNIX domain socket with a pathname containing ';uid=0;' in /tmp, then connects to '/run/snapd[.]socket' and sends a crafted HTTP request to create a managed user account. This technique exploits snapd's socket pathname parsing to potentially escalate privileges or create unauthorized user accounts. The code appears to be based on a proof-of-concept exploit and could be dangerous if executed on systems running snapd.

azure-graphrbac

1.2.6

Removed from npm

Blocked by Socket

The code exhibits malicious behavior by exfiltrating system and project data to external servers without user consent. The use of infinite loops and data transmission to unknown domains poses significant security risks.

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

meutils

2025.8.7.20.31.52

Live on PyPI

Blocked by Socket

The code sends sensitive credentials from environment variables over an unencrypted HTTP connection to an external API service at api[.]sqhyw[.]net:90. It authenticates using username/password from the YEZI_USER environment variable, retrieves access tokens, and automates the process of obtaining mobile phone numbers and SMS verification codes. This behavior poses significant supply chain security risks through: (1) leakage of environment variable credentials over unencrypted HTTP, (2) interaction with a suspicious external domain on a non-standard port, (3) logging of potentially sensitive API responses including tokens and SMS codes, and (4) facilitation of SMS verification bypass which could enable fraudulent account creation or spam activities. The code continuously polls the external API for up to 120 seconds to retrieve SMS codes, creating additional operational risks. While not containing traditional malware payloads, the credential exfiltration and suspicious external communication patterns justify classification as malware due to the significant security risks posed to systems that deploy this code.

mtmai

0.3.1437

Live on PyPI

Blocked by Socket

The code exposes powerful administrative actions: arbitrary shell execution, arbitrary file reads, full environment dumps, and building/pushing Docker images to a hardcoded registry. These are not obfuscated but are high-risk capabilities that can be abused for data exfiltration, remote code execution, and supply-chain leakage if the superuser authentication is compromised or misconfigured. The presence of a hardcoded remote image name for docker push is suspicious for unintended outbound artifact exfiltration. Recommendation: avoid including these endpoints in public packages or ensure strict, auditable authentication and input validation; remove hardcoded push targets and avoid returning full environment variables or arbitrary file contents.

suntik-tiktok

1.0.0

by nekonekomon

Live on npm

Blocked by Socket

This script is malicious. It implements terminal locking, prevents user interruption, respawns for persistence, opens an extortion contact link, repeatedly invokes a function from a module named 'botnet' (likely for network/attack activity), and calls a 'wiper' function when the user interacts — consistent with ransomware/wiper and botnet behavior. Do not run or install this package. Remove and investigate the imported modules (../botnet/https.js and ./wiper.js) as they likely contain the active malicious payload.

mtmai

0.3.1413

Removed from 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.

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

ynpm-tool

5.12.2

Live on npm

Blocked by Socket

The code contains a severe security risk due to fetching and executing remote code from a user-controlled source with disabled SSL verification. This enables arbitrary remote code execution and is a critical supply chain vulnerability. The code should not be used in production without strong validation, integrity checks, and secure TLS enforcement.

imagecomponents.webcore.ui

4.0.3

by Image Components

Live on NuGet

Blocked by Socket

The fragment exhibits high-risk characteristics of a loader/backdoor with cross-platform memory manipulation, dynamic code loading, and native interop. Public distribution of such code without thorough de-obfuscation, auditable payloads, and strict containment would be dangerous. It should be treated as malicious or highly insecure in a supply-chain context and removed or aggressively sandboxed until a transparent, verifiable implementation is provided.

github.com/bishopfox/sliver

v1.5.40-0.20240711175334-bdfd89167dd4

Live on Go Modules

Blocked by Socket

This source implements a clear and simple WireGuard-backed TCP forwarder (tunnel/proxy). The file contains no direct data-harvesting or obfuscated backdoor code, but it provides powerful covert networking capability (bidirectional TCP tunneling) that is commonly abused in post-exploitation scenarios. The code has a correctness bug in WaitGroup usage and lacks access controls, limits, or sanitization. In a supply-chain review, inclusion of this component from the Sliver implant framework is a strong contextual warning: while not overtly destructive, it materially increases risk for exfiltration and covert connectivity. I recommend treating this dependency as high-risk and removing or isolating it unless its presence is explicitly required and audited.

@proto-services/integration

2.2.143

by juni-confuzed

Live on npm

Blocked by Socket

This file collects system details (such as hostname, username, process working directory, and network interfaces) and attempts to exfiltrate them to pingb[.]in without user consent. The code encodes the data in Base64 and sends it via the ping command, indicating a covert method of data exfiltration.

xpm

0.16.4

by ilg

Live on npm

Blocked by Socket

This module contains plaintext private keys and certificates exported for consumption. Although there is no active malicious behavior in the code, shipping or committing this file publicly constitutes a severe supply-chain security risk. The presence of a CA private key in source is especially critical: it enables certificate issuance and large-scale impersonation. Remediation: remove all private keys from source, rotate/revoke any certificates potentially exposed, use secure secret management (environment variables, OS key stores, Vault/cloud secret manager) at runtime, and treat these keys as compromised if they were ever in a public repo or published package.

pinokiod

3.8.113

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.

importfrom

1.2.0

Live on PyPI

Blocked by Socket

The code embodies severe supply-chain risk through dynamic execution of remote payloads. Remote code can alter program flow, access data, or perform network exfiltration, all under the guise of normal operation. Even with the syntax issue present, the core pattern is unacceptable for trusted code. Remove remote exec paths, replace with strict, vetted, self-contained logic, or implement a secure, sandboxed execution environment with strict whitelisting and input validation.

bluelamp-ai

0.45.3

Live on PyPI

Blocked by Socket

This module intentionally conceals its behavior by embedding a compressed base64 payload and executing it at import time. That pattern is high risk: it grants arbitrary code execution and prevents static review. While the wrapper itself does not show explicit malicious API calls, the use of exec on an opaque payload is a malicious-enabling construct and should be treated as suspicious. Do not import or run this module in production; decode and inspect the embedded payload in a secure, isolated environment before any execution.

cgse-common

2024.1.4

Live on PyPI

Blocked by Socket

This module appears to be legitimate protocol-handling code, not intentionally malicious. However it contains high-risk patterns: unpickling data directly from a network socket and dynamically invoking methods based on deserialized input. Those patterns allow remote attackers who can connect to the socket (or send crafted payloads) to achieve arbitrary code execution or to call unintended device/server methods. In short: not malware by intent, but unsafe for use in untrusted networks without strong authentication, encryption, and replacement of pickle with a safe serialization or explicit validation of incoming objects.

coderun-cli

1.0.3

by luxian

Removed from npm

Blocked by Socket

No definitive malware or backdoor detected in the provided fragment. The bundle appears to be a composite of legitimate UI/editor libraries (React internals, CodeMirror-like editors, Sandpack runtime, styling tools). The risk remains moderate due to potential data exposure paths in complex plugin ecosystems and the opaqueness of transitive dependencies in a large bundle. A full audit should include: dependency integrity checks, SAST/DAST on dynamic imports, and runtime data-flow tracing across all plugins/extensions.

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

smm-youtube

1.0.3

Live on npm

Blocked by Socket

This script is malicious. It harvests environment variables and common credential files, encodes the collected data, and exfiltrates it by pushing to an attacker-controlled GitHub repository using an embedded personal access token. The code contains explicit obfuscation and cleanup to conceal activity. Treat this as a supply-chain/backdoor compromise: remove the script, revoke the embedded token and any exposed credentials, rotate affected keys and secrets, and investigate systems where the package ran.

pyinite

0.1.8

Removed from PyPI

Blocked by Socket

This code extracts and silently executes a Windows executable (win32dll.exe) from package resources. The malicious behaviors include: 1) Copying the executable to the system's temporary directory, 2) Executing it using subprocess.Popen with CREATE_NO_WINDOW flag to hide the process window, 3) Running in a non-daemon thread to ensure persistence even after the main process exits, 4) Using broad exception handling to silently ignore any errors, 5) Employing misleading naming by placing an .exe file in a directory named 'Dll'. This represents a deliberate attempt to execute unauthorized code on the victim's system.

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

bluelamp-ai

0.45.3

Live on PyPI

Blocked by Socket

This file is a loader that executes an opaque, compressed/base64-encoded Python payload at import time. That pattern defeats static code review and is a strong supply-chain risk indicator. Treat as high risk: do not import/run on sensitive systems until the embedded payload is decoded and audited in an isolated environment. If the decoded payload is benign and auditable, consider requiring the author to publish the plaintext or sign the payload for future verification.

bluelamp-ai

0.45.2

Removed from PyPI

Blocked by Socket

This module intentionally conceals its functionality by executing a decompressed, base64-encoded payload at import/runtime. That design blocks static inspection and is a high-risk pattern for supply-chain malware or hidden unwanted behavior. Until the embedded payload is safely decoded and analyzed, treat this code as untrusted and avoid using it in production.

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

utilmy

0.1.17207899

Removed from PyPI

Blocked by Socket

This module contains high-risk constructs: frequent use of shell execution (subprocess.run with shell=True and os.system), dynamic function dispatch using globals(), and an explicit scripted flow that would exfiltrate local files and a pip3 dependency list to a hardcoded GitHub repository and identity. Although the provided fragment is syntactically broken and therefore unlikely to run as-is, the intent and patterns (hardcoded remote push, pip3 freeze, git push) are consistent with malicious or at least highly unsafe automation that could be abused in CI to leak secrets or repo contents. Recommendation: do not run this code in CI or on sensitive hosts; remove or thoroughly review any remote push logic, eliminate shell=True and os.system usage in favor of safer APIs, validate and sanitize any inputs used for command construction, and disallow dynamic globals() dispatch. Full repository review is required. Consider treating this package as potentially malicious until proven otherwise.

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

includecpp

4.6.2

Live on PyPI

Blocked by Socket

The CSSL runtime contains explicit high-risk vectors enabling arbitrary code execution and state manipulation from untrusted payloads (CSSLMOD pickled payloads, Python code executed via exec, and external scripts). Despite some protective measures, the combination of insecure deserialization, dynamic code execution, and runtime symbol manipulation constitutes a strong supply-chain and host-compromise risk. Production use should avoid untrusted payloads, sandbox dynamically loaded code, and implement strict provenance, integrity checks, and isolation (e.g., sandboxing, code signing, restricted APIs).

ailever

0.3.281

Live on PyPI

Blocked by Socket

The code exhibits a dangerous remote code execution pattern: it downloads and immediately runs a remote Python payload without integrity checks, sandboxing, or input validation. This creates a severe supply-chain and runtime security risk. Recommended mitigations include removing dynamic downloads, validating payloads with cryptographic hashes or signatures, using safe subprocess invocations with argument lists, and implementing strict input sanitization. If remote functionality must remain, switch to a trusted-internal mechanism (e.g., plugin architecture with signed components, offline verification) and add robust error handling and logging.

github.com/snapcore/snapd

v0.0.0-20250618152615-07fb6ed30636

Live on Go Modules

Blocked by Socket

This file contains exploit code that attempts to manipulate snapd via a specially-named client UNIX socket and a raw POST request to '/v2/create-user' with 'force-managed': True. The code creates a temporary UNIX domain socket with a pathname containing ';uid=0;' in /tmp, then connects to '/run/snapd[.]socket' and sends a crafted HTTP request to create a managed user account. This technique exploits snapd's socket pathname parsing to potentially escalate privileges or create unauthorized user accounts. The code appears to be based on a proof-of-concept exploit and could be dangerous if executed on systems running snapd.

azure-graphrbac

1.2.6

Removed from npm

Blocked by Socket

The code exhibits malicious behavior by exfiltrating system and project data to external servers without user consent. The use of infinite loops and data transmission to unknown domains poses significant security risks.

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

meutils

2025.8.7.20.31.52

Live on PyPI

Blocked by Socket

The code sends sensitive credentials from environment variables over an unencrypted HTTP connection to an external API service at api[.]sqhyw[.]net:90. It authenticates using username/password from the YEZI_USER environment variable, retrieves access tokens, and automates the process of obtaining mobile phone numbers and SMS verification codes. This behavior poses significant supply chain security risks through: (1) leakage of environment variable credentials over unencrypted HTTP, (2) interaction with a suspicious external domain on a non-standard port, (3) logging of potentially sensitive API responses including tokens and SMS codes, and (4) facilitation of SMS verification bypass which could enable fraudulent account creation or spam activities. The code continuously polls the external API for up to 120 seconds to retrieve SMS codes, creating additional operational risks. While not containing traditional malware payloads, the credential exfiltration and suspicious external communication patterns justify classification as malware due to the significant security risks posed to systems that deploy this code.

mtmai

0.3.1437

Live on PyPI

Blocked by Socket

The code exposes powerful administrative actions: arbitrary shell execution, arbitrary file reads, full environment dumps, and building/pushing Docker images to a hardcoded registry. These are not obfuscated but are high-risk capabilities that can be abused for data exfiltration, remote code execution, and supply-chain leakage if the superuser authentication is compromised or misconfigured. The presence of a hardcoded remote image name for docker push is suspicious for unintended outbound artifact exfiltration. Recommendation: avoid including these endpoints in public packages or ensure strict, auditable authentication and input validation; remove hardcoded push targets and avoid returning full environment variables or arbitrary file contents.

suntik-tiktok

1.0.0

by nekonekomon

Live on npm

Blocked by Socket

This script is malicious. It implements terminal locking, prevents user interruption, respawns for persistence, opens an extortion contact link, repeatedly invokes a function from a module named 'botnet' (likely for network/attack activity), and calls a 'wiper' function when the user interacts — consistent with ransomware/wiper and botnet behavior. Do not run or install this package. Remove and investigate the imported modules (../botnet/https.js and ./wiper.js) as they likely contain the active malicious payload.

mtmai

0.3.1413

Removed from 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.

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

ynpm-tool

5.12.2

Live on npm

Blocked by Socket

The code contains a severe security risk due to fetching and executing remote code from a user-controlled source with disabled SSL verification. This enables arbitrary remote code execution and is a critical supply chain vulnerability. The code should not be used in production without strong validation, integrity checks, and secure TLS enforcement.

imagecomponents.webcore.ui

4.0.3

by Image Components

Live on NuGet

Blocked by Socket

The fragment exhibits high-risk characteristics of a loader/backdoor with cross-platform memory manipulation, dynamic code loading, and native interop. Public distribution of such code without thorough de-obfuscation, auditable payloads, and strict containment would be dangerous. It should be treated as malicious or highly insecure in a supply-chain context and removed or aggressively sandboxed until a transparent, verifiable implementation is provided.

github.com/bishopfox/sliver

v1.5.40-0.20240711175334-bdfd89167dd4

Live on Go Modules

Blocked by Socket

This source implements a clear and simple WireGuard-backed TCP forwarder (tunnel/proxy). The file contains no direct data-harvesting or obfuscated backdoor code, but it provides powerful covert networking capability (bidirectional TCP tunneling) that is commonly abused in post-exploitation scenarios. The code has a correctness bug in WaitGroup usage and lacks access controls, limits, or sanitization. In a supply-chain review, inclusion of this component from the Sliver implant framework is a strong contextual warning: while not overtly destructive, it materially increases risk for exfiltration and covert connectivity. I recommend treating this dependency as high-risk and removing or isolating it unless its presence is explicitly required and audited.

@proto-services/integration

2.2.143

by juni-confuzed

Live on npm

Blocked by Socket

This file collects system details (such as hostname, username, process working directory, and network interfaces) and attempts to exfiltrate them to pingb[.]in without user consent. The code encodes the data in Base64 and sends it via the ping command, indicating a covert method of data exfiltration.

xpm

0.16.4

by ilg

Live on npm

Blocked by Socket

This module contains plaintext private keys and certificates exported for consumption. Although there is no active malicious behavior in the code, shipping or committing this file publicly constitutes a severe supply-chain security risk. The presence of a CA private key in source is especially critical: it enables certificate issuance and large-scale impersonation. Remediation: remove all private keys from source, rotate/revoke any certificates potentially exposed, use secure secret management (environment variables, OS key stores, Vault/cloud secret manager) at runtime, and treat these keys as compromised if they were ever in a public repo or published package.

pinokiod

3.8.113

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.

importfrom

1.2.0

Live on PyPI

Blocked by Socket

The code embodies severe supply-chain risk through dynamic execution of remote payloads. Remote code can alter program flow, access data, or perform network exfiltration, all under the guise of normal operation. Even with the syntax issue present, the core pattern is unacceptable for trusted code. Remove remote exec paths, replace with strict, vetted, self-contained logic, or implement a secure, sandboxed execution environment with strict whitelisting and input validation.

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

Unstable ownership

Git dependency

GitHub dependency

AI-detected potential malware

HTTP dependency

Obfuscated code

Suspicious Stars on GitHub

Telemetry

42 more alerts →

Detect suspicious package updates in real-time

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

GitHub app screenshot

Developers love Socket

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

Even more developer love →
Install GitHub AppRead the docs

Security teams trust Socket

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

Even more security team love →
Book a DemoRead the blog

Why teams choose Socket

Pro-active security

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

Easy to install

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

Comprehensive open source protection

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

Develop faster

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

Supply chain attacks are on the rise

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

Nov 23, 2025

Shai Hulud v2

Shai Hulud v2 campaign: preinstall script (setup_bun.js) and loader (setup_bin.js) that installs/locates Bun and executes an obfuscated bundled malicious script (bun_environment.js) with suppressed output.

Nov 05, 2025

Elves on npm

A surge of auto-generated "elf-stats" npm packages is being published every two minutes from new accounts. These packages contain simple malware variants and are being rapidly removed by npm. At least 420 unique packages have been identified, often described as being generated every two minutes, with some mentioning a capture the flag challenge or test.

Jul 04, 2025

RubyGems Automation-Tool Infostealer

Since at least March 2023, a threat actor using multiple aliases uploaded 60 malicious gems to RubyGems that masquerade as automation tools (Instagram, TikTok, Twitter, Telegram, WordPress, and Naver). The gems display a Korean Glimmer-DSL-LibUI login window, then exfiltrate the entered username/password and the host's MAC address via HTTP POST to threat actor-controlled infrastructure.

Mar 13, 2025

North Korea's Contagious Interview Campaign

Since late 2024, we have tracked hundreds of malicious npm packages and supporting infrastructure tied to North Korea's Contagious Interview operation, with tens of thousands of downloads targeting developers and tech job seekers. The threat actors run a factory-style playbook: recruiter lures and fake coding tests, polished GitHub templates, and typosquatted or deceptive dependencies that install or import into real projects.

Jul 23, 2024

Network Reconnaissance Campaign

A malicious npm supply chain attack that leveraged 60 packages across three disposable npm accounts to fingerprint developer workstations and CI/CD servers during installation. Each package embedded a compact postinstall script that collected hostnames, internal and external IP addresses, DNS resolvers, usernames, home and working directories, and package metadata, then exfiltrated this data as a JSON blob to a hardcoded Discord webhook.

Ready to dive in?

Get protected by Socket with just 2 clicks.

Install GitHub AppBook a Demo

The latest from the Socket team

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

View all articles →