web-ssti-freemarker

Warn

Audited by Gen Agent Trust Hub on Oct 6, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONOBFUSCATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
  • [COMMAND_EXECUTION]: Provides numerous functional payloads for executing arbitrary system commands across multiple template engines, including Freemarker's Execute class, Velocity's Runtime.exec, and Spring Expression Language (SpEL) runtime calls via the JVM.- [DATA_EXFILTRATION]: Contains instructions and payloads for unauthorized access to sensitive data, specifically reading /etc/passwd via byte streams and harvesting environment variables through System.getenv(). It also suggests capturing AWS credentials during testing.- [OBFUSCATION]: Details methods for evading security monitoring and Web Application Firewalls (WAFs), such as using character-by-character command assembly in SpEL, alternative syntax markers in Freemarker, and string manipulation using internal engine functions like lower_abc to build keywords.- [DYNAMIC_EXECUTION]: Leverages advanced Java features such as reflection (getClass().forName), dynamic class loading, and object instantiation (newInstance) to facilitate arbitrary code execution within the target's JVM environment.- [PRIVILEGE_ESCALATION]: Includes techniques for manipulating application session state to gain unauthorized access, such as programmatically setting the admin attribute to true within the pageContext request session.- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external targets (URL parameters, form fields, and server error messages), creating a surface for potential indirect prompt injection attacks where a malicious target could influence the agent's behavior.
  • Ingestion points: Target URL parameters, form fields, and error page content (SKILL.md Step 1).
  • Boundary markers: No explicit delimiters or instructions are provided to the agent to treat target-supplied data as untrusted or to ignore potential commands within it.
  • Capability inventory: Extensive capabilities for command execution, file system access, and environment discovery across the toolkit.
  • Sanitization: Lacks evidence of input sanitization or output validation when processing content returned from external targets.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 6, 2026, 04:12 AM