fine-tuning-with-trl
Warn
Audited by Snyk on Apr 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.90). The skill's workflows explicitly load public Hugging Face datasets and repos (e.g., load_dataset("trl-lib/Capybara"), load_dataset("trl-lib/ultrafeedback_binarized"), and the CLI --dataset_name argilla/Capybara-Preferences) and use them as training/reward data and for online generation, so untrusted, user-contributed content from these third-party sources is ingested and can materially change model/tool behavior.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.80). The skill calls load_dataset at runtime for remote Hugging Face datasets (e.g., trl-lib/Capybara -> https://huggingface.co/datasets/trl-lib/Capybara and trl-lib/ultrafeedback_binarized -> https://huggingface.co/datasets/trl-lib/ultrafeedback_binarized), which fetches prompt/completion data that directly controls instruction-tuning and is relied on in the example training pipeline.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata