ai-persistence/server
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to manage and merge chat message history from external HTTP requests into a persistent store, creating a vector for indirect prompt injection if malicious data is saved to the transcript.
- Ingestion points: The
chatParamsFromRequestfunction in the POST handler and thereconstructChatfunction in the GET handler ingest untrusted data from request bodies and query parameters. - Boundary markers: No explicit delimiter or instruction filtering is demonstrated in the message merging logic; it relies on standard model message arrays.
- Capability inventory: The skill utilizes a
persistenceadapter to perform write operations to storage backends (messages, runs, interrupts). - Sanitization: The implementation examples do not include explicit validation or sanitization of the message content before storage.
- [DATA_EXFILTRATION]: The documentation explicitly identifies a potential data exposure vulnerability where chat transcripts could be retrieved by guessing a
threadId. It provides a defensive coding pattern using anauthorizecallback to verify user ownership before serving history, which mitigates the risk of unauthorized data access.
Audit Metadata