New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

Secure OSS Dependencies

Socket for Open Source Security

Quickly evaluate the security and health of any open source package. Unlike a traditional vulnerability scanner, Socket can detect an active supply chain attack and help you block it. Socket detects over 70 issues in open source code for comprehensive protection.

Explore Integrations
Book a Demo

Call us at (844) SOCKET-0

Beyond CVE Scanning

What is Open Source Security?

Open source code makes up more than 90% of modern software projects, with many apps spamming 10,000+ dependencies. This makes it easy for attackers to use open source as a vector for attacks where open source packages registries are frequently the target of malware. Traditional vulnerability scanners cannot detect active supply chain attacks. Socket's free GitHub app safeguards your open source code from both vulnerable and malicious dependencies.

Install GitHub AppContact Sales
Socket Website

We protect you from vulnerable and malicious packages

github.com/iQingshan/Toshell

v1.4.2

Live on go

Blocked by Socket

This code implements a Windows UAC-bypass workflow that builds and delivers a callback implant, then serves it through a token-protected but unauthenticated one-time endpoint. This is explicit privilege-escalation and remote-control capability; treat it as dangerous unless its use is authorized and controlled. The fragment alone does not establish whether the broader product or deployment is malicious.

github.com/yaklang/yaklang

v1.4.9-alpha1123

Live on go

Blocked by Socket

This module is a high-risk payload-generation utility: it compiles and runs a local Java program to generate serialized Java deserialization gadget artifacts using Shiro/ysoserial tooling. Although the shell script itself does not show explicit exfiltration or backdoor installation, it (a) executes unverified local JARs via a broad, all-jar classpath, (b) preferentially uses a potentially altered “patched” dependency if present, and (c) produces weaponizable .ser outputs. Treat the jars (including any patched variant) and Start.java/config.yaml as critical supply-chain assets requiring integrity verification.

github.com/manwar/perlweeklychallenge-club

v0.0.0-20261123053014-0dd76fcc6eac

Live on go

Blocked by Socket

This module is strongly unsafe because it uses `eval` on a command string that includes untrusted stdin content. The limited substitution of `?` does not provide effective escaping, so crafted input can plausibly lead to command injection / arbitrary shell execution. Even without explicit malicious payloads, the construct is high risk and should be refactored to avoid `eval` (e.g., use `echo`/printf directly with proper quoting, or use safe pattern handling without re-parsing by the shell).

kagesec

0.4.0

Live on pypi

Blocked by Socket

This fragment is an attack-focused Log4Shell (CVE-2021-44228) exploit/probing template. It injects `${jndi:ldap://...}` payloads into HTTP headers, aiming to trigger vulnerable Log4j2 JNDI lookups and to confirm interaction via an external OAST callback domain. It should be treated as high risk/malicious in a supply-chain context (even if used for scanning), not as legitimate dependency logic.

github.com/iQingshan/Toshell

v1.3.6-0.20260927151533-576e50d39714

Live on go

Blocked by Socket

The code is readable and contains no hidden execution, credential theft, or direct exfiltration implemented in Go. It is nevertheless explicitly designed to package shellcode and facilitate Meterpreter-based process migration/injection through generated client scripts. The generated scripts send shellcode and bearer tokens over HTTP and can target arbitrary process IDs, creating substantial dual-use and offensive security risk. Arbitrary file writes and insufficient path validation add secondary security concerns.

kagesec

0.4.0

Live on pypi

Blocked by Socket

The code is a high-risk insecure-deserialization probing component that goes beyond detection: when an OOB canary is available, it actively crafts and sends weaponized Python pickle and Java serialized payloads. The Python pickle gadget uses __reduce__ to invoke os.system with nslookup to the canary, which is a direct command-execution attempt if deserialization is vulnerable. This behavior strongly indicates exploit-enabling/malicious intent in any non-controlled environment, creating substantial supply-chain security risk.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

This code is a high-confidence malicious or unauthorized C2 implant. It provides remote operators with encrypted command execution, arbitrary file access and deletion, process killing, payload upload and execution, system reconnaissance, data exfiltration, and Windows process injection/hollowing capabilities. The disabled TLS verification and hardcoded fallback key further weaken C2 security. It should not be used or distributed as a normal package.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

