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

Socket for Java

Secure Your Java Projects

Install our free GitHub app to protect Java dependencies from vulnerable and malicious code.

Detect and block malware, mining software, open source license violations, code quality issues, and 70+ indicators of supply chain attacks. Socket is a full-featured enterprise-ready SCA tool that can be seamlessly dropped into your workflow with just two clicks.

Install GitHub AppContact Sales
Socket for Java

Socket supports Maven and Gradle

And all your favorite tools

We protect you from vulnerable and malicious Java packages

io.github.reajason:packer

2.7.1

Live on maven

Blocked by Socket

This script implements an unguarded dynamic JVM bytecode loader and executor. If attacker-controlled base64Str or className are possible, this is an immediate and critical remote code execution backdoor. Even if inputs are intended to be trusted, the technique is dangerous and should only be used with strong validation (cryptographic signatures, strict origin checks) and within a hardened sandbox/limited-permission ClassLoader. Treat occurrences of this code pattern as high-risk and review calling context and template injection controls before use.

io.github.reajason:generator

2.7.1

Live on maven

Blocked by Socket

This class is a clear malicious backdoor / webshell (memory-shell) for Jetty servers. It listens for a covert header/parameter combination, decrypts and loads arbitrary class bytes into the JVM (using Unsafe or defineClass via reflection), instantiates and interacts with the payload, and returns encoded output. It bypasses module and classloader protections and uses static secrets and reflection to evade detection. Do not deploy or run this component; treat as high-risk compromise and remove/scan for other implants.

dev.soundness:ethereal-core

0.61.0

Live on maven

Blocked by Socket

This module is a high-risk supply-chain component: when triggered by a specific exception type, it derives runtime environment/platform details, conditionally downloads platform-specific “runner” bytes, validates them using a public-key-length-like invariant, and assembles/installs the resulting artifact into a local cache/runners directory. While explicit execution of the installed payload is not shown in this fragment, the download+install bootstrapper pattern inside a library method is strongly indicative of malicious behavior or at minimum unauthorized runtime binary deployment. The appropriate response is to quarantine the dependency version, inspect the implementations of Runners$.download and Assembler$.assemble, and verify network destinations and what is ultimately executed.

dev.soundness:ethereal-core

0.62.0

Live on maven

Blocked by Socket

This module is best characterized as an exception-triggered loader/installer: it derives platform/build identifiers, conditionally downloads a platform-specific binary payload as byte[], writes it into a local cache/work directory with write-enabled filesystem options, verifies the payload using a public-key-length gate, and then assembles/installs it. While the exact network endpoint and activation/execution steps are abstracted behind other classes, the download-to-disk-to-assemble flow is a strong malware/dropper-style supply-chain indicator and should be treated as high security risk pending deeper review of the download and assembly implementations.

io.github.reajason:packer

2.10.0

Live on maven

Blocked by Socket

This class constructs a known deserialization gadget chain: it creates/loads a TemplatesImpl containing arbitrary class bytes and embeds it into a PriorityQueue wired with a modified BeanComparator using ByteBuddy and reflective field mutation. The final object graph is sent to a generator that produces a serialized payload string. This is an explicit exploit-construction utility (not benign). It enables creation of payloads that can trigger arbitrary bytecode execution when fed to vulnerable deserializers (TemplatesImpl gadget). Use of this code represents a high security risk and should be treated as malicious in the context of producing exploitation payloads.

org.eclipse.jetty.demos:jetty-servlet4-demo-jetty-webapp

12.1.13

Live on maven

Blocked by Socket

Conclusion: The servlet fragment contains severe security risks in a software supply chain context. The most critical risk is pathInfo-driven reflection that can load arbitrary classes and instantiate/throw them, enabling remote code execution or destabilizing behavior. Additional risks include input echoing in verbose HTML, input-driven delays (sleep), redirects, and broad exposure of internal state via diagnostics output. Immediate remediation should include: eliminating or strictly sanitizing the reflection path (do not load arbitrary classes from user input), validating and constraining allowed path/info inputs, removing or gating sleep-based delays, sanitizing all echoed data, removing sensitive diagnostics output, and ensuring proper access controls so that only trusted clients can trigger any potentially dangerous logic. Prefer a minimal, well-audited implementation with deterministic responses and no reflective behavior driven by untrusted inputs.

dev.soundness:ziggurat-core

0.63.0

Live on maven

Blocked by Socket

This fragment is a classic self-unpacking Windows batch dropper/launcher: it extracts architecture-specific encoded blobs from its own script text, decodes them with `certutil -decode`, writes a runnable `.exe` beside the script, and then deletes the batch and intermediate files while executing the dropped binary. The absence of any integrity verification makes the decoded payload a high-risk element in a supply-chain context. While network/persistence/credential theft are not shown in this fragment, the payload-dropping and execution behavior alone is strongly suspicious and warrants treating the produced `%~dpn0.exe` as potentially malicious until inspected (hash/signature and runtime behavior).

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class implements a memory-resident webshell/backdoor: it listens for specially-marked HTTP requests (controlled by headerName/headerValue), decodes and decrypts supplied bytecode, uses Unsafe/reflective defineClass to load it into the JVM, instantiates it, and returns encoded results. This enables arbitrary remote code execution inside the process and is a high-risk malicious component. Do not use; remove and investigate runtime impact and any persisted presence. Recommend incident response steps: isolate host, scan for similar classes, check static field values and where class was introduced, and rotate any credentials possibly exposed by the payload.

dev.soundness:ethereal-core

0.62.0

Live on maven

Blocked by Socket

This module implements a high-risk staging-and-execution workflow: it writes an externally provided byte[] to a computed local cache/data file and then spawns a process using a command string sourced from runtime system properties ("ethereal" -> "script"), followed by JVM termination. The combination of (1) arbitrary payload-to-disk, (2) configuration-driven process execution, and (3) System.exit(0) is strongly consistent with an installer/launcher mechanism but can also serve as a supply-chain dropper/loader. The absence of visible integrity checks or command validation in this fragment warrants treating this as an urgent security review finding.

com.expressionmap:expressionmap

0.1.8

Live on maven

Blocked by Socket

This module is a high-risk runtime code-loading component: it reads secret material from a filesystem path specified via system property, derives an AES SecretKey, optionally transforms/decrypts class byte arrays, and then defines classes at runtime using defineClass. It further broadens its ability to source bytecode by attempting classloader resource lookup and scanning java.class.path entries via FileInputStream. Even though no overt network or persistence is present in this fragment, the combination of secret-derived transformation and dynamic defineClass makes it a significant supply-chain/sandbox-escape concern and warrants deeper review of the transformation logic and the provenance of USER_KEY and loaded resources.

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class is a backdoor webshell/memshell allowing remote actors to tunnel arbitrary TCP traffic and HTTP requests through the host application. It uses a stealth trigger header and a custom XOR-obfuscated binary protocol to receive commands and parameters, can connect to arbitrary hosts/ports (or redirect via HTTP), store persistent stream handles in memory keyed by client IDs, and deliberately disables SSL verification to permit connections to HTTPS endpoints without certificate checks. This code constitutes a malicious backdoor capable of server-side request forgery, internal network pivoting, and covert data exfiltration. It should be treated as high-risk and removed or quarantined.

io.github.reajason:generator

2.8.0

Live on maven

Blocked by Socket

