Back to skill

Security audit

ngrok

Security checks for vulnerabilities and agentic risk

Overview

The ngrok reads fit the stated purpose, but automatic setup executes downloaded code and can introduce changes to other agent skills.

Review and approve CLI installation separately before enabling automatic setup, using a pinned release with verified integrity. Disable startup skill synchronization with OO_SKILLS_SYNC_DISABLED=1 unless you want its additional agent skills. Confirm the ngrok permissions granted to OOMOL. The installer and hosted backend were not verified; the artifact itself does not establish malicious intent.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The read-oriented skill instructs the agent to install software by executing a remotely downloaded script if the CLI is missing, without requiring explicit approval for that system-changing operation. OOMOL is the documented connector provider, so this is a plausible dependency setup rather than an unrelated malicious download; nevertheless, the fallback crosses from data retrieval into arbitrary code execution.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

The supplied code only invokes a generic CLI login command; it contains no ngrok-specific operation or data access. Authentication could support a larger integration, but the supplied chunk provides no connection to ngrok and implements login as its sole behavior.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping the HTTPS response directly into bash executes mutable remote content without version pinning, integrity verification, or an inspection step. HTTPS protects transport but does not prevent a compromised publisher or distribution endpoint from delivering code that runs with the agent's local privileges; this is the same underlying installation risk identified above.

Content

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

The setup fallback instructs the agent to execute downloaded installation scripts without warning the user about system changes or remote-code execution.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The fallback directs immediate execution of downloaded shell or PowerShell code without a user-approval checkpoint or warning about local system changes. Although conditional on a missing dependency, this can expose files and credentials accessible to the executing account if the installer or its distribution infrastructure is compromised.

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