This is a remote implant-generation and process-injection API, capable of building payloads and dispatching them to connected sessions. These are high-risk dual-use capabilities and could enable unauthorized execution if exposed or insufficiently authorized. The fragment alone does not establish malicious intent or show data theft; assess deployment context and access controls.

github.com/mitchwebster/botblitz

v0.0.0-20261123022107-11099acab141

Live on go

Blocked by Socket

This module is a high-risk remote code loader/executor: it constructs a raw GitHub URL from user input, downloads Python code without integrity/authenticity verification, writes it as an executable file, and executes it with python3. Even though the snippet itself does not reveal specific payload behavior (e.g., exfiltration), the design strongly matches supply-chain malware/agent delivery patterns and should be treated as dangerous unless the repository source and content are tightly allowlisted and cryptographically verified.

kagesec

0.4.0

Live on pypi

Blocked by Socket

This fragment is an exploit/verification template for CVE-2022-26138 that performs a credential-based unauthorized login attempt using embedded plaintext secrets and confirms success by matching authentication/session indicators in the HTTP response. While it does not show broader malware behaviors within the snippet (no payloading/exfiltration/persistence), it is inherently high-risk as an attack-capable component when included in a software supply chain.

github.com/iQingshan/Toshell

v1.4.2

Live on go

Blocked by Socket

This is an implant delivery and execution command generator with explicit stealth, antivirus-evasion, DLL side-loading, and in-memory shellcode execution functionality. It is highly dangerous in a supply-chain context. Separately, unvalidated forwarded-host input is embedded in commands and can create command-injection exposure if attacker-controlled headers reach this handler.

github.com/bishopfox/sliver

v1.4.22-0.20211120013832-22f840acbd47

Live on go

Blocked by Socket

This code module is a transport/staging component for a remote DLL hijacking workflow. It reads operator-controlled DLL binaries from the local filesystem and sends them, along with attacker-specified remote reference/target paths and profile/session metadata, to a remote RPC method (HijackDLL) that is intended to craft and plant a hijacking DLL on the target. The behavior is strongly offensive in nature; the snippet shows no benign purpose or defensive logic beyond basic argument checks and error handling.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

High severity: this code builds Windows implant DLLs, including optional execution immediately on DLL load and a rundll32-compatible exported entry point. It also removes Go fingerprints and supports evasion-related build tags. The fragment does not itself show data theft or command-and-control endpoints, so those runtime behaviors cannot be confirmed from this code alone.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

High severity: this code is a Windows command-and-control implant that persistently connects to a configured server and accepts remote commands, interactive shell input, file operations, and shellcode injection instructions. It sends host identity, command output, shell output, and requested file contents back to that server using encrypted frames. The server address and encryption key are configurable but are placeholders here, so no concrete domain, IP, or credential can be identified. The explicit unauthorized-control capabilities make the fragment malware with high confidence; the XOR-masked configuration is concealment, not substantial code obfuscation.

github.com/righettod/toolbox-pentest-web

v0.0.0-20261122095237-db4003f49a77

Live on go

Blocked by Socket

This fragment is designed to install a PostgreSQL C UDF and use it to download and execute a reverse-shell script from `http://10[.]10[.]10[.]10/rs.sh`, writing files under `/tmp` and targeting `/etc/hostname` during large-object setup. This is a high-severity malicious capability if connected to a database with sufficient privileges. As provided, it does not issue queries and fails because `response` is undefined, so the stated actions are not operational in this fragment alone.

github.com/iQingshan/Toshell

v1.3.6-0.20260927151533-576e50d39714

Live on go

Blocked by Socket

High severity: this code is a Windows command-and-control implant that persistently connects to a configured server and accepts remote commands, interactive shell input, file operations, and shellcode injection instructions. It sends host identity, command output, shell output, and requested file contents back to that server using encrypted frames. The server address and encryption key are configurable but are placeholders here, so no concrete domain, IP, or credential can be identified. The explicit unauthorized-control capabilities make the fragment malware with high confidence; the XOR-masked configuration is concealment, not substantial code obfuscation.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

This is a purpose-built Windows process-injection control module rather than a general-purpose benign utility. It provides direct support for arbitrary shellcode execution, DLL injection, process hollowing, thread hijacking, APC injection, and parent-process spoofing, with minimal validation or authorization visible. No exfiltration or persistence behavior is shown in this fragment, but the capability is high risk and is commonly used by malware and post-exploitation tools. Review should verify strict authorization and the implementations behind Execute before use.

github.com/ad3n/open-rfc-go

v0.0.1

Live on go

Blocked by Socket

This program impersonates an SAP RFC gateway and captures client CPIC frames, including forwarded SAP logon assertion tickets, then writes them in reversible hexadecimal form to cap-ticketcatch.jsonl or a caller-selected file. The capture is initiated by client TCP connections and the documented instruction to enable “Send Assertion Ticket.” This is high-severity credential capture and can facilitate unauthorized access if used without authorization; no remote exfiltration is shown in this file.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

The fragment performs host reconnaissance and prepares sensitive system-identification data for registration with a component named "toshell_implant". The explicit implant naming and breadth of collected telemetry are strong indicators of remote-access or command-and-control tooling, although this file alone does not transmit the data or demonstrate malware execution. It also contains a non-Windows recursive uptime bug that can cause stack exhaustion. Review the surrounding protocol and transport code before deployment.

@hostinger/mcp

4.15.1

by GitHub Actions

Live on npm

Blocked by Socket

The supplied JavaScript is a readable static catalog, not an executable malware payload, and no credential theft or system damage is directly demonstrated. However, its headless-build instructions require sending build reports containing domain, environment, URLs, timing, issues, and user-feedback metadata to hosting_headless_submit-build-report without consent and explicitly direct that this reporting be kept undisclosed until the final report. Relevant indicators include Hostinger reporting via that operation, HOSTINGER_API_TOKEN and UNSPLASH_ACCESS_KEY references, and local paths under ~/.hostinger/<domain>/ and ~/.config/hostinger-mcp/credentials.json; no secret values are included. Severity is elevated for privacy and transparency risk; incomplete script bodies prevent a full runtime assessment.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

This is a remote implant-generation and process-injection API, capable of building payloads and dispatching them to connected sessions. These are high-risk dual-use capabilities and could enable unauthorized execution if exposed or insufficiently authorized. The fragment alone does not establish malicious intent or show data theft; assess deployment context and access controls.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

This file implements a WebSocket command-and-control listener that registers implants and supports remote task execution, interactive shell control, file transfer, tunneling, and module delivery; these capabilities constitute unauthorized-remote-control risk if deployed without authorization. A concrete filesystem risk exists because PushFileUpload joins an unchecked sessionID into a staged-file path, permitting traversal if the caller can control that value. Packet parsing also accepts malformed headers and truncated payload lengths. No hardcoded secrets, external destinations, or obfuscated code are present; overall severity is high due to the explicit C2 capabilities and the path-handling weakness.

kagesec

0.4.0

Live on pypi

Blocked by Socket

This content is not benign dependency code; it is an exploitation/authentication attempt template containing hardcoded credentials tied to a critical Confluence vulnerability. While it does not show further malware behaviors (e.g., persistence or exfiltration) beyond login probing, it is strongly indicative of abuse/exploit intent and should be treated as high-risk if encountered within a software supply chain.

github.com/iQingshan/Toshell

v1.3.6-0.20260927151533-576e50d39714

Live on go

Blocked by Socket

This fragment implements a high-impact remote-agent C2 API with payload generation, task delivery, persistence, evasion, injection, credential, and surveillance-related capabilities; it is not ordinary application functionality. The main API is configured for web-gating and authentication, but implant routes are exempt and payload/UAC downloads are described as unauthenticated, so deployment exposure is a material security concern. No hardcoded external domains, IPs, or credentials, and no clear obfuscation or direct exfiltration destination, are present in this fragment. Severity: high due to the capabilities exposed, although malicious intent cannot be established from this file alone.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

The code implements a TLS polling client that sends registration and heartbeat POSTs to a configurable endpoint. Its explicit C2 references, beacon-like behavior, and disabled certificate validation are suspicious and warrant review, though this fragment contains no command execution or collection of system data. Severity is elevated by the possibility of unauthenticated server impersonation and unbounded response allocation; the default endpoint is 127.0.0.1:8443 and the path is /api/v1/poll.

github.com/iQingshan/Toshell

v1.4.2

Live on go

Blocked by Socket

This code implements a Windows UAC-bypass workflow that builds and delivers a callback implant, then serves it through a token-protected but unauthenticated one-time endpoint. This is explicit privilege-escalation and remote-control capability; treat it as dangerous unless its use is authorized and controlled. The fragment alone does not establish whether the broader product or deployment is malicious.

github.com/yaklang/yaklang

v1.4.9-alpha1123

Live on go

Blocked by Socket

This module is a high-risk payload-generation utility: it compiles and runs a local Java program to generate serialized Java deserialization gadget artifacts using Shiro/ysoserial tooling. Although the shell script itself does not show explicit exfiltration or backdoor installation, it (a) executes unverified local JARs via a broad, all-jar classpath, (b) preferentially uses a potentially altered “patched” dependency if present, and (c) produces weaponizable .ser outputs. Treat the jars (including any patched variant) and Start.java/config.yaml as critical supply-chain assets requiring integrity verification.

github.com/manwar/perlweeklychallenge-club

v0.0.0-20261123053014-0dd76fcc6eac

Live on go

Blocked by Socket

This module is strongly unsafe because it uses `eval` on a command string that includes untrusted stdin content. The limited substitution of `?` does not provide effective escaping, so crafted input can plausibly lead to command injection / arbitrary shell execution. Even without explicit malicious payloads, the construct is high risk and should be refactored to avoid `eval` (e.g., use `echo`/printf directly with proper quoting, or use safe pattern handling without re-parsing by the shell).

kagesec

0.4.0

Live on pypi

Blocked by Socket

This fragment is an attack-focused Log4Shell (CVE-2021-44228) exploit/probing template. It injects `${jndi:ldap://...}` payloads into HTTP headers, aiming to trigger vulnerable Log4j2 JNDI lookups and to confirm interaction via an external OAST callback domain. It should be treated as high risk/malicious in a supply-chain context (even if used for scanning), not as legitimate dependency logic.

github.com/iQingshan/Toshell

v1.3.6-0.20260927151533-576e50d39714

Live on go

Blocked by Socket

The code is readable and contains no hidden execution, credential theft, or direct exfiltration implemented in Go. It is nevertheless explicitly designed to package shellcode and facilitate Meterpreter-based process migration/injection through generated client scripts. The generated scripts send shellcode and bearer tokens over HTTP and can target arbitrary process IDs, creating substantial dual-use and offensive security risk. Arbitrary file writes and insufficient path validation add secondary security concerns.

kagesec

0.4.0

Live on pypi

Blocked by Socket

The code is a high-risk insecure-deserialization probing component that goes beyond detection: when an OOB canary is available, it actively crafts and sends weaponized Python pickle and Java serialized payloads. The Python pickle gadget uses __reduce__ to invoke os.system with nslookup to the canary, which is a direct command-execution attempt if deserialization is vulnerable. This behavior strongly indicates exploit-enabling/malicious intent in any non-controlled environment, creating substantial supply-chain security risk.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

This code is a high-confidence malicious or unauthorized C2 implant. It provides remote operators with encrypted command execution, arbitrary file access and deletion, process killing, payload upload and execution, system reconnaissance, data exfiltration, and Windows process injection/hollowing capabilities. The disabled TLS verification and hardcoded fallback key further weaken C2 security. It should not be used or distributed as a normal package.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

This is a remote implant-generation and process-injection API, capable of building payloads and dispatching them to connected sessions. These are high-risk dual-use capabilities and could enable unauthorized execution if exposed or insufficiently authorized. The fragment alone does not establish malicious intent or show data theft; assess deployment context and access controls.

github.com/mitchwebster/botblitz

v0.0.0-20261123022107-11099acab141

Live on go

Blocked by Socket

This module is a high-risk remote code loader/executor: it constructs a raw GitHub URL from user input, downloads Python code without integrity/authenticity verification, writes it as an executable file, and executes it with python3. Even though the snippet itself does not reveal specific payload behavior (e.g., exfiltration), the design strongly matches supply-chain malware/agent delivery patterns and should be treated as dangerous unless the repository source and content are tightly allowlisted and cryptographically verified.

kagesec

0.4.0

Live on pypi

Blocked by Socket

