water-tracker

Warn

Audited by Snyk on Aug 17, 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). 运行时会将用户可控的“note/饮水记录备注”(来自 addWater 的输入并写入 water_daily)通过 getWaterRecords 的云函数返回后,直接进入 LLM/AI 结果 structuredContent 再被前端渲染(如 water-records/index.js 使用 data.result.structuredContent,且 wxml 展示 item.dateLabel/statusText 等文本)。

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 17, 2026, 04:58 AM
Issues
1
Security Audit — snyk — water-tracker