FastAPI Background Tasks

Pass

Audited by Gen Agent Trust Hub on Nov 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes instructions for the user or agent to install the arq package via the system package manager.
  • Evidence: pip install arq in SKILL.md.
  • [INDIRECT_PROMPT_INJECTION]: The skill provides code patterns that ingest and process untrusted user data (e.g., log messages, email contents) which creates a surface for indirect prompt injection if implemented as shown without further sanitization.
  • Ingestion points: User-provided message in create_log and task parameters in SKILL.md.
  • Boundary markers: Absent from example code patterns.
  • Capability inventory: The patterns demonstrate file system writes (open('log.txt', 'a')) and service invocations (email sending, database cleanup) in SKILL.md.
  • Sanitization: Not present in the provided boilerplate code.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 24, 2026, 01:14 AM