huggingface-lora-space-builder

Fail

Audited by Snyk on Jul 16, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The skill explicitly instructs the agent to ask the user to "Paste it here" for a Hugging Face access token and then reuse that token in API calls (e.g. create/upload/add_space_secret, CLI predict examples), which requires the LLM to receive and potentially embed the secret verbatim in outputs or commands.

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

  • Third-party content exposure detected (high risk: 0.75). Yes: in Phase 1 the workflow fetches outsider-authored LoRA model-card/README text from the Hub (e.g., ModelCard.load(repo_id) and card.text), which is then read/used to construct the agent’s LLM-visible context (trigger words, example prompts/media, and other prose-derived fields).

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
Jul 16, 2026, 04:12 PM
Issues
3
Security Audit — snyk — huggingface-lora-space-builder