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

idev-viewer

1.0.4

by skydbdb

Live on npm

Blocked by Socket

The provided source code is a highly obfuscated and fragmented mess, with no discernible legitimate purpose. The associated reports are meaningless placeholders. The code exhibits strong indicators of being malicious malware due to its extreme obfuscation and the presence of numerous suspicious patterns. It is impossible to perform a meaningful security analysis or identify specific vulnerabilities from this input.

@biovia/amd-loader

1.0.1

by supr4s

Live on npm

Blocked by Socket

This script is designed to exfiltrate the contents of the '/etc/hostname' file to a remote server, posing a significant security risk and indicating malicious behavior.

glv.shared.common

1.3.2510.2716

by Diego Garcia

Live on NuGet

Blocked by Socket

Overall, the analyzed code exhibits strong indicators of covert behavior and supply-chain risk: remote content fetching that can influence runtime, hidden persistence via a hashed user-directory, cryptographic operations tied to runtime data, and disruptive kill-switch behaviors on certain conditions. The prevalence of obfuscated and generated constructs further complicates auditing and increases risk. Recommendation: treat as high-risk for public inclusion; require source disclosure, disable or sandbox load-time remote activities, sign/verify, and consider removing or isolating this component from open-source distributions unless a thorough security review confirms safety and intent.

solana-data

0.0.1

Removed from PyPI

Blocked by Socket

The library contains a backdoor in the register_node function that exfiltrates source code to an attacker-controlled server. When the function is called, it inspects the Python call stack, reads the content of the caller's Python file, and sends both the filename and its content to http://84[.]54[.]44[.]100:3000/nodes/register. The malicious code includes evasion techniques, such as avoiding execution when 'fuzzer' is detected in the file content. This is a supply chain attack designed to steal source code from applications using this library.

Live on PyPI for 1 day, 1 hour and 24 minutes before removal. Socket users were protected even while the package was live.

ailever

0.3.94

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).

helper-module-transforms

99.10.9

by 2dq6iimb

Removed from npm

Blocked by Socket

The code is designed to collect and send sensitive information to a remote server without the user's knowledge or consent. It poses a high risk of data exfiltration and should be reviewed thoroughly.

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

villager

0.1.dev24

Live on PyPI

Blocked by Socket

No explicit malware (no remote shell, no obfuscation, no code injection). However, there is a significant supply-chain/privacy/credential risk: a hardcoded proxy URL with embedded credentials is set and used (via DI) to route requests to an external host, and the script actively accesses local cameras and logs system information. This could enable data leakage or misuse if the proxy host is malicious. Recommend removing hardcoded credentials, avoid enabling camera checks by default, add request timeouts, and avoid logging sensitive system data.

mtmai

0.3.1183

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.

kobi--front-helpers

1.16.0

by liodeus2

Removed from npm

Blocked by Socket

The code snippet is concerning as it involves sending potentially sensitive system information to an external endpoint without user consent. This behavior is indicative of data exfiltration and poses a significant security risk.

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

ajpack

1.9.0

Live on PyPI

Blocked by Socket

This code contains clear data‑harvesting functionality: webcam capture, screenshots, and extraction of Windows Wi‑Fi passwords. It also queries an external IP/geolocation service. While the fragment does not itself upload the gathered data to a remote attacker, it provides all necessary capabilities to collect highly sensitive information and is therefore a significant privacy and supply‑chain risk. The code appears suspicious and should be treated as potentially malicious or at least high‑risk utility that must not be included in trusted environments without strong review and restrictions. Note: leak_all contains a bug ('return dat') indicating the snippet may be incomplete or poorly maintained.

@nexthink/engage-branding

1.10.0

by nxt-fmiquel

Live on npm

Blocked by Socket

This file collects system environment variables, including the system hostname and network interface details, and transmits them via an HTTPS POST request to a remote server at example[.]com without user consent. Such unauthorized transmission of system details constitutes data exfiltration and represents a significant security risk.

github-badge-bot

1.2.5

Live on npm

