light-file-reading
Warn
Audited by Snyk on Jun 13, 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). 该技能在运行时会对“已有文件”执行解析:例如
scripts/pdf_ops.py用pdfplumber.open(path)读取 PDF 文本(page.extract_text(layout=True))并把提取到的正文/表格内容作为字符串喂入后续 LLM 上下文;若该文件由外部作者提供,则属于“外部文档正文/表格文本”这一类的间接提示注入风险。
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata