ssti-freemarker
Pass
Audited by Gen Agent Trust Hub on Jul 6, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill contains numerous payloads for achieving Remote Code Execution (RCE) across multiple Java template engines, including Freemarker, Velocity, Spring Expression Language (SpEL), Thymeleaf, Pebble, and Groovy. Evidence includes:
- Freemarker: Use of
freemarker.template.utility.Executeto run system commands. - Velocity: Reflection-based payloads using
java.lang.Runtimeto execute OS commands. - SpEL: Usage of the
T()operator to accessjava.lang.Runtimeorjava.lang.ProcessBuilderfor code execution. - Groovy: Direct execution via
".execute().text". - [COMMAND_EXECUTION]: The skill instructs the user or agent to employ external security tools to facilitate exploitation. Specifically, it references
sstimap,tplmap, andtinjafor automated vulnerability scanning and shell acquisition. - [DATA_EXFILTRATION]: Provides specific instructions and payloads for reading sensitive system files from the host environment. Evidence includes a Freemarker payload designed to resolve and read
/etc/passwdvia thejava.net.URIandopenStream()method chain. - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection attack surface by consuming data from an external state management server.
- Ingestion points: Data enters the context via the
get_state_summary()function from the state MCP server (file: SKILL.md). - Boundary markers: No delimiters or instructions to ignore embedded commands are present when processing the state summary.
- Capability inventory: The skill provides high-impact RCE payloads and utilizes external exploitation tools (file: SKILL.md).
- Sanitization: No validation or sanitization logic is specified for the data retrieved from the state summary.
- [REMOTE_CODE_EXECUTION]: Includes advanced evasion techniques to bypass Web Application Firewalls (WAFs) and security sandboxes. This includes character-by-character string construction in SpEL and obfuscation using Freemarker's
lower_abcbuilt-in.
Audit Metadata