Back to skill

Security audit

Ghostfetch

Security checks for vulnerabilities and agentic risk

Overview

This web-fetching skill is coherent, but it should be reviewed because it installs and runs an externally built binary that is not fully contained in the submitted package.

Install only if you are comfortable building and running code from the referenced Ghostfetch repository. Prefer the pinned setup path over the unpinned manual clone, avoid using persisted cookies for sensitive browsing, avoid passing CAPTCHA API keys on shared systems, and treat the read-only/no-secret-leak claims as unverified unless you audit the upstream source yourself.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T03 · Remote Payload Retrieval and Execution

Warning
Location
SKILL.md:91
Finding

External Source Retrieval, Build, Installation, and Execution

Content
View full analysis
/dev/null 2>&1; then ``` ### Technical Analysis The submitted project does not contain the source code or Go dependency manifests used to build the `ghostfetch` executable. Instead, users are instructed to retrieve source from an external GitHub repository, compile it, install it into the OpenClaw tool directory, and execute it. The installation command documented in `SKILL.md` clones the repository's mutable default branch without checking a commit, release signature, or content digest. Consequently, the source compiled by a user can differ from the source that existed when this Skill was reviewed. The included `setup.sh` provides a meaningful mitigation by checking out and verifying commit `6e6876a90470d4bb53e38be32e8f43e67b695b48`. However, the pinned source and its dependency lock data are absent from the s ...[truncated 2206 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill exposes shell-capable usage examples and requires a local binary, but it does not declare any explicit tool scope such as permissions or allowed-tools. In an agent setting, that omission weakens policy enforcement and can allow broader-than-intended shell execution or make review of the skill's real capabilities harder.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The documentation states that cookie jars may persist across requests, but it does not clearly warn that retained cookies can carry authentication state, tracking identifiers, or other sensitive session data between fetches. In an agent workflow, this can cause unintended cross-site state reuse, privacy leakage, or requests being made under a prior session context.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Scrape structured data

bash
ghostfetch fetch https://api.example.com/data --json

Find all GitHub links on a page

Static analysis

No suspicious patterns detected.