This fragment is an exploit/verification template for CVE-2022-26138 that performs a credential-based unauthorized login attempt using embedded plaintext secrets and confirms success by matching authentication/session indicators in the HTTP response. While it does not show broader malware behaviors within the snippet (no payloading/exfiltration/persistence), it is inherently high-risk as an attack-capable component when included in a software supply chain.

github.com/iQingshan/Toshell

v1.4.2

Live on go

Blocked by Socket

This is an implant delivery and execution command generator with explicit stealth, antivirus-evasion, DLL side-loading, and in-memory shellcode execution functionality. It is highly dangerous in a supply-chain context. Separately, unvalidated forwarded-host input is embedded in commands and can create command-injection exposure if attacker-controlled headers reach this handler.

github.com/bishopfox/sliver

v1.4.22-0.20211120013832-22f840acbd47

Live on go

Blocked by Socket

This code module is a transport/staging component for a remote DLL hijacking workflow. It reads operator-controlled DLL binaries from the local filesystem and sends them, along with attacker-specified remote reference/target paths and profile/session metadata, to a remote RPC method (HijackDLL) that is intended to craft and plant a hijacking DLL on the target. The behavior is strongly offensive in nature; the snippet shows no benign purpose or defensive logic beyond basic argument checks and error handling.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

High severity: this code builds Windows implant DLLs, including optional execution immediately on DLL load and a rundll32-compatible exported entry point. It also removes Go fingerprints and supports evasion-related build tags. The fragment does not itself show data theft or command-and-control endpoints, so those runtime behaviors cannot be confirmed from this code alone.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

High severity: this code is a Windows command-and-control implant that persistently connects to a configured server and accepts remote commands, interactive shell input, file operations, and shellcode injection instructions. It sends host identity, command output, shell output, and requested file contents back to that server using encrypted frames. The server address and encryption key are configurable but are placeholders here, so no concrete domain, IP, or credential can be identified. The explicit unauthorized-control capabilities make the fragment malware with high confidence; the XOR-masked configuration is concealment, not substantial code obfuscation.

github.com/righettod/toolbox-pentest-web

v0.0.0-20261122095237-db4003f49a77

Live on go

Blocked by Socket

This fragment is designed to install a PostgreSQL C UDF and use it to download and execute a reverse-shell script from `http://10[.]10[.]10[.]10/rs.sh`, writing files under `/tmp` and targeting `/etc/hostname` during large-object setup. This is a high-severity malicious capability if connected to a database with sufficient privileges. As provided, it does not issue queries and fails because `response` is undefined, so the stated actions are not operational in this fragment alone.

github.com/iQingshan/Toshell

v1.3.6-0.20260927151533-576e50d39714

Live on go

Blocked by Socket

High severity: this code is a Windows command-and-control implant that persistently connects to a configured server and accepts remote commands, interactive shell input, file operations, and shellcode injection instructions. It sends host identity, command output, shell output, and requested file contents back to that server using encrypted frames. The server address and encryption key are configurable but are placeholders here, so no concrete domain, IP, or credential can be identified. The explicit unauthorized-control capabilities make the fragment malware with high confidence; the XOR-masked configuration is concealment, not substantial code obfuscation.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

This is a purpose-built Windows process-injection control module rather than a general-purpose benign utility. It provides direct support for arbitrary shellcode execution, DLL injection, process hollowing, thread hijacking, APC injection, and parent-process spoofing, with minimal validation or authorization visible. No exfiltration or persistence behavior is shown in this fragment, but the capability is high risk and is commonly used by malware and post-exploitation tools. Review should verify strict authorization and the implementations behind Execute before use.

github.com/ad3n/open-rfc-go

v0.0.1

Live on go

Blocked by Socket

This program impersonates an SAP RFC gateway and captures client CPIC frames, including forwarded SAP logon assertion tickets, then writes them in reversible hexadecimal form to cap-ticketcatch.jsonl or a caller-selected file. The capture is initiated by client TCP connections and the documented instruction to enable “Send Assertion Ticket.” This is high-severity credential capture and can facilitate unauthorized access if used without authorization; no remote exfiltration is shown in this file.

github.com/iQingshan/Toshell

v1.4.1

Live on go

Blocked by Socket

The fragment performs host reconnaissance and prepares sensitive system-identification data for registration with a component named "toshell_implant". The explicit implant naming and breadth of collected telemetry are strong indicators of remote-access or command-and-control tooling, although this file alone does not transmit the data or demonstrate malware execution. It also contains a non-Windows recursive uptime bug that can cause stack exhaustion. Review the surrounding protocol and transport code before deployment.

