regex-vs-llm-structured-text

Pass

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONNO_CODE
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill documentation includes a Python code pattern for a 'Hybrid Pipeline' that processes untrusted text from external documents.
  • Ingestion points: The 'content' parameter in the 'process_document' function and 'original_text' in 'validate_with_llm' (SKILL.md) are used to ingest external, untrusted data.
  • Boundary markers: The prompt template in the 'validate_with_llm' function does not use delimiters (like XML tags or clear separators) or instructions to ignore potential commands embedded within the text being parsed.
  • Capability inventory: The pattern demonstrates using an LLM client to process the interpolated text, which could be manipulated by the input content.
  • Sanitization: The provided implementation lacks escaping, filtering, or validation of the input text before it is interpolated directly into the LLM prompt.
  • [NO_CODE]: The skill consists entirely of documentation and illustrative code snippets within the SKILL.md file. It does not contain standalone scripts, executables, or configuration files that run code on the host.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 29, 2026, 12:56 AM