FastAPI Caching

Fail

Audited by Snyk on Nov 24, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E004: Prompt injection detected in skill instructions.

  • Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate caching guide, but its response-caching middleware keys entries only on method, path, and query and replays stored headers, including any Set-Cookie, so one user's authenticated responses could be served to another; this is a careless flaw, not malicious intent, and I rate it medium under the recall-first override.

MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill's code performs runtime writes and pattern deletions against a Redis instance, which is an operational change, but no irreversible loss of meaningful operational state is shown because cached data is regenerable (gate 2 fails).

Issues (2)

E004
CRITICAL

Prompt injection detected in skill instructions.

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 24, 2026, 01:14 AM
Issues
2