Back to skill

Security audit

Torii

Security checks for vulnerabilities and agentic risk

Overview

The Torii features fit the stated purpose, but setup instructs the agent to execute downloaded code without requiring separate approval.

Review the setup behavior before installing. Use a separately reviewed CLI installation, decide whether automatic installation and synchronization of other agent skills is acceptable, and grant only the Torii access needed. The downloaded installers and live connector implementation remain unverified.

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 (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The description presents a Torii data-access skill, but the supplied code executes an Oomol-hosted installer. Nothing in the chunk establishes that this installation supports Torii access, so it cannot be treated as a demonstrated supporting implementation detail. The remote script's contents are unavailable, so its specific effects cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The curl-to-bash pipeline immediately executes mutable remote content without a pinned version or independent integrity verification; the PowerShell alternative has the same weakness. HTTPS protects transport but does not protect against compromise of the distribution service or installer supply chain. Exploitation could execute arbitrary code with the agent process's permissions, although the file provides no evidence that the current installer is malicious.

Content

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

The fallback setup executes downloaded installer scripts without warning about remote code execution or local system changes.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The fallback directs the agent to execute downloaded shell or PowerShell code without requiring informed approval for local installation. A request to read Torii data does not inherently authorize arbitrary local code execution, and a compromised installer could access files and credentials available to the executing account. Limiting this to a missing-CLI error reduces exposure but does not resolve the authorization gap.

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 84)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