@hostinger/mcp

4.15.1

by GitHub Actions

Live on npm

Blocked by Socket

The supplied JavaScript is a readable static catalog, not an executable malware payload, and no credential theft or system damage is directly demonstrated. However, its headless-build instructions require sending build reports containing domain, environment, URLs, timing, issues, and user-feedback metadata to hosting_headless_submit-build-report without consent and explicitly direct that this reporting be kept undisclosed until the final report. Relevant indicators include Hostinger reporting via that operation, HOSTINGER_API_TOKEN and UNSPLASH_ACCESS_KEY references, and local paths under ~/.hostinger/<domain>/ and ~/.config/hostinger-mcp/credentials.json; no secret values are included. Severity is elevated for privacy and transparency risk; incomplete script bodies prevent a full runtime assessment.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

This is a remote implant-generation and process-injection API, capable of building payloads and dispatching them to connected sessions. These are high-risk dual-use capabilities and could enable unauthorized execution if exposed or insufficiently authorized. The fragment alone does not establish malicious intent or show data theft; assess deployment context and access controls.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

This file implements a WebSocket command-and-control listener that registers implants and supports remote task execution, interactive shell control, file transfer, tunneling, and module delivery; these capabilities constitute unauthorized-remote-control risk if deployed without authorization. A concrete filesystem risk exists because PushFileUpload joins an unchecked sessionID into a staged-file path, permitting traversal if the caller can control that value. Packet parsing also accepts malformed headers and truncated payload lengths. No hardcoded secrets, external destinations, or obfuscated code are present; overall severity is high due to the explicit C2 capabilities and the path-handling weakness.

kagesec

0.4.0

Live on pypi

Blocked by Socket

This content is not benign dependency code; it is an exploitation/authentication attempt template containing hardcoded credentials tied to a critical Confluence vulnerability. While it does not show further malware behaviors (e.g., persistence or exfiltration) beyond login probing, it is strongly indicative of abuse/exploit intent and should be treated as high-risk if encountered within a software supply chain.

github.com/iQingshan/Toshell

v1.3.6-0.20260927151533-576e50d39714

Live on go

Blocked by Socket

This fragment implements a high-impact remote-agent C2 API with payload generation, task delivery, persistence, evasion, injection, credential, and surveillance-related capabilities; it is not ordinary application functionality. The main API is configured for web-gating and authentication, but implant routes are exempt and payload/UAC downloads are described as unauthenticated, so deployment exposure is a material security concern. No hardcoded external domains, IPs, or credentials, and no clear obfuscation or direct exfiltration destination, are present in this fragment. Severity: high due to the capabilities exposed, although malicious intent cannot be established from this file alone.

github.com/iQingshan/Toshell

v1.4.4-0.20261123032029-d96133bfb881

Live on go

Blocked by Socket

The code implements a TLS polling client that sends registration and heartbeat POSTs to a configurable endpoint. Its explicit C2 references, beacon-like behavior, and disabled certificate validation are suspicious and warrant review, though this fragment contains no command execution or collection of system data. Severity is elevated by the possibility of unauthenticated server impersonation and unbounded response allocation; the default endpoint is 127.0.0.1:8443 and the path is /api/v1/poll.

Get Visibility Into Open Source Dependencies with Real-Time Security Feedback

Proactively search and detect dependencies across repositories in your organization, with actionable insights for your projects and SBOMs

Organization Dashboard

Open Source Supply Chain Attack Prevention

Block Malware and Typosquatting

Block emerging malware threats, including intentionally maintainer-added updates, along with packages that differ in name by only a few characters..

Detect Privileged API Usage

Get alerted when a dependency update introduces new risky API usage - filesystem, network, child_process, eval().

Detect Hidden Code

Detect obfuscated, minified, or hidden code.

Detect Suspicious Updates

Socket detects the sudden inclusion of a new maintainer, updates with telemetry or protestware added, dependencies pulled in from a remote git URL, and much more.

We help security teams work more efficiently

Cut through the noise and focus on real threats.

Get actionable alerts for the supply chain risks that matter. Socket highlights risky dependencies directly within the developer workflow.