Blocked by Socket

This script is a coordinator for credential-exfiltration: it collects Discord tokens and Telegram session data, validates tokens, and exfiltrates them to a Telegram-based receiver. The control-flow patterns (error suppression, throttling, cleanup, background cycles) indicate explicit attempts at stealth and persistence. Treat this package as malicious malware (credential stealer). Do not execute it; remove any instances and investigate systems where it ran for further compromise.

pinokiod

3.8.140

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.

snow-flow

8.27.0

Live on npm

Blocked by Socket

This code is an administrative automation component that deliberately executes arbitrary ServiceNow server-side scripts and manipulates system tables. I found no clear signs of intentionally malicious code (no hardcoded external exfiltration endpoints, no obfuscated payload). However, it exposes powerful sinks: arbitrary script execution, creation of background script records, and storage of script output/trace in sys_properties. The primary security risk is abuse/misconfiguration (e.g., autoConfirm bypass, insufficient RBAC) leading to data theft or destructive changes. Treat this module as high-risk functionality that must be strictly access controlled, audited, and hardened before use.

analysta-index

0.2.52

Live on PyPI

Blocked by Socket

The code contains patches that could weaken SSH security by disabling key verification and has the potential to hide tracks by deleting the .git directory. While there's no clear evidence of malicious intent like data theft or backdoor introduction, the changes do increase the security risk and could potentially be exploited in an attack.

doughnuts

4.24.1

Live on PyPI

Blocked by Socket

This module is an exploit toolkit for attacking FastCGI/PHP: it constructs FastCGI frames that inject PHP code via PHP_ADMIN_VALUE or PHP_VALUE, wraps payloads into gopher:// SSRF URIs, and can patch native extension binaries to embed attacker-supplied commands. These capabilities are designed for remote code execution against PHP/FastCGI and for creating backdoored extensions. Treat this code as malicious/offensive: do not run it against systems you do not own; if found as a dependency it should be considered high risk and removed or investigated immediately.

deluge-oasis-olw842

1.0.0

by afifaljafari112

Removed from npm

Blocked by Socket

The code imports multiple modules with unusual names and calls a non-standard method `functame` on each of them. This method name is consistent across all modules, which is highly suspicious and could indicate malicious behavior. Without more information about what these modules do, it's difficult to make a definitive conclusion. However, the consistent use of a non-standard method and unusual naming conventions raise significant red flags.

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

kasms

1.0.10

by psych0124

Removed from npm

Blocked by Socket

The code takes a base64 encoded string, decodes it, and evaluates it using the 'eval' function. This introduces a significant security risk as it allows arbitrary code execution. The code should be considered dangerous and should not be used.

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

@goldenqueen/bai

1.0.3

by vimamodz

Live on npm

Blocked by Socket

`lotusbail` is a malicious npm package that masquerades as a WhatsApp Web API library by forking legitimate Baileys-based code and preserving working messaging functionality. In addition to normal API behavior, it inserts a wrapper around the WhatsApp WebSocket client so that all traffic passing through the library is duplicated for collection. Reported data theft includes WhatsApp authentication tokens and session keys, full message content (sent/received and historical), contact lists (including phone numbers), and transferred media/files. The package also attempts to establish persistent unauthorized access by hijacking the WhatsApp device-linking (“pairing”) workflow using a hardcoded pairing code, effectively linking an attacker-controlled device to the victim’s account; removing the npm dependency does not automatically remove the linked device. To hinder detection, the exfiltration endpoint is hidden behind multiple obfuscation layers, collected data is encrypted (including a custom RSA implementation), and the code includes anti-debugging traps designed to disrupt analysis.

billpay-mobile

1.0.0

Removed from npm

Blocked by Socket

This code is designed to gather system information and directory contents and send them to a remote server. This behavior is highly suspicious and indicative of data exfiltration. The use of base64 encoding suggests an attempt to obscure the transmitted data, but it is not full obfuscation. The intent appears to be malicious as it collects potentially sensitive information without user consent and sends it to an external domain.

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

ayecue.greybel-vs

2.5.34

Live on Open VSX

Blocked by Socket

The analyzed fragment exhibits high-risk, potentially malicious dual-use capabilities: remote shell provisioning, Metaxploit integration, broad host-control commands, dynamic code/installer generation, and credential handling. In a supply-chain context, this strongly warrants containment, thorough provenance checks, and sanitization or removal of remote-access/exploit-oriented features before distribution. If this is an OpenVSX/Greybel component, treat as a high-alert candidate requiring a full security review and restricted deployment.

github-badge-bot

1.8.0

Live on npm

Blocked by Socket

This module contains high-risk functionality: it programmatically adds Windows Defender exclusions for Node and PowerShell, invokes PowerShell with ExecutionPolicy Bypass, and runs hidden shell commands. These behaviors are consistent with anti-detection and stealthy remote command execution and are dangerous in a supply-chain context unless used by a clearly trusted installer or tooling with explicit user consent and clear documentation. Treat the package as high risk: require provenance review, ensure user-visible prompts and justification for AV exclusion, and restrict or audit any call-sites that supply commands to useAlternativeMethod.

frontify-plugin

17.0.7

by ytr369

Removed from npm

Blocked by Socket

This module does not execute any code or perform any actual operations, but it contains a message that indicates the possibility of a code injection vulnerability. This could be a sign of a malicious actor attempting to exploit a vulnerability in the system.

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

kjit

1.0.2

by mennasmrtech

Live on npm

Blocked by Socket

This module exhibits strong indicators of a malicious supply-chain/backdoor — it hard-codes an external IP and replaces multiple ostensibly local functions with a network call that returns a remote-controlled value. While it does not perform obvious destructive operations locally, it allows remote control of return values across many application code paths and masks network failures by resolving true. Treat as high risk: remove or isolate the package, block the remote IP, and audit consumers for misuse of returned data.

idev-viewer

1.0.4

by skydbdb

Live on npm

Blocked by Socket

The provided source code is a highly obfuscated and fragmented mess, with no discernible legitimate purpose. The associated reports are meaningless placeholders. The code exhibits strong indicators of being malicious malware due to its extreme obfuscation and the presence of numerous suspicious patterns. It is impossible to perform a meaningful security analysis or identify specific vulnerabilities from this input.

@biovia/amd-loader

1.0.1

by supr4s

Live on npm

Blocked by Socket

This script is designed to exfiltrate the contents of the '/etc/hostname' file to a remote server, posing a significant security risk and indicating malicious behavior.

glv.shared.common

1.3.2510.2716

by Diego Garcia

Live on NuGet

Blocked by Socket

Overall, the analyzed code exhibits strong indicators of covert behavior and supply-chain risk: remote content fetching that can influence runtime, hidden persistence via a hashed user-directory, cryptographic operations tied to runtime data, and disruptive kill-switch behaviors on certain conditions. The prevalence of obfuscated and generated constructs further complicates auditing and increases risk. Recommendation: treat as high-risk for public inclusion; require source disclosure, disable or sandbox load-time remote activities, sign/verify, and consider removing or isolating this component from open-source distributions unless a thorough security review confirms safety and intent.

solana-data

0.0.1

Removed from PyPI

Blocked by Socket

The library contains a backdoor in the register_node function that exfiltrates source code to an attacker-controlled server. When the function is called, it inspects the Python call stack, reads the content of the caller's Python file, and sends both the filename and its content to http://84[.]54[.]44[.]100:3000/nodes/register. The malicious code includes evasion techniques, such as avoiding execution when 'fuzzer' is detected in the file content. This is a supply chain attack designed to steal source code from applications using this library.

Live on PyPI for 1 day, 1 hour and 24 minutes before removal. Socket users were protected even while the package was live.

ailever

0.3.94

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).

helper-module-transforms

99.10.9

by 2dq6iimb

Removed from npm

Blocked by Socket

The code is designed to collect and send sensitive information to a remote server without the user's knowledge or consent. It poses a high risk of data exfiltration and should be reviewed thoroughly.

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

villager

0.1.dev24

Live on PyPI

Blocked by Socket

No explicit malware (no remote shell, no obfuscation, no code injection). However, there is a significant supply-chain/privacy/credential risk: a hardcoded proxy URL with embedded credentials is set and used (via DI) to route requests to an external host, and the script actively accesses local cameras and logs system information. This could enable data leakage or misuse if the proxy host is malicious. Recommend removing hardcoded credentials, avoid enabling camera checks by default, add request timeouts, and avoid logging sensitive system data.

mtmai

0.3.1183

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.

kobi--front-helpers

1.16.0

by liodeus2

Removed from npm

Blocked by Socket

The code snippet is concerning as it involves sending potentially sensitive system information to an external endpoint without user consent. This behavior is indicative of data exfiltration and poses a significant security risk.

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

ajpack

1.9.0

Live on PyPI

Blocked by Socket

This code contains clear data‑harvesting functionality: webcam capture, screenshots, and extraction of Windows Wi‑Fi passwords. It also queries an external IP/geolocation service. While the fragment does not itself upload the gathered data to a remote attacker, it provides all necessary capabilities to collect highly sensitive information and is therefore a significant privacy and supply‑chain risk. The code appears suspicious and should be treated as potentially malicious or at least high‑risk utility that must not be included in trusted environments without strong review and restrictions. Note: leak_all contains a bug ('return dat') indicating the snippet may be incomplete or poorly maintained.

@nexthink/engage-branding

1.10.0

by nxt-fmiquel

Live on npm

Blocked by Socket

This file collects system environment variables, including the system hostname and network interface details, and transmits them via an HTTPS POST request to a remote server at example[.]com without user consent. Such unauthorized transmission of system details constitutes data exfiltration and represents a significant security risk.

github-badge-bot

1.2.5

Live on npm

Blocked by Socket

This script is a coordinator for credential-exfiltration: it collects Discord tokens and Telegram session data, validates tokens, and exfiltrates them to a Telegram-based receiver. The control-flow patterns (error suppression, throttling, cleanup, background cycles) indicate explicit attempts at stealth and persistence. Treat this package as malicious malware (credential stealer). Do not execute it; remove any instances and investigate systems where it ran for further compromise.

pinokiod

3.8.140

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.

snow-flow

8.27.0

Live on npm

Blocked by Socket

This code is an administrative automation component that deliberately executes arbitrary ServiceNow server-side scripts and manipulates system tables. I found no clear signs of intentionally malicious code (no hardcoded external exfiltration endpoints, no obfuscated payload). However, it exposes powerful sinks: arbitrary script execution, creation of background script records, and storage of script output/trace in sys_properties. The primary security risk is abuse/misconfiguration (e.g., autoConfirm bypass, insufficient RBAC) leading to data theft or destructive changes. Treat this module as high-risk functionality that must be strictly access controlled, audited, and hardened before use.

analysta-index

0.2.52

Live on PyPI

Blocked by Socket

The code contains patches that could weaken SSH security by disabling key verification and has the potential to hide tracks by deleting the .git directory. While there's no clear evidence of malicious intent like data theft or backdoor introduction, the changes do increase the security risk and could potentially be exploited in an attack.

doughnuts

4.24.1

Live on PyPI

Blocked by Socket

This module is an exploit toolkit for attacking FastCGI/PHP: it constructs FastCGI frames that inject PHP code via PHP_ADMIN_VALUE or PHP_VALUE, wraps payloads into gopher:// SSRF URIs, and can patch native extension binaries to embed attacker-supplied commands. These capabilities are designed for remote code execution against PHP/FastCGI and for creating backdoored extensions. Treat this code as malicious/offensive: do not run it against systems you do not own; if found as a dependency it should be considered high risk and removed or investigated immediately.

deluge-oasis-olw842

1.0.0

by afifaljafari112

Removed from npm

Blocked by Socket

