
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
Questions? Call us at (844) SOCKET-0
Quickly evaluate the security and health of any open source package.
icoa-cli
2.19.143
by icoa
Live on npm
Blocked by Socket
This dependency is high-risk because it contains a direct, user-controlled arbitrary command execution feature (“!” → child_process.execSync). It also performs outbound HTTPS telemetry POSTs containing usage metadata (tokensUsed/solved/timestamp) to a hardcoded external endpoint. While much of the surrounding logic is framed as a CTF/prompt-injection demo, the execSync capability materially increases compromise, sabotage, or unintended RCE risk in real deployments unless tightly sandboxed and access-controlled.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This fragment implements a weaponized VPN exploitation runner targeting multiple specific CVEs, using path traversal/auth bypass/session hijacking/command injection techniques, extracting credentials/sessions from remote responses, and (for CVE-2022-40684) creating a new backdoor admin user/password via POST requests. It also disables TLS verification for offensive probing and supports evasion-header generation. Despite a likely runtime bug in apply_evasion_headers() (returning `header` instead of `headers`), the malicious functionality is explicit in the exploitation methods.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This code is a container/host escape exploitation tester that performs real attack steps in non-safe mode—most notably using an exposed Docker socket to create a host-mounting container and retrieve /etc/passwd from the host via container logs, and using CAP_SYS_ADMIN to mount-bind '/' and read host passwd. It also probes/reads Kubernetes service account tokens and checks cloud metadata endpoints associated with credential theft. Overall, it represents high-risk offensive behavior consistent with malware/weaponized supply-chain content rather than benign scanning.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is highly suspicious and effectively implements SSH-agent exploitation workflows: it reuses a provided SSH agent socket, enumerates identities, discovers and probes SSH targets for agent-assisted access and sudo permissions, and can create dynamic forwarding (SOCKS/pivot) tunnels via ssh. The use of allow_unsafe_shell=True with dynamically constructed command strings (using values from SSH config/known_hosts and the agent_socket) adds additional risk. Treat this dependency as unsafe unless there is a clear, audited, authorized security-testing use-case.
@accelerated-agency/visual-editor
0.4.8
by conversion.io
Live on npm
Blocked by Socket
This module is best characterized as an editor/proxy framework with unusually high security sensitivity: it removes/weakens framing protections for embedded content, fetches arbitrary upstream URLs from a user-controlled parameter, and—most critically—executes JavaScript supplied via postMessage using new Function without validating the message origin/sender. While it may be intended for AI-driven editing, the design provides a direct arbitrary-code-execution primitive and an open-proxy style server-side fetch capability. It should be treated as a high-risk component requiring strict sandboxing, origin validation, and strong access controls.
@costrict/csc
4.1.0
by zgsm
Live on npm
Blocked by Socket
This fragment is mostly consistent with sharp’s native module loader and image-processing option validation, but it also includes a macOS-only clipboard image extraction capability implemented via AppleScript (`osascript`). It reads user clipboard PNG data, writes it to `/tmp`, reads it back into memory, deletes the file, and returns the clipboard image bytes to the caller—an inherently privacy-sensitive behavior that can enable clipboard harvesting. No network exfiltration is shown in the provided code, so maliciousness depends on how the returned data is used by the importing application, but the capability itself is a significant security concern.
tdstone2
0.1.9.7
Live on pypi
Blocked by Socket
This module is an extremely high-risk supply-chain execution agent. It directly decodes attacker-controlled base64 content from input and executes it via exec(Code) with no sandboxing or trust enforcement. It then instantiates and trains a model defined by that payload and can emit a base64-encoded pickle (unsafe if deserialized later) and/or ONNX artifacts. Even though no explicit network/file exfiltration is visible in this snippet, the arbitrary code execution primitive makes such behavior possible and highly concerning. It should only run in a fully isolated environment with strictly trusted inputs and strong controls (e.g., no exec on untrusted payloads).
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is best characterized as an offensive command/weaponization generator for multiple VPN exploitation categories (pre-auth RCE, auth bypass/backdoor creation, credential disclosure/extraction, and path traversal), producing actionable curl/nuclei/metasploit command strings and embedding hardcoded backdoor-like credentials. While it does not directly execute commands within this fragment, it substantially increases attacker capability by packaging end-to-end exploitation steps into returned reproduction artifacts. Treat as a high-risk supply-chain component; review intended use constraints, integration boundaries, and ensure such templates cannot be used outside explicitly authorized testing.
@everymatrix/player-account-controller-nd
1.94.6
by adrian.pripon
Live on npm
Blocked by Socket
This module is a KYC UI, but it contains a high-severity malicious capability pattern: it can fetch JavaScript and execute it via new Function(), and it can also inject an external script from a third-party domain. Additionally, it embeds external verification flows in iframes with camera/microphone permissions and processes window postMessage inputs without origin validation in this fragment. Taken together, the risk of supply-chain compromise, runtime code execution, and sensitive data/privacy impact is substantial; the dynamic execution and external loading should be removed or tightly controlled (allowlists, SRI/integrity checks, iframe sandboxing, and strict message origin validation).
agentic-mcp-server
0.1.1
Live on pypi
Blocked by Socket
This module is effectively an abuse-ready remote control surface: it exposes direct arbitrary shell command execution (shell=True), arbitrary Python execution (python -c), arbitrary script execution by path, and unrestricted filesystem read/write/create/delete operations through API-accessible MCP tools with no apparent safety controls. Even without explicit malicious payloads in this snippet, the design is consistent with backdoor/remote administration functionality and would be critical to restrict, sandbox, or remove before use.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is strongly consistent with malicious Kubernetes admission-control abuse preparation. It uses in-cluster service account credentials to actively probe authorization to create a MutatingWebhookConfiguration and related objects (CRD/service). If permissions appear present, it reports an “exploited” outcome and provides an explicit next-step plan for injecting privileged sidecars via mutating admission, mounting hostPath, using a reverse shell, and exfiltrating secrets/credentials. Even if it currently stops short of actually deploying the described malicious webhook beyond the probing POST attempts, the targeting, authentication, and explicit attacker workflow indicate high malicious intent and a high security risk.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module implements an Active Directory RBCD detection and—when enabled—an end-to-end exploitation workflow (create computer account, set msDS-AllowedToActOnBehalfOfOtherIdentity, obtain Kerberos tickets via S4U, validate access via SMB, and attempt cleanup). It also includes a weaponized PowerShell payload with hardcoded credentials and offensive tool orchestration. While this may be intended for penetration testing, it is highly suspicious and dangerous to include in general-purpose packages because it operationalizes credentialed AD compromise/impersonation behavior.
icoa-cli
2.19.144
by icoa
Live on npm
Blocked by Socket
This module is highly unsafe: it includes an explicit `execSync` execution path triggered by user chat input (messages starting with `!`), enabling remote command execution in the runtime environment. It additionally performs outbound POST telemetry to external endpoints and uses obfuscation/dynamic imports to conceal sensitive behavior. Even if presented as a “CTF shell,” the behavior is indistinguishable from a backdoor from a supply-chain perspective.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is an active Kubernetes control-plane attack-surface/probing component that uses in-cluster credentials (service account token) to query authorization and privileged API endpoints and to identify misconfigurations relevant to impersonation, anonymous access, aggregated API manipulation, secret/RBAC access, and admission webhook weakness patterns. It also reads local Kubernetes config/audit/manifest files and returns potentially sensitive response/config fragments as artifacts. Despite apparent snippet-level runtime issues, the intent and implemented probing logic are strongly offensive/reconnaissance in nature, making it a significant supply-chain security risk if shipped or executed in environments without strict authorization and consent controls.
glean-sdk
67.3.2
Live on pypi
Blocked by Socket
This module is a high-risk subprocess harness that accepts attacker-influenced input (sys.argv[1]) and uses pickle.loads on it, which can result in arbitrary code execution. It further executes a callable extracted from the same untrusted deserialized payload. Unless sys.argv[1] is guaranteed to be produced by a fully trusted party and never attacker-controlled, this should be treated as a severe supply-chain/runtime security threat. Coverage and logging configuration are secondary factors.
shennian
0.2.46
by shennian
Live on npm
Blocked by Socket
This code is highly suspicious because it exposes direct remote filesystem operations: directory listing, arbitrary file reading (including base64 content exfiltration), and arbitrary file uploading (including chunked writes finalized onto the server filesystem). While safety may depend on the external runtime.resolvePath and authorization model, this module itself contains no robust sandbox/jail enforcement, access control, size/range validation for chunk writes, or strong transfer-ID protection. Functionally, it matches backdoor/RMM-style filesystem management capability and should be reviewed/locked down aggressively (or removed) if not intended for a trusted operator-only environment.
vizor.echarts
0.9.6
by Ben Motmans, DataHint BV, Ben Motmans
Live on nuget
Blocked by Socket
This module is high risk due to explicit arbitrary JavaScript execution via eval on caller-controlled strings (afterLoad, mapOptions, chartOptions) and the ability to fetch arbitrary external content from caller-provided URLs. Even without visible credential-stealing code, the execution primitives enable browser-context compromise and potential data exfiltration through attacker-supplied afterLoad/option payloads. If any of the configuration inputs are not strictly controlled and integrity-protected, the dependency should be treated as unsafe.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
High-risk malicious intent/tooling facilitation. This module performs authenticated in-cluster reconnaissance of ValidatingWebhookConfiguration settings using a service account token and then, upon detecting heuristic 'bypass' conditions, returns status='exploited' along with detailed attacker-oriented exploitation instructions (DoS/overload, dryRun bypass sequencing, race-condition ideas, and privileged escalation via host root filesystem/node control concepts). Although it does not directly execute the described attacks, the inclusion of concrete abuse guidance and the offensive status semantics make the overall security risk severe. Do not use without strong trust, sandboxing, and vendor/source verification.
@catclaw/message-logger-plugin
0.2.9-beta.4
by marenfei
Live on npm
Blocked by Socket
This module is high-risk because it provides a conditional arbitrary code execution path: it extracts directive.code from the last user message during cron-triggered requests and executes it via child_process.execFile using the current runtime with --eval/-e. The executed code inherits environment variables (including an explicitly injected/overwritten OPENCLAW_GATEWAY_TOKEN), and its stdout/error details are returned to the client and may be logged. This combination is consistent with a runtime backdoor/sabotage mechanism rather than a benign utility, unless upstream validation strongly guarantees directive.code cannot be influenced by untrusted parties and the execution is tightly controlled/sandboxed (not shown in this snippet).
@paykka/card-checkout-ui
0.14.0-alpha.0
by paykka-dev
Live on npm
Blocked by Socket
Likely malicious/spyware-like behavior: the module performs extensive client-side instrumentation (click/keypress, console, history, XHR/fetch response parsing, errors, performance metrics) and exfiltrates structured data to hardcoded remote endpoints. While it resembles an analytics/monitoring SDK, its breadth of tracking and silent no-cors beaconing plus persistence of identifiers makes it a significant supply-chain security risk. Additional context (package name, version, and intended use/consent model) is needed, but the provided fragment strongly indicates non-trivial privacy-invasive telemetry.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This code is a dual-use container discovery and container pivot execution module, but the pivot feature set is strongly aligned with lateral movement/post-compromise tooling: it can discover live containers across runtimes and then execute arbitrary shell commands inside them (and via nsenter when privileged) using '/bin/sh -c' with an unvalidated caller-provided command string; it also supports copying arbitrary files into containers via docker cp. No explicit network exfiltration or persistence is visible in this fragment, but the execution/pivot capabilities represent a high supply-chain security risk unless tightly constrained by trusted callers and robust guardrails outside this snippet.
a2ui-vue-engine
1.0.15
by chenhui1314
Live on npm
Blocked by Socket
High security risk. The module contains an eval-like backdoor primitive: it executes handler strings from untrusted node/event data using new Function('return ' + t.handler)(), enabling arbitrary JavaScript execution if an attacker can influence the tree/stream inputs. It also performs data-driven client redirects (window.location.*) using unvalidated payload URLs and ingests remote streamed updates via fetch(streamUrl) without visible allowlisting/integrity checks. While classic malware behaviors (e.g., filesystem access/cryptomining) are not evident in this fragment, the control-plane primitives make it unsuitable to use with untrusted data sources.
tdstone2
0.1.9.7
Live on pypi
Blocked by Socket
This module is an unsafe execution runner for attacker-controlled input. It base64-decodes untrusted stdin content and executes it via exec(Code), then evaluates additional attacker-influenced strings via eval(model_metadata) sourced from the executed code’s get_description(). It can also read local filesystem content when input values begin with '/lob/', and then feeds those contents into the execution path. The primary risk is straightforward arbitrary code execution (supply-chain/backdoor pattern), with high likelihood of data theft/exfiltration via stdout or other side effects performed by the executed code.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is best characterized as an exploitation payload generator. It hardcodes explicit privilege-escalation, persistence/backdoor, credential-harvesting, reverse-shell, container-escape, and OS-specific security/permission abuse commands, and it additionally supports attacker-controlled command insertion via exploit_command without sanitization. Even without explicit execution in this fragment, it materially increases attack capability when integrated with any downstream command execution/orchestration component.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module generates and returns runnable command templates and structured “blind spot” guidance that include explicit malware drop/execute and reverse-shell invocation, along with explicit SIEM-evasion framing via excluded paths/process names. It also embeds offensive payload delivery/credential-tooling example commands. Additionally, it interpolates untrusted parameters directly into executable command strings without validation. Overall, the code presents strong malicious/sabotage intent and should not be used as a general dependency without strict isolation and review; treat as a critical supply-chain security risk.
icoa-cli
2.19.143
by icoa
Live on npm
Blocked by Socket
This dependency is high-risk because it contains a direct, user-controlled arbitrary command execution feature (“!” → child_process.execSync). It also performs outbound HTTPS telemetry POSTs containing usage metadata (tokensUsed/solved/timestamp) to a hardcoded external endpoint. While much of the surrounding logic is framed as a CTF/prompt-injection demo, the execSync capability materially increases compromise, sabotage, or unintended RCE risk in real deployments unless tightly sandboxed and access-controlled.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This fragment implements a weaponized VPN exploitation runner targeting multiple specific CVEs, using path traversal/auth bypass/session hijacking/command injection techniques, extracting credentials/sessions from remote responses, and (for CVE-2022-40684) creating a new backdoor admin user/password via POST requests. It also disables TLS verification for offensive probing and supports evasion-header generation. Despite a likely runtime bug in apply_evasion_headers() (returning `header` instead of `headers`), the malicious functionality is explicit in the exploitation methods.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This code is a container/host escape exploitation tester that performs real attack steps in non-safe mode—most notably using an exposed Docker socket to create a host-mounting container and retrieve /etc/passwd from the host via container logs, and using CAP_SYS_ADMIN to mount-bind '/' and read host passwd. It also probes/reads Kubernetes service account tokens and checks cloud metadata endpoints associated with credential theft. Overall, it represents high-risk offensive behavior consistent with malware/weaponized supply-chain content rather than benign scanning.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is highly suspicious and effectively implements SSH-agent exploitation workflows: it reuses a provided SSH agent socket, enumerates identities, discovers and probes SSH targets for agent-assisted access and sudo permissions, and can create dynamic forwarding (SOCKS/pivot) tunnels via ssh. The use of allow_unsafe_shell=True with dynamically constructed command strings (using values from SSH config/known_hosts and the agent_socket) adds additional risk. Treat this dependency as unsafe unless there is a clear, audited, authorized security-testing use-case.
@accelerated-agency/visual-editor
0.4.8
by conversion.io
Live on npm
Blocked by Socket
This module is best characterized as an editor/proxy framework with unusually high security sensitivity: it removes/weakens framing protections for embedded content, fetches arbitrary upstream URLs from a user-controlled parameter, and—most critically—executes JavaScript supplied via postMessage using new Function without validating the message origin/sender. While it may be intended for AI-driven editing, the design provides a direct arbitrary-code-execution primitive and an open-proxy style server-side fetch capability. It should be treated as a high-risk component requiring strict sandboxing, origin validation, and strong access controls.
@costrict/csc
4.1.0
by zgsm
Live on npm
Blocked by Socket
This fragment is mostly consistent with sharp’s native module loader and image-processing option validation, but it also includes a macOS-only clipboard image extraction capability implemented via AppleScript (`osascript`). It reads user clipboard PNG data, writes it to `/tmp`, reads it back into memory, deletes the file, and returns the clipboard image bytes to the caller—an inherently privacy-sensitive behavior that can enable clipboard harvesting. No network exfiltration is shown in the provided code, so maliciousness depends on how the returned data is used by the importing application, but the capability itself is a significant security concern.
tdstone2
0.1.9.7
Live on pypi
Blocked by Socket
This module is an extremely high-risk supply-chain execution agent. It directly decodes attacker-controlled base64 content from input and executes it via exec(Code) with no sandboxing or trust enforcement. It then instantiates and trains a model defined by that payload and can emit a base64-encoded pickle (unsafe if deserialized later) and/or ONNX artifacts. Even though no explicit network/file exfiltration is visible in this snippet, the arbitrary code execution primitive makes such behavior possible and highly concerning. It should only run in a fully isolated environment with strictly trusted inputs and strong controls (e.g., no exec on untrusted payloads).
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is best characterized as an offensive command/weaponization generator for multiple VPN exploitation categories (pre-auth RCE, auth bypass/backdoor creation, credential disclosure/extraction, and path traversal), producing actionable curl/nuclei/metasploit command strings and embedding hardcoded backdoor-like credentials. While it does not directly execute commands within this fragment, it substantially increases attacker capability by packaging end-to-end exploitation steps into returned reproduction artifacts. Treat as a high-risk supply-chain component; review intended use constraints, integration boundaries, and ensure such templates cannot be used outside explicitly authorized testing.
@everymatrix/player-account-controller-nd
1.94.6
by adrian.pripon
Live on npm
Blocked by Socket
This module is a KYC UI, but it contains a high-severity malicious capability pattern: it can fetch JavaScript and execute it via new Function(), and it can also inject an external script from a third-party domain. Additionally, it embeds external verification flows in iframes with camera/microphone permissions and processes window postMessage inputs without origin validation in this fragment. Taken together, the risk of supply-chain compromise, runtime code execution, and sensitive data/privacy impact is substantial; the dynamic execution and external loading should be removed or tightly controlled (allowlists, SRI/integrity checks, iframe sandboxing, and strict message origin validation).
agentic-mcp-server
0.1.1
Live on pypi
Blocked by Socket
This module is effectively an abuse-ready remote control surface: it exposes direct arbitrary shell command execution (shell=True), arbitrary Python execution (python -c), arbitrary script execution by path, and unrestricted filesystem read/write/create/delete operations through API-accessible MCP tools with no apparent safety controls. Even without explicit malicious payloads in this snippet, the design is consistent with backdoor/remote administration functionality and would be critical to restrict, sandbox, or remove before use.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is strongly consistent with malicious Kubernetes admission-control abuse preparation. It uses in-cluster service account credentials to actively probe authorization to create a MutatingWebhookConfiguration and related objects (CRD/service). If permissions appear present, it reports an “exploited” outcome and provides an explicit next-step plan for injecting privileged sidecars via mutating admission, mounting hostPath, using a reverse shell, and exfiltrating secrets/credentials. Even if it currently stops short of actually deploying the described malicious webhook beyond the probing POST attempts, the targeting, authentication, and explicit attacker workflow indicate high malicious intent and a high security risk.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module implements an Active Directory RBCD detection and—when enabled—an end-to-end exploitation workflow (create computer account, set msDS-AllowedToActOnBehalfOfOtherIdentity, obtain Kerberos tickets via S4U, validate access via SMB, and attempt cleanup). It also includes a weaponized PowerShell payload with hardcoded credentials and offensive tool orchestration. While this may be intended for penetration testing, it is highly suspicious and dangerous to include in general-purpose packages because it operationalizes credentialed AD compromise/impersonation behavior.
icoa-cli
2.19.144
by icoa
Live on npm
Blocked by Socket
This module is highly unsafe: it includes an explicit `execSync` execution path triggered by user chat input (messages starting with `!`), enabling remote command execution in the runtime environment. It additionally performs outbound POST telemetry to external endpoints and uses obfuscation/dynamic imports to conceal sensitive behavior. Even if presented as a “CTF shell,” the behavior is indistinguishable from a backdoor from a supply-chain perspective.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is an active Kubernetes control-plane attack-surface/probing component that uses in-cluster credentials (service account token) to query authorization and privileged API endpoints and to identify misconfigurations relevant to impersonation, anonymous access, aggregated API manipulation, secret/RBAC access, and admission webhook weakness patterns. It also reads local Kubernetes config/audit/manifest files and returns potentially sensitive response/config fragments as artifacts. Despite apparent snippet-level runtime issues, the intent and implemented probing logic are strongly offensive/reconnaissance in nature, making it a significant supply-chain security risk if shipped or executed in environments without strict authorization and consent controls.
glean-sdk
67.3.2
Live on pypi
Blocked by Socket
This module is a high-risk subprocess harness that accepts attacker-influenced input (sys.argv[1]) and uses pickle.loads on it, which can result in arbitrary code execution. It further executes a callable extracted from the same untrusted deserialized payload. Unless sys.argv[1] is guaranteed to be produced by a fully trusted party and never attacker-controlled, this should be treated as a severe supply-chain/runtime security threat. Coverage and logging configuration are secondary factors.
shennian
0.2.46
by shennian
Live on npm
Blocked by Socket
This code is highly suspicious because it exposes direct remote filesystem operations: directory listing, arbitrary file reading (including base64 content exfiltration), and arbitrary file uploading (including chunked writes finalized onto the server filesystem). While safety may depend on the external runtime.resolvePath and authorization model, this module itself contains no robust sandbox/jail enforcement, access control, size/range validation for chunk writes, or strong transfer-ID protection. Functionally, it matches backdoor/RMM-style filesystem management capability and should be reviewed/locked down aggressively (or removed) if not intended for a trusted operator-only environment.
vizor.echarts
0.9.6
by Ben Motmans, DataHint BV, Ben Motmans
Live on nuget
Blocked by Socket
This module is high risk due to explicit arbitrary JavaScript execution via eval on caller-controlled strings (afterLoad, mapOptions, chartOptions) and the ability to fetch arbitrary external content from caller-provided URLs. Even without visible credential-stealing code, the execution primitives enable browser-context compromise and potential data exfiltration through attacker-supplied afterLoad/option payloads. If any of the configuration inputs are not strictly controlled and integrity-protected, the dependency should be treated as unsafe.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
High-risk malicious intent/tooling facilitation. This module performs authenticated in-cluster reconnaissance of ValidatingWebhookConfiguration settings using a service account token and then, upon detecting heuristic 'bypass' conditions, returns status='exploited' along with detailed attacker-oriented exploitation instructions (DoS/overload, dryRun bypass sequencing, race-condition ideas, and privileged escalation via host root filesystem/node control concepts). Although it does not directly execute the described attacks, the inclusion of concrete abuse guidance and the offensive status semantics make the overall security risk severe. Do not use without strong trust, sandboxing, and vendor/source verification.
@catclaw/message-logger-plugin
0.2.9-beta.4
by marenfei
Live on npm
Blocked by Socket
This module is high-risk because it provides a conditional arbitrary code execution path: it extracts directive.code from the last user message during cron-triggered requests and executes it via child_process.execFile using the current runtime with --eval/-e. The executed code inherits environment variables (including an explicitly injected/overwritten OPENCLAW_GATEWAY_TOKEN), and its stdout/error details are returned to the client and may be logged. This combination is consistent with a runtime backdoor/sabotage mechanism rather than a benign utility, unless upstream validation strongly guarantees directive.code cannot be influenced by untrusted parties and the execution is tightly controlled/sandboxed (not shown in this snippet).
@paykka/card-checkout-ui
0.14.0-alpha.0
by paykka-dev
Live on npm
Blocked by Socket
Likely malicious/spyware-like behavior: the module performs extensive client-side instrumentation (click/keypress, console, history, XHR/fetch response parsing, errors, performance metrics) and exfiltrates structured data to hardcoded remote endpoints. While it resembles an analytics/monitoring SDK, its breadth of tracking and silent no-cors beaconing plus persistence of identifiers makes it a significant supply-chain security risk. Additional context (package name, version, and intended use/consent model) is needed, but the provided fragment strongly indicates non-trivial privacy-invasive telemetry.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This code is a dual-use container discovery and container pivot execution module, but the pivot feature set is strongly aligned with lateral movement/post-compromise tooling: it can discover live containers across runtimes and then execute arbitrary shell commands inside them (and via nsenter when privileged) using '/bin/sh -c' with an unvalidated caller-provided command string; it also supports copying arbitrary files into containers via docker cp. No explicit network exfiltration or persistence is visible in this fragment, but the execution/pivot capabilities represent a high supply-chain security risk unless tightly constrained by trusted callers and robust guardrails outside this snippet.
a2ui-vue-engine
1.0.15
by chenhui1314
Live on npm
Blocked by Socket
High security risk. The module contains an eval-like backdoor primitive: it executes handler strings from untrusted node/event data using new Function('return ' + t.handler)(), enabling arbitrary JavaScript execution if an attacker can influence the tree/stream inputs. It also performs data-driven client redirects (window.location.*) using unvalidated payload URLs and ingests remote streamed updates via fetch(streamUrl) without visible allowlisting/integrity checks. While classic malware behaviors (e.g., filesystem access/cryptomining) are not evident in this fragment, the control-plane primitives make it unsuitable to use with untrusted data sources.
tdstone2
0.1.9.7
Live on pypi
Blocked by Socket
This module is an unsafe execution runner for attacker-controlled input. It base64-decodes untrusted stdin content and executes it via exec(Code), then evaluates additional attacker-influenced strings via eval(model_metadata) sourced from the executed code’s get_description(). It can also read local filesystem content when input values begin with '/lob/', and then feeds those contents into the execution path. The primary risk is straightforward arbitrary code execution (supply-chain/backdoor pattern), with high likelihood of data theft/exfiltration via stdout or other side effects performed by the executed code.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module is best characterized as an exploitation payload generator. It hardcodes explicit privilege-escalation, persistence/backdoor, credential-harvesting, reverse-shell, container-escape, and OS-specific security/permission abuse commands, and it additionally supports attacker-controlled command insertion via exploit_command without sanitization. Even without explicit execution in this fragment, it materially increases attack capability when integrated with any downstream command execution/orchestration component.
mindfabric-agent
1.1.358
Live on pypi
Blocked by Socket
This module generates and returns runnable command templates and structured “blind spot” guidance that include explicit malware drop/execute and reverse-shell invocation, along with explicit SIEM-evasion framing via excluded paths/process names. It also embeds offensive payload delivery/credential-tooling example commands. Additionally, it interpolates untrusted parameters directly into executable command strings without validation. Overall, the code presents strong malicious/sabotage intent and should not be used as a general dependency without strict isolation and review; treat as a critical supply-chain security risk.
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
Critical CVE
High CVE
Medium CVE
Low CVE
Unpopular package
Minified code
Bad dependency semver
Wildcard dependency
Socket optimized override available
Deprecated
Unmaintained
Explicitly Unlicensed Item
License Policy Violation
Misc. License Issues
Non-permissive License
Ambiguous License Classifier
Copyleft License
License exception
No License Found
Unidentified License
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.
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.

