Back to skill

Security audit

BTCPay Server

Security checks for vulnerabilities and agentic risk

Overview

The BTCPay workflow has clear safeguards, but its setup can execute unverified installers and introduce broader persistent changes to your agents.

Review the CLI installation and its automatic skill synchronization before enabling this skill. Prefer a reviewed, verified CLI release and disable additional skill synchronization if unwanted. OOMOL will mediate access to your BTCPay account, so connect only the permissions needed and retain confirmation for invoice changes. The remote installers and hosted connector implementation were not audited; the artifact 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 (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk performs remote installer execution rather than BTCPay Server operations. Although dependency installation can be a supporting implementation detail, this chunk establishes no relationship between the Oomol installer and the declared BTCPay Server functionality. The downloaded script's contents and any further effects are not available for assessment.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The command streams a mutable remote script directly into Bash without pinning a release or independently verifying its integrity; the PowerShell alternative has the same execution pattern. If the distribution endpoint or release pipeline is compromised, attacker-controlled code could run with the invoking user's privileges and access local credentials or files; HTTPS alone does not protect against that scenario.

Content

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

The setup workflow executes downloaded installation scripts without warning about remote-code execution or system changes.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The missing-CLI fallback directs the agent to execute a remote installer without separately explaining its local system effects or obtaining installation approval. Although conditional setup is legitimate, authorization to operate BTCPay Server does not necessarily authorize installing executable software on the host.

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