huggingface-lora-space-builder

Fail

Audited by Snyk on Aug 15, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 0.90). The skill explicitly instructs the agent to ask the user to "Paste" a Hugging Face access token into the chat and then reuse that token for repo creation and setting Space secrets, meaning the LLM would receive and be expected to handle a secret value in plaintext (exfiltration risk).

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

  • Third-party content exposure detected (medium risk: 0.30). In SKILL.md Phase 1/2, the agent fetches and reads the outsider-authored LoRA repository contents at runtime—ModelCard.load(repo_id) and list_repo_files(repo_id) consume the README/model-card text (including example prompts/code) before selecting the pipeline and constructing the UI.

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
Aug 15, 2026, 03:42 AM
Issues
3
Security Audit — snyk — huggingface-lora-space-builder