huggingface-lora-space-builder

Fail

Audited by Snyk on Jun 25, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The prompt explicitly instructs the agent to ask the user to "Paste [the Hugging Face token] here" and to reuse that token for repo reads/publishing, forcing the LLM to receive and handle a secret value in-chat (risking verbatim exposure).

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

  • Third-party content exposure detected (high risk: 0.85). The skill ingests outsider-authored free text from the LoRA’s Hub model card/README (e.g., ModelCard.load(repo_id) and base_card.text), which is then placed into the agent’s LLM context to extract parameters/UI details—this is indirect prompt-injection exposure from arbitrary third-party README content.

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

Issues (3)

W007
HIGH

Insecure credential handling detected in skill instructions.

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
HIGH
Analyzed
Jun 25, 2026, 09:19 PM
Issues
3
Security Audit — snyk — huggingface-lora-space-builder