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.py uses load_dataset(...).train_test_split(...) and processor.apply_chat_template(...) on example["messages"]).

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 7, 2026, 01:26 AM
Issues
1
Security Audit — snyk — gemma-trainer