ai-app-hardening

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONPROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill explicitly targets the mitigation of indirect prompt injection by providing a sanitization framework for third-party content.
  • Ingestion points: The sanitizeRAGDocument function handles raw document content from scraped URLs and RAG sources.
  • Boundary markers: The skill instructs the agent to use <external_context> XML delimiters to isolate user and external inputs.
  • Capability inventory: Access to Read, Grep, Glob, Edit, and Write tools is defined for security scanning and hardening tasks.
  • Sanitization: The sanitizeRAGDocument function utilizes regex to redact trigger phrases like 'override system prompt' and removes structural tag injection attempts.
  • [PROMPT_INJECTION]: Static analysis flagged the presence of phrases like 'you are now in developer mode'. Contextual review confirms these are intended as redaction targets within a defensive code block rather than active injection attempts. This represents a safe, defensive use of these patterns.
  • [SAFE]: The skill defines a strict 'Verification-Before-Completion' protocol and 'Forbidden AI Tropes' to ensure output integrity and prevent context amnesia, which aligns with security best practices for AI agents.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 03:47 PM