Back to skill

Security audit

Ahrefs

Security checks for vulnerabilities and agentic risk

Overview

The Ahrefs functions fit the stated purpose, but setup can execute unverified downloaded code and introduce broader changes to agent skills.

Review the setup before enabling this skill. Install a verified CLI release yourself, require approval for future installation, and disable automatic skill synchronization if you do not want other agent skills changed. Using the connector also means trusting OOMOL with your connected Ahrefs account and queries. The downloaded installers were unavailable for inspection; no malicious behavior was established in the bundled artifact.

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
97% confidence
Finding

The supplied chunk performs no visible Ahrefs operation. Instead, it fetches and executes an Oomol installation script, with no demonstrated connection to the declared Ahrefs functionality. This introduces an undeclared remote-code execution capability. The downloaded script is not supplied, so its specific effects cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The command pipes a mutable remote script directly into Bash, executing it with the invoking user's privileges without independent integrity verification or review. Compromise of the distribution endpoint could therefore expose local files and credentials or permit persistent system changes; the PowerShell alternative has the same risk. HTTPS and the legitimate dependency context reduce suspicion of malicious intent but do not eliminate this supply-chain exposure.

Content

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

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

Medium
Category
Output Handling
Confidence
92% confidence
Finding

When the CLI is missing, the skill directs installation without requiring approval or explaining that downloaded code will execute and modify the local environment. A request to read Ahrefs data does not inherently authorize software installation; the missing-command condition limits exposure but does not supply 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 79)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