Back to skill

Security audit

Context7

Security checks for vulnerabilities and agentic risk

Overview

The documentation features fit the stated purpose, but setup directs the agent to execute unverified remote installers without a clear approval step.

Review setup before enabling this skill. Install and verify the CLI yourself, or require approval before the agent runs either installer. Documentation requests use your OOMOL-connected account and may incur charges. The external installers were unavailable for inspection, so their system changes 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 (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command runs an Oomol-hosted installer, with no visible Context7 interaction or demonstrated connection to the declared functionality. On the supplied evidence, this is an undeclared installation capability rather than an established supporting implementation detail. The downloaded script's further behavior is not available for assessment.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
90% confidence
Finding

Authentication can be a supporting implementation detail, but the supplied chunk consists solely of a login command and does not establish that it supports Context7 access. Its demonstrated purpose therefore differs materially from the declared Context7 search-and-read functionality.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping an unpinned HTTPS response directly into bash executes whatever the installation endpoint serves, without independent integrity verification or review. Compromise of the distribution endpoint or release pipeline could therefore execute attacker-controlled code with the invoking user's permissions; the PowerShell fallback has the same underlying risk.

Content

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

Fallback setup instructs execution of downloaded installation scripts without warning about remote-code execution or system changes.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The fallback directs installation of executable software without explicitly requiring approval for local system changes or explaining that downloaded code will run with the invoking user's permissions. Restricting this to a missing-CLI error reduces exposure, but a documentation lookup should not implicitly authorize software installation.

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