Nat Friedman
CEO at GitHub

Suz Hinton
Senior Software Engineer at Stripe
heck yes this is awesome!!! Congrats team 🎉👏

Matteo Collina
Node.js maintainer, Fastify lead maintainer
So awesome to see @SocketSecurity launch with a fresh approach! Excited to have supported the team from the early days.

DC Posch
Director of Technology at AppFolio, CTO at Dynasty
This is going to be super important, especially for crypto projects where a compromised dependency results in stolen user assets.

Luis Naranjo
Software Engineer at Microsoft
If software supply chain attacks through npm don't scare the shit out of you, you're not paying close enough attention.
@SocketSecurity sounds like an awesome product. I'll be using socket.dev instead of npmjs.org to browse npm packages going forward

Elena Nadolinski
Founder and CEO at Iron Fish
Huge congrats to @SocketSecurity! 🙌
Literally the only product that proactively detects signs of JS compromised packages.

Joe Previte
Engineering Team Lead at Coder
Congrats to @feross and the @SocketSecurity team on their seed funding! 🚀 It's been a big help for us at @CoderHQ and we appreciate what y'all are doing!

Josh Goldberg
Staff Developer at Codecademy
This is such a great idea & looks fantastic, congrats & good luck @feross + team!
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.

Scott Roberts
CISO at UiPath
As a happy Socket customer, I've been impressed with how quickly they are adding value to the product, this move is a great step!

Yan Zhu
Head of Security at Brave, DEFCON, EFF, W3C
glad to hear some of the smartest people i know are working on (npm, etc.) supply chain security finally :). @SocketSecurity

Andrew Peterson
CEO and Co-Founder at Signal Sciences (acq. Fastly)
How do you track the validity of open source software libraries as they get updated? You're prob not. Check out @SocketSecurity and the updated tooling they launched.
Supply chain is a cluster in security as we all know and the tools from Socket are "duh" type tools to be implementing. Check them out and follow Feross Aboukhadijeh to see more updates coming from them in the future.

Zbyszek Tenerowicz
Senior Security Engineer at ConsenSys
socket.dev is getting more appealing by the hour

Devdatta Akhawe
Head of Security at Figma
The @SocketSecurity team is on fire! Amazing progress and I am exciting to see where they go next.

Sebastian Bensusan
Engineer Manager at Stripe
I find it surprising that we don't have _more_ supply chain attacks in software:
Imagine your airplane (the code running) was assembled (deployed) daily, with parts (dependencies) from internet strangers. How long until you get a bad part?
Excited for Socket to prevent this

Adam Baldwin
VP of Security at npm, Red Team at Auth0/Okta
Congrats to everyone at @SocketSecurity ❤️🤘🏻

Nico Waisman
CISO at Lyft
This is an area that I have personally been very focused on. As Nat Friedman said in the 2019 GitHub Universe keynote, Open Source won, and every time you add a new open source project you rely on someone else code and you rely on the people that build it.
This is both exciting and problematic. You are bringing real risk into your organization, and I'm excited to see progress in the industry from OpenSSF scorecards and package analyzers to the company that Feross Aboukhadijeh is building!
Questions? Call us at (844) SOCKET-0
Secure your team's dependencies across your stack with Socket. Stop supply chain attacks before they reach production.
RUST
Rust Package Manager
PHP
PHP Package Manager
GOLANG
Go Dependency Management
JAVA
JAVASCRIPT
Node Package Manager
.NET
.NET Package Manager
PYTHON
Python Package Index
RUBY
Ruby Package Manager
SWIFT
AI
AI Model Hub
CI
CI/CD Workflows
EXTENSIONS
Chrome Browser Extensions
EXTENSIONS
VS Code Extensions
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.
Questions? Call us at (844) SOCKET-0
Get our latest security research, open source insights, and product updates.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.