prompt-engineering-patterns

Pass

Audited by Gen Agent Trust Hub on Sep 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates the creation of prompt templates that interpolate external data into LLM prompts, creating a potential surface for indirect prompt injection.
  • Ingestion points: Data enters the agent context through test case inputs in scripts/optimize-prompt.py and various template variables across the reference files, such as references/details.md.
  • Boundary markers: The skill demonstrates the use of structured headers (e.g., ## Steps, ## Answer) and JSON schemas to separate reasoning from output, providing basic mitigation against instruction confusion.
  • Capability inventory: The skill's scripts can perform network requests to LLM APIs (Anthropic, OpenAI) and write optimization results to local files.
  • Sanitization: The skill does not implement runtime sanitization for general inputs but does explicitly recommend best practices like parameterized SQL queries to prevent specialized injection attacks.
  • [EXTERNAL_DOWNLOADS]: The skill references several well-known and trusted external libraries for AI development and data analysis.
  • Evidence: Mentions and utilizes packages including langchain, pydantic, openai, anthropic, sentence-transformers, numpy, scikit-learn, and scipy. These are established tools from reputable organizations.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 22, 2026, 08:12 PM