hugging-face-model-trainer

Warn

Audited by Snyk on Jun 20, 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). The required runtime workflow can ingest outsider-authored free text from the user-specified Hugging Face dataset via datasets.load_dataset(...) (e.g., scripts/train_sft_example.py / train_dpo_example.py / train_grpo_example.py), which then becomes LLM-readable training text in the job’s context; additionally, the optional dataset_inspector.py fetches and prints dataset rows (including example field contents) to stdout, which the agent may read/parse.

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 20, 2026, 03:15 AM
Issues
2
Security Audit — snyk — hugging-face-model-trainer