streamlit
Warn
Audited by Snyk on Jun 22, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). Outsider free text is ingested via
st.chat_input()inpages/ai_chat.py, where the user’s prompt (not authored by the operating user) is appended tost.session_state.messagesand then sent to the LLM asmessages=st.session_state.messages(indirect prompt injection risk).
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata