ai-persistence

Warn

Audited by Snyk on Aug 12, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.30). The required runtime workflow for state persistence (withPersistence / withGenerationPersistence) reads and later reconstructs conversation state/messages and artifact metadata from caller-controlled request identifiers (threadId, runId, artifactId) via store methods like loadThread/reconstructChat/retrieveArtifact, which can expose the agent to outsider-authored free text if an outsider can submit that state to the backend queue/feed being monitored/consumed.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 12, 2026, 03:18 PM
Issues
1
Security Audit — snyk — ai-persistence