text-scramble

Pass

Audited by Gen Agent Trust Hub on Sep 11, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes text data from element attributes or function arguments and renders it using innerHTML without sanitization, creating a surface for indirect injection via malicious HTML or scripts.
  • Ingestion points: The scrambleTo function in text-scramble.js accepts text via the newText parameter and the data-text attribute.
  • Boundary markers: No boundary markers are used to delimit the text content or warn the agent about embedded instructions.
  • Capability inventory: The script uses el.innerHTML to update the DOM, which can execute embedded script tags or render malicious HTML if the input is attacker-controlled.
  • Sanitization: The implementation lacks any sanitization or escaping logic for the characters being resolved into the final string.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 11, 2026, 11:51 AM
Security Audit — agent-trust-hub — text-scramble