Back to skill

Security audit

Sanity

Security checks for vulnerabilities and agentic risk

Overview

The Sanity workflow has clear approval controls, but its automatic setup runs unverified remote code and omits broader changes the CLI can make to installed agent skills.

Review and approve CLI installation separately, preferably using a verified, fixed release. Check its bundled-skill installation settings; the [command reference](https://github.com/oomol-lab/oo-cli/blob/main/docs/commands.md#environment-variables) documents OO_SKILLS_SYNC_DISABLED for disabling startup skill synchronization. Connect only the Sanity access needed and retain approval checks for mutations. The remote installer payload remains 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
99% confidence
Finding

The supplied command performs remote installer execution rather than any visible Sanity data operation. Nothing in the supplied chunk establishes that installing Oomol supports the declared Sanity functionality. The remote script's contents are not provided, so its further behavior cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
99% confidence
Finding

Piping a remotely fetched script directly into Bash executes whatever the endpoint returns with the agent process's privileges, without version pinning or independent integrity verification. Compromise of the installer distribution path could therefore expose local files and credentials or modify the system; HTTPS and the legitimate dependency relationship do not eliminate this supply-chain risk.

Content

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

The setup workflow executes downloaded installer scripts without warning the user about running remote code or modifying their system.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The fallback directs the agent to execute a remote installer without first obtaining explicit approval for local software installation or explaining its effects. A user requesting Sanity data operations may not have authorized arbitrary local code execution; limiting installation to a missing-CLI error reduces exposure but does not establish that authorization.

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