This module is a highly suspicious/confirmed malicious payload loader: it uses a header/parameter trigger to Base64-decode attacker-supplied bytes into bytecode, reflectively defines that bytecode as a new JVM class (ClassLoader#defineClass with setAccessible), and instantiates it during a Struts2 request while providing HTTP request/response context. This is consistent with a Java memory shell/webshell and represents extreme security risk for any environment where it can be invoked.

io.github.ifeng113:debug4j-core

0.2.0

Live on maven

Blocked by Socket

This module is extremely high risk. It hardcodes a root password, installs and starts an SSH server, and explicitly configures OpenSSH to permit password-based root login. It also uses `sshpass` to validate login using that credential. While the snippet shows no obvious data exfiltration or C2, it clearly provisions a remote-access pathway with a known credential, which is strongly indicative of malicious or dangerously insecure supply-chain behavior.

com.spectralogic.ds3:ds3-metadata

6.0.0

Live on maven

Blocked by Socket

Overall, this module’s main security concern is restoreFlagsWindows: it derives an external OS command from untrusted metadata (ds3-flags) and then executes it (Runtime.exec), embedding the target path (objectName) into the command line. While the rest of the code performs plausible Windows ownership/ACL restoration using JNA and NIO APIs, the metadata-driven process execution creates a plausible supply-chain sabotage vector if attacker-controlled metadata reaches this restoration flow. Recommend strict allowlisting/escaping and removal or hardening of Runtime.exec (fixed argv array + strict grammar validation) plus logging review for sensitive path disclosure.

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class is a malicious webshell/memshell component. It implements a custom binary protocol carried over HTTP requests, accepts a trigger header, opens arbitrary outbound TCP and HTTP(S) connections to attacker-specified hosts/ports, disables TLS verification, and stores persistent connection handles in a static context to enable continued remote control or tunneling. It should be considered a backdoor and removed/treated as compromise if found running in production.

io.github.reajason:generator

2.7.1

Live on maven

Blocked by Socket

This class implements a WebSocket-based remote loader/webshell: it accepts binary input, optionally decrypts it with AES (using a static key), detects Java class file bytes and defines the class at runtime (using Unsafe and reflective defineClass), instantiates and executes it, and returns output/errors back over the WebSocket. This is effectively a remote code execution backdoor and should be treated as malicious and high-risk. Do not use; investigate and remove, and treat any artifact using this code as compromised.

com.expressionmap:expressionmap

0.1.3

Live on maven

Blocked by Socket

This module is a high-risk runtime code-loading component: it reads secret material from a filesystem path specified via system property, derives an AES SecretKey, optionally transforms/decrypts class byte arrays, and then defines classes at runtime using defineClass. It further broadens its ability to source bytecode by attempting classloader resource lookup and scanning java.class.path entries via FileInputStream. Even though no overt network or persistence is present in this fragment, the combination of secret-derived transformation and dynamic defineClass makes it a significant supply-chain/sandbox-escape concern and warrants deeper review of the transformation logic and the provenance of USER_KEY and loaded resources.

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class is a covert remote access/tunneling backdoor (memshell). It triggers on a specific HTTP header+value and a custom content-type, decodes a binary payload to obtain commands and connection targets, opens outbound sockets or HTTP(S) requests (with TLS checks disabled), proxies data bi-directionally, and persists stream handles in a static context. It is designed to provide an attacker interactive access or a data exfiltration channel and should be treated as malicious. Remove and investigate any systems where this code is present and assume compromise.

io.github.reajason:generator

2.8.0

Live on maven

Blocked by Socket

This class is a malicious Tomcat memshell/backdoor. It listens for requests containing a specific header and content-type, unmarshals a custom binary protocol, and can open outbound TCP or HTTP(S) connections, proxy bidirectional data over HTTP, and maintain persistent in-memory channels via a ctx map. It disables SSL verification for HTTPS outbound connections (hostname verifier always returns true and TrustManager is inert). The behavior allows remote access and data exfiltration; therefore the code should be treated as high risk and removed/blocked.

io.github.reajason:packer

2.9.0

Live on maven

Blocked by Socket

This class is an exploit payload builder for Java deserialization vulnerabilities. It constructs a gadget chain using BeanComparator + PriorityQueue + TemplatesImpl, injects attacker-supplied class bytes into TemplatesImpl, and produces a serialized payload via JavaDeserializeGenerator. In a supply-chain context this is high risk: the code is explicitly designed to create deserialization RCE payloads and should not be included in production code or trusted packages unless this behavior is explicitly required and tightly controlled (e.g., for penetration testing).

xyz.matthieucourt:layoutz_3

0.8.0

Live on maven

Blocked by Socket

This module is highly suspicious because it provides direct, caller-driven capabilities to (1) read and write the host clipboard via pbpaste/pbcopy/xclip, (2) perform outbound HTTP GET/POST via curl with dynamically constructed headers/body/URL, and (3) read/write arbitrary files using caller-provided paths. While full intent cannot be proven without the omitted orchestration code, the combination of local data harvesting (clipboard + filesystem) with network execution (curl) is consistent with agent/spyware-style behavior and warrants quarantine and deeper review.

org.eclipse.jetty.demos:jetty-servlet4-demo-jetty-webapp

12.1.14

Live on maven

Blocked by Socket

Conclusion: The servlet fragment contains severe security risks in a software supply chain context. The most critical risk is pathInfo-driven reflection that can load arbitrary classes and instantiate/throw them, enabling remote code execution or destabilizing behavior. Additional risks include input echoing in verbose HTML, input-driven delays (sleep), redirects, and broad exposure of internal state via diagnostics output. Immediate remediation should include: eliminating or strictly sanitizing the reflection path (do not load arbitrary classes from user input), validating and constraining allowed path/info inputs, removing or gating sleep-based delays, sanitizing all echoed data, removing sensitive diagnostics output, and ensuring proper access controls so that only trusted clients can trigger any potentially dangerous logic. Prefer a minimal, well-audited implementation with deterministic responses and no reflective behavior driven by untrusted inputs.

dev.soundness:ziggurat-core

0.62.0

Live on maven

Blocked by Socket

This fragment is a classic self-unpacking Windows batch dropper/launcher: it extracts architecture-specific encoded blobs from its own script text, decodes them with `certutil -decode`, writes a runnable `.exe` beside the script, and then deletes the batch and intermediate files while executing the dropped binary. The absence of any integrity verification makes the decoded payload a high-risk element in a supply-chain context. While network/persistence/credential theft are not shown in this fragment, the payload-dropping and execution behavior alone is strongly suspicious and warrants treating the produced `%~dpn0.exe` as potentially malicious until inspected (hash/signature and runtime behavior).

io.github.reajason:packer

2.9.0

Live on maven

Blocked by Socket

This class constructs a known deserialization gadget chain: it creates/loads a TemplatesImpl containing arbitrary class bytes and embeds it into a PriorityQueue wired with a modified BeanComparator using ByteBuddy and reflective field mutation. The final object graph is sent to a generator that produces a serialized payload string. This is an explicit exploit-construction utility (not benign). It enables creation of payloads that can trigger arbitrary bytecode execution when fed to vulnerable deserializers (TemplatesImpl gadget). Use of this code represents a high security risk and should be treated as malicious in the context of producing exploitation payloads.

com.vaadin:vaadin-dev-bundle

25.2.0-rc1

Live on maven

Blocked by Socket

This bundled fragment contains a critical arbitrary code execution sink: the embedded Spreadsheet/GWT runtime performs `eval()` on strings read from DOM attributes. If an attacker can influence those attributes (e.g., via compromised markup or earlier injection), the code enables arbitrary JavaScript execution in the page context, representing a severe supply-chain/sabotage risk. Separately, the rich-text editor includes a sensitive HTML ingestion path (`dangerouslySetHtmlValue`) and uses HTML parsing helpers, which could increase XSS risk depending on Quill sanitization, but the eval-based loader is the primary, definitive security issue.

io.github.reajason:packer

2.7.1

Live on maven

Blocked by Socket

This script implements an unguarded dynamic JVM bytecode loader and executor. If attacker-controlled base64Str or className are possible, this is an immediate and critical remote code execution backdoor. Even if inputs are intended to be trusted, the technique is dangerous and should only be used with strong validation (cryptographic signatures, strict origin checks) and within a hardened sandbox/limited-permission ClassLoader. Treat occurrences of this code pattern as high-risk and review calling context and template injection controls before use.

io.github.reajason:generator

2.7.1

Live on maven

Blocked by Socket

This class is a clear malicious backdoor / webshell (memory-shell) for Jetty servers. It listens for a covert header/parameter combination, decrypts and loads arbitrary class bytes into the JVM (using Unsafe or defineClass via reflection), instantiates and interacts with the payload, and returns encoded output. It bypasses module and classloader protections and uses static secrets and reflection to evade detection. Do not deploy or run this component; treat as high-risk compromise and remove/scan for other implants.

dev.soundness:ethereal-core

0.61.0

Live on maven

Blocked by Socket

This module is a high-risk supply-chain component: when triggered by a specific exception type, it derives runtime environment/platform details, conditionally downloads platform-specific “runner” bytes, validates them using a public-key-length-like invariant, and assembles/installs the resulting artifact into a local cache/runners directory. While explicit execution of the installed payload is not shown in this fragment, the download+install bootstrapper pattern inside a library method is strongly indicative of malicious behavior or at minimum unauthorized runtime binary deployment. The appropriate response is to quarantine the dependency version, inspect the implementations of Runners$.download and Assembler$.assemble, and verify network destinations and what is ultimately executed.

dev.soundness:ethereal-core

0.62.0

Live on maven

Blocked by Socket

This module is best characterized as an exception-triggered loader/installer: it derives platform/build identifiers, conditionally downloads a platform-specific binary payload as byte[], writes it into a local cache/work directory with write-enabled filesystem options, verifies the payload using a public-key-length gate, and then assembles/installs it. While the exact network endpoint and activation/execution steps are abstracted behind other classes, the download-to-disk-to-assemble flow is a strong malware/dropper-style supply-chain indicator and should be treated as high security risk pending deeper review of the download and assembly implementations.

io.github.reajason:packer

2.10.0

Live on maven

Blocked by Socket

This class constructs a known deserialization gadget chain: it creates/loads a TemplatesImpl containing arbitrary class bytes and embeds it into a PriorityQueue wired with a modified BeanComparator using ByteBuddy and reflective field mutation. The final object graph is sent to a generator that produces a serialized payload string. This is an explicit exploit-construction utility (not benign). It enables creation of payloads that can trigger arbitrary bytecode execution when fed to vulnerable deserializers (TemplatesImpl gadget). Use of this code represents a high security risk and should be treated as malicious in the context of producing exploitation payloads.

org.eclipse.jetty.demos:jetty-servlet4-demo-jetty-webapp

12.1.13

Live on maven

Blocked by Socket

Conclusion: The servlet fragment contains severe security risks in a software supply chain context. The most critical risk is pathInfo-driven reflection that can load arbitrary classes and instantiate/throw them, enabling remote code execution or destabilizing behavior. Additional risks include input echoing in verbose HTML, input-driven delays (sleep), redirects, and broad exposure of internal state via diagnostics output. Immediate remediation should include: eliminating or strictly sanitizing the reflection path (do not load arbitrary classes from user input), validating and constraining allowed path/info inputs, removing or gating sleep-based delays, sanitizing all echoed data, removing sensitive diagnostics output, and ensuring proper access controls so that only trusted clients can trigger any potentially dangerous logic. Prefer a minimal, well-audited implementation with deterministic responses and no reflective behavior driven by untrusted inputs.

dev.soundness:ziggurat-core

0.63.0

Live on maven

Blocked by Socket

This fragment is a classic self-unpacking Windows batch dropper/launcher: it extracts architecture-specific encoded blobs from its own script text, decodes them with `certutil -decode`, writes a runnable `.exe` beside the script, and then deletes the batch and intermediate files while executing the dropped binary. The absence of any integrity verification makes the decoded payload a high-risk element in a supply-chain context. While network/persistence/credential theft are not shown in this fragment, the payload-dropping and execution behavior alone is strongly suspicious and warrants treating the produced `%~dpn0.exe` as potentially malicious until inspected (hash/signature and runtime behavior).

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class implements a memory-resident webshell/backdoor: it listens for specially-marked HTTP requests (controlled by headerName/headerValue), decodes and decrypts supplied bytecode, uses Unsafe/reflective defineClass to load it into the JVM, instantiates it, and returns encoded results. This enables arbitrary remote code execution inside the process and is a high-risk malicious component. Do not use; remove and investigate runtime impact and any persisted presence. Recommend incident response steps: isolate host, scan for similar classes, check static field values and where class was introduced, and rotate any credentials possibly exposed by the payload.

dev.soundness:ethereal-core

0.62.0

Live on maven

Blocked by Socket

This module implements a high-risk staging-and-execution workflow: it writes an externally provided byte[] to a computed local cache/data file and then spawns a process using a command string sourced from runtime system properties ("ethereal" -> "script"), followed by JVM termination. The combination of (1) arbitrary payload-to-disk, (2) configuration-driven process execution, and (3) System.exit(0) is strongly consistent with an installer/launcher mechanism but can also serve as a supply-chain dropper/loader. The absence of visible integrity checks or command validation in this fragment warrants treating this as an urgent security review finding.

com.expressionmap:expressionmap

0.1.8

Live on maven

Blocked by Socket

This module is a high-risk runtime code-loading component: it reads secret material from a filesystem path specified via system property, derives an AES SecretKey, optionally transforms/decrypts class byte arrays, and then defines classes at runtime using defineClass. It further broadens its ability to source bytecode by attempting classloader resource lookup and scanning java.class.path entries via FileInputStream. Even though no overt network or persistence is present in this fragment, the combination of secret-derived transformation and dynamic defineClass makes it a significant supply-chain/sandbox-escape concern and warrants deeper review of the transformation logic and the provenance of USER_KEY and loaded resources.

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class is a backdoor webshell/memshell allowing remote actors to tunnel arbitrary TCP traffic and HTTP requests through the host application. It uses a stealth trigger header and a custom XOR-obfuscated binary protocol to receive commands and parameters, can connect to arbitrary hosts/ports (or redirect via HTTP), store persistent stream handles in memory keyed by client IDs, and deliberately disables SSL verification to permit connections to HTTPS endpoints without certificate checks. This code constitutes a malicious backdoor capable of server-side request forgery, internal network pivoting, and covert data exfiltration. It should be treated as high-risk and removed or quarantined.

io.github.reajason:generator

2.8.0

Live on maven

Blocked by Socket

This module is a highly suspicious/confirmed malicious payload loader: it uses a header/parameter trigger to Base64-decode attacker-supplied bytes into bytecode, reflectively defines that bytecode as a new JVM class (ClassLoader#defineClass with setAccessible), and instantiates it during a Struts2 request while providing HTTP request/response context. This is consistent with a Java memory shell/webshell and represents extreme security risk for any environment where it can be invoked.

io.github.ifeng113:debug4j-core

0.2.0

Live on maven

Blocked by Socket

This module is extremely high risk. It hardcodes a root password, installs and starts an SSH server, and explicitly configures OpenSSH to permit password-based root login. It also uses `sshpass` to validate login using that credential. While the snippet shows no obvious data exfiltration or C2, it clearly provisions a remote-access pathway with a known credential, which is strongly indicative of malicious or dangerously insecure supply-chain behavior.

com.spectralogic.ds3:ds3-metadata

6.0.0

Live on maven

Blocked by Socket

Overall, this module’s main security concern is restoreFlagsWindows: it derives an external OS command from untrusted metadata (ds3-flags) and then executes it (Runtime.exec), embedding the target path (objectName) into the command line. While the rest of the code performs plausible Windows ownership/ACL restoration using JNA and NIO APIs, the metadata-driven process execution creates a plausible supply-chain sabotage vector if attacker-controlled metadata reaches this restoration flow. Recommend strict allowlisting/escaping and removal or hardening of Runtime.exec (fixed argv array + strict grammar validation) plus logging review for sensitive path disclosure.

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class is a malicious webshell/memshell component. It implements a custom binary protocol carried over HTTP requests, accepts a trigger header, opens arbitrary outbound TCP and HTTP(S) connections to attacker-specified hosts/ports, disables TLS verification, and stores persistent connection handles in a static context to enable continued remote control or tunneling. It should be considered a backdoor and removed/treated as compromise if found running in production.

io.github.reajason:generator

2.7.1

Live on maven

Blocked by Socket

This class implements a WebSocket-based remote loader/webshell: it accepts binary input, optionally decrypts it with AES (using a static key), detects Java class file bytes and defines the class at runtime (using Unsafe and reflective defineClass), instantiates and executes it, and returns output/errors back over the WebSocket. This is effectively a remote code execution backdoor and should be treated as malicious and high-risk. Do not use; investigate and remove, and treat any artifact using this code as compromised.

com.expressionmap:expressionmap

0.1.3

Live on maven

Blocked by Socket

This module is a high-risk runtime code-loading component: it reads secret material from a filesystem path specified via system property, derives an AES SecretKey, optionally transforms/decrypts class byte arrays, and then defines classes at runtime using defineClass. It further broadens its ability to source bytecode by attempting classloader resource lookup and scanning java.class.path entries via FileInputStream. Even though no overt network or persistence is present in this fragment, the combination of secret-derived transformation and dynamic defineClass makes it a significant supply-chain/sandbox-escape concern and warrants deeper review of the transformation logic and the provenance of USER_KEY and loaded resources.

io.github.reajason:generator

2.7.2

Live on maven

Blocked by Socket

This class is a covert remote access/tunneling backdoor (memshell). It triggers on a specific HTTP header+value and a custom content-type, decodes a binary payload to obtain commands and connection targets, opens outbound sockets or HTTP(S) requests (with TLS checks disabled), proxies data bi-directionally, and persists stream handles in a static context. It is designed to provide an attacker interactive access or a data exfiltration channel and should be treated as malicious. Remove and investigate any systems where this code is present and assume compromise.

io.github.reajason:generator

2.8.0

Live on maven

Blocked by Socket

This class is a malicious Tomcat memshell/backdoor. It listens for requests containing a specific header and content-type, unmarshals a custom binary protocol, and can open outbound TCP or HTTP(S) connections, proxy bidirectional data over HTTP, and maintain persistent in-memory channels via a ctx map. It disables SSL verification for HTTPS outbound connections (hostname verifier always returns true and TrustManager is inert). The behavior allows remote access and data exfiltration; therefore the code should be treated as high risk and removed/blocked.

io.github.reajason:packer

2.9.0

Live on maven

Blocked by Socket

This class is an exploit payload builder for Java deserialization vulnerabilities. It constructs a gadget chain using BeanComparator + PriorityQueue + TemplatesImpl, injects attacker-supplied class bytes into TemplatesImpl, and produces a serialized payload via JavaDeserializeGenerator. In a supply-chain context this is high risk: the code is explicitly designed to create deserialization RCE payloads and should not be included in production code or trusted packages unless this behavior is explicitly required and tightly controlled (e.g., for penetration testing).

xyz.matthieucourt:layoutz_3

0.8.0

Live on maven

Blocked by Socket

This module is highly suspicious because it provides direct, caller-driven capabilities to (1) read and write the host clipboard via pbpaste/pbcopy/xclip, (2) perform outbound HTTP GET/POST via curl with dynamically constructed headers/body/URL, and (3) read/write arbitrary files using caller-provided paths. While full intent cannot be proven without the omitted orchestration code, the combination of local data harvesting (clipboard + filesystem) with network execution (curl) is consistent with agent/spyware-style behavior and warrants quarantine and deeper review.

org.eclipse.jetty.demos:jetty-servlet4-demo-jetty-webapp

12.1.14

Live on maven

Blocked by Socket

Conclusion: The servlet fragment contains severe security risks in a software supply chain context. The most critical risk is pathInfo-driven reflection that can load arbitrary classes and instantiate/throw them, enabling remote code execution or destabilizing behavior. Additional risks include input echoing in verbose HTML, input-driven delays (sleep), redirects, and broad exposure of internal state via diagnostics output. Immediate remediation should include: eliminating or strictly sanitizing the reflection path (do not load arbitrary classes from user input), validating and constraining allowed path/info inputs, removing or gating sleep-based delays, sanitizing all echoed data, removing sensitive diagnostics output, and ensuring proper access controls so that only trusted clients can trigger any potentially dangerous logic. Prefer a minimal, well-audited implementation with deterministic responses and no reflective behavior driven by untrusted inputs.

dev.soundness:ziggurat-core

0.62.0

Live on maven

Blocked by Socket

This fragment is a classic self-unpacking Windows batch dropper/launcher: it extracts architecture-specific encoded blobs from its own script text, decodes them with `certutil -decode`, writes a runnable `.exe` beside the script, and then deletes the batch and intermediate files while executing the dropped binary. The absence of any integrity verification makes the decoded payload a high-risk element in a supply-chain context. While network/persistence/credential theft are not shown in this fragment, the payload-dropping and execution behavior alone is strongly suspicious and warrants treating the produced `%~dpn0.exe` as potentially malicious until inspected (hash/signature and runtime behavior).

io.github.reajason:packer

2.9.0

Live on maven

Blocked by Socket

This class constructs a known deserialization gadget chain: it creates/loads a TemplatesImpl containing arbitrary class bytes and embeds it into a PriorityQueue wired with a modified BeanComparator using ByteBuddy and reflective field mutation. The final object graph is sent to a generator that produces a serialized payload string. This is an explicit exploit-construction utility (not benign). It enables creation of payloads that can trigger arbitrary bytecode execution when fed to vulnerable deserializers (TemplatesImpl gadget). Use of this code represents a high security risk and should be treated as malicious in the context of producing exploitation payloads.

com.vaadin:vaadin-dev-bundle

25.2.0-rc1

Live on maven

Blocked by Socket

This bundled fragment contains a critical arbitrary code execution sink: the embedded Spreadsheet/GWT runtime performs `eval()` on strings read from DOM attributes. If an attacker can influence those attributes (e.g., via compromised markup or earlier injection), the code enables arbitrary JavaScript execution in the page context, representing a severe supply-chain/sabotage risk. Separately, the rich-text editor includes a sensitive HTML ingestion path (`dangerouslySetHtmlValue`) and uses HTML parsing helpers, which could increase XSS risk depending on Quill sanitization, but the eval-based loader is the primary, definitive security issue.

Socket CLI

Not using GitHub? Generate reports next to your tests with our CLI

Socket CLI
Install Socket CLI

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.