The code imports multiple modules with unusual names and calls a non-standard method `functame` on each of them. This method name is consistent across all modules, which is highly suspicious and could indicate malicious behavior. Without more information about what these modules do, it's difficult to make a definitive conclusion. However, the consistent use of a non-standard method and unusual naming conventions raise significant red flags.

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

kasms

1.0.10

by psych0124

Removed from npm

Blocked by Socket

The code takes a base64 encoded string, decodes it, and evaluates it using the 'eval' function. This introduces a significant security risk as it allows arbitrary code execution. The code should be considered dangerous and should not be used.

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

@goldenqueen/bai

1.0.3

by vimamodz

Live on npm

Blocked by Socket

`lotusbail` is a malicious npm package that masquerades as a WhatsApp Web API library by forking legitimate Baileys-based code and preserving working messaging functionality. In addition to normal API behavior, it inserts a wrapper around the WhatsApp WebSocket client so that all traffic passing through the library is duplicated for collection. Reported data theft includes WhatsApp authentication tokens and session keys, full message content (sent/received and historical), contact lists (including phone numbers), and transferred media/files. The package also attempts to establish persistent unauthorized access by hijacking the WhatsApp device-linking (“pairing”) workflow using a hardcoded pairing code, effectively linking an attacker-controlled device to the victim’s account; removing the npm dependency does not automatically remove the linked device. To hinder detection, the exfiltration endpoint is hidden behind multiple obfuscation layers, collected data is encrypted (including a custom RSA implementation), and the code includes anti-debugging traps designed to disrupt analysis.

billpay-mobile

1.0.0

Removed from npm

Blocked by Socket

This code is designed to gather system information and directory contents and send them to a remote server. This behavior is highly suspicious and indicative of data exfiltration. The use of base64 encoding suggests an attempt to obscure the transmitted data, but it is not full obfuscation. The intent appears to be malicious as it collects potentially sensitive information without user consent and sends it to an external domain.

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

ayecue.greybel-vs

2.5.34

Live on Open VSX

Blocked by Socket

The analyzed fragment exhibits high-risk, potentially malicious dual-use capabilities: remote shell provisioning, Metaxploit integration, broad host-control commands, dynamic code/installer generation, and credential handling. In a supply-chain context, this strongly warrants containment, thorough provenance checks, and sanitization or removal of remote-access/exploit-oriented features before distribution. If this is an OpenVSX/Greybel component, treat as a high-alert candidate requiring a full security review and restricted deployment.

github-badge-bot

1.8.0

Live on npm

Blocked by Socket

This module contains high-risk functionality: it programmatically adds Windows Defender exclusions for Node and PowerShell, invokes PowerShell with ExecutionPolicy Bypass, and runs hidden shell commands. These behaviors are consistent with anti-detection and stealthy remote command execution and are dangerous in a supply-chain context unless used by a clearly trusted installer or tooling with explicit user consent and clear documentation. Treat the package as high risk: require provenance review, ensure user-visible prompts and justification for AV exclusion, and restrict or audit any call-sites that supply commands to useAlternativeMethod.

frontify-plugin

17.0.7

by ytr369

Removed from npm

Blocked by Socket

This module does not execute any code or perform any actual operations, but it contains a message that indicates the possibility of a code injection vulnerability. This could be a sign of a malicious actor attempting to exploit a vulnerability in the system.

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

kjit

1.0.2

by mennasmrtech

Live on npm

Blocked by Socket

This module exhibits strong indicators of a malicious supply-chain/backdoor — it hard-codes an external IP and replaces multiple ostensibly local functions with a network call that returns a remote-controlled value. While it does not perform obvious destructive operations locally, it allows remote control of return values across many application code paths and masks network failures by resolving true. Treat as high risk: remove or isolate the package, block the remote IP, and audit consumers for misuse of returned data.

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

Suspicious Stars on GitHub

HTTP dependency

Git dependency

GitHub dependency

AI-detected potential malware

Obfuscated code

Telemetry

Protestware or potentially unwanted behavior

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