Back to skill

Security audit

SwaggerHub

Security checks for vulnerabilities and agentic risk

Overview

The SwaggerHub functions fit the stated purpose, but fallback setup can execute unverified remote code without a separate approval step.

Review and explicitly approve a verified CLI installation before using this skill, including any additional agent skills it installs. Connecting SwaggerHub entrusts OOMOL with account access and data. The remote installer and hosted implementation remain unverified; 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 (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command runs a third-party installer, not a SwaggerHub search or read operation. No connection between this installation and the declared SwaggerHub functionality is established, so this is a materially different capability rather than a demonstrated supporting implementation detail. The contents and further effects of the remote script are not provided.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

The supplied chunk only invokes login and contains no SwaggerHub-specific resource access or data operations. Authentication could support an integration, but the supplied code establishes no connection to SwaggerHub, so its demonstrated primary behavior does not match the description.

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 integrity verification or review; the PowerShell alternative uses the same download-and-execute pattern. Compromise of the distribution endpoint could execute arbitrary code with the invoking user's privileges, exposing accessible credentials and files. HTTPS and conditional setup reduce some exposure but do not protect against compromised installer content.

Content

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

The fallback setup instructs the agent to execute remotely downloaded installers without warning about local system changes or requesting approval.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

A request to read SwaggerHub data can trigger instructions to install local software without explicitly obtaining approval or explaining system changes. The missing-CLI condition limits exposure, but it does not establish user consent to execute an installer with the agent's local privileges.

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