trigger-authoring-chat-agent
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
chat.agentruntime ingests the conversation text viarun: async ({ messages ... })wheremessagesare derived from the frontendsendMessage({ text })history transported throughuseTriggerChatTransport, meaning outsider-authored user chat messages flow directly intostreamText({ ...chat.toStreamTextOptions(), messages }).
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata