gemma-trainer
Warn
Audited by Snyk on Jul 7, 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). Yes—outsider-authored free text from user-supplied dataset files (e.g., JSON/JSONL “messages”, “prompt”, “chosen”, “rejected”) is loaded at runtime and converted into chat-formatted strings that are then tokenized and fed into the model/LLM training context (e.g.,
assets/sft_train.pyusesload_dataset(...).train_test_split(...)andprocessor.apply_chat_template(...)onexample["messages"]).
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata