hugging-face-model-trainer

Warn

Audited by Snyk on Jun 21, 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). Outsider free text can enter the LLM context via load_dataset(...) fetching dataset examples from an arbitrary Hub dataset specified at runtime (e.g., user-provided --dataset/dataset_name), where the training script then tokenizes and feeds the dataset’s messages/text content into the model during training.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

Issues (2)

W011
MEDIUM

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

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 21, 2026, 11:03 AM
Issues
2
Security Audit — snyk — hugging-face-model-trainer