Back to skill

Security audit

Hugging Face

Security checks for vulnerabilities and agentic risk

Overview

This skill needs review because setup executes unverified downloads and its safety rules treat potentially billable AI generation as harmless reading.

Review and approve CLI installation separately, including any bundled agent skills it installs, and prefer a pinned, verified release. Treat chat completion and embeddings as explicitly requested inference operations with agreed input and spending limits. Requests pass through OOMOL; review connection permissions before sharing sensitive data. External installer and connector implementations were not bundled or executed in this review.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The missing-CLI fallback expands a Hugging Face data task into downloading and executing third-party code on the host without an explicit approval checkpoint or artifact verification. Installation is a plausible prerequisite rather than evidence of malicious intent, but a compromised installation endpoint could execute arbitrary code with the invoking user's permissions; this overlaps findings SQP-2 and SC2.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

The supplied chunk performs only a login command and provides no connection between oo and Hugging Face. Authentication could support a larger implementation, but the supplied code does not establish that relationship or implement the declared functionality. The command alone does not demonstrate credential theft or other malicious behavior.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping the HTTPS installer directly into bash executes whatever script the endpoint returns, without pinning, inspection, or independent integrity verification. HTTPS protects transport but does not protect against a compromised distribution server or malicious installer update; this is the same underlying installation risk identified in TP4 and SQP-2.

Content

Scanner excerpt · SKILL.md (reported line 68)May include surrounding context.

The skill exposes inference generation despite describing its purpose as searching and reading data.

Medium
Category
Excessive Agency
Confidence
91% confidence
Finding

The manifest at L03 describes searching and reading Hugging Face data, but L40–L41 expose chat-completion and embedding generation. These actions execute inference rather than retrieve existing information and can consume provider credits.

Content

No source excerpt is available for this finding.

The safety instructions incorrectly classify untagged inference actions as reads safe to run directly.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The blanket claim that untagged actions are reads incorrectly includes chat completion and embedding generation, which submit input to inference infrastructure and may consume paid credits. This can cause an agent to treat a billable or additional data-processing operation as harmless retrieval, particularly when the user's request was only to search or inspect metadata.

Content

No source excerpt is available for this finding.

The setup workflow executes remotely downloaded installation scripts without a warning about running third-party code or modifying the system.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

Both setup examples execute remotely retrieved code directly, using bash or PowerShell, without a verification step or explicit approval for host modification. The missing-command condition limits when this happens but does not prevent a compromised or unexpectedly changed installer from accessing local files and credentials with the user's permissions.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 89)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources