brainstorming

Warn

Audited by Snyk on Jun 20, 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.65). The runtime path scripts/helper.js captures click text from the rendered HTML (target.textContent) and sends it over WebSocket as JSON (type: 'click' / type: 'choice'), which the server persists to STATE_DIR/events; if the agent later reads these events and includes them in the LLM context, that click text is outsider-authored free text (any user interacting with the UI).

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 20, 2026, 11:51 AM
Issues
1
Security Audit — snyk — brainstorming