Oathe Security Badge

oathe / scan / reports / caution

Is drbarq/pokemon-red safe?

Use with caution. drbarq/pokemon-red is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the pokemon-red skill by drbarq a trust score of 61/100 with 9 findings (1 critical, 2 high). Report updated

https://github.com/openclaw/skills/tree/main/skills/drbarq/pokemon-red

61
CAUTION

Is drbarq/pokemon-red safe to install?

The pokemon-red skill file itself is free of prompt injection, hidden directives, or direct credential access, and the skills marketplace installation was clean. However, the skill is fundamentally a launcher: it instructs agents to clone an unaudited external GitHub repository (drbarq/Pokemon-OpenClaw.git), install multiple unpinned pip packages, and run a persistent FastAPI web server from that external code — all entirely outside the marketplace trust chain and unassessable from SKILL.md alone. This creates a live supply chain attack surface where any update to the external repo is immediately effective against active users. Credential canary files were accessed during monitoring but the accesses pre-date skill installation and are attributed to audit infrastructure; the canary integrity check confirms no exfiltration occurred in this session.

What security issues were found in drbarq/pokemon-red?

Category Scores

Prompt Injection 82/100 · 30%
Data Exfiltration 65/100 · 25%
Code Execution 15/100 · 20%
Clone Behavior 85/100 · 10%
Canary Integrity 70/100 · 10%
Behavioral Reasoning 35/100 · 5%

Findings (9)

CRITICAL External Repository Clone and Execution of Unaudited Code -70 ▶

SKILL.md explicitly instructs the agent to clone https://github.com/drbarq/Pokemon-OpenClaw.git — a repository completely outside the marketplace trust chain — and immediately execute its Python server code. The cloned code runs as a persistent FastAPI/uvicorn web server with full user-level filesystem and network access. This repository can be updated at any time by its owner; any such update is automatically delivered to agents actively using this skill. There is no version pinning, no commit hash verification, and no code review gate. This is a textbook supply chain attack vector embedded in the skill's setup instructions.

Evidence: git clone https://github.com/drbarq/Pokemon-OpenClaw.git cd Pokemon-OpenClaw pip install pyboy pillow numpy fastapi uvicorn requests python scripts/emulator_server.py --save ready --port 3456

HIGH Unpinned pip Dependency Installation -15 ▶

The skill instructs installation of six PyPI packages (pyboy, pillow, numpy, fastapi, uvicorn, requests) without any version constraints. A typosquat, a compromised maintainer account, or a malicious update to any of these packages would result in arbitrary code execution in the agent's environment on first use or upgrade.

Evidence: pip install pyboy pillow numpy fastapi uvicorn requests

HIGH Supply Chain Attack Surface via Uncontrolled External Dependency -40 ▶

The skill creates a hard runtime dependency on drbarq/Pokemon-OpenClaw.git that is evaluated fresh each time an agent sets up the skill. There is no integrity check (no SHA, no tag, no signature). A malicious update to that repo — whether by the author, a compromised credential, or a repo takeover — is immediately effective against any agent that runs setup again or pulls updates. The persistent background server means malicious code, once installed, continues running and accumulates access.

Evidence: git clone https://github.com/drbarq/Pokemon-OpenClaw.git (no --depth, no branch pin, no hash)

MEDIUM Unaudited External Code Has Unrestricted Credential Access -35 ▶

The Python code executing from drbarq/Pokemon-OpenClaw.git runs under the oc-exec user and has unrestricted read access to all credential files in the home directory: .env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, gcloud application_default_credentials.json. The FastAPI server's route handlers, background tasks, or startup hooks could silently read and exfiltrate these credentials. This behavior is entirely opaque to the marketplace audit of SKILL.md alone.

Evidence: Server runs as oc-exec; inotifywait confirms these files are readable: /home/oc-exec/.env, /home/oc-exec/.ssh/id_rsa, /home/oc-exec/.aws/credentials, /home/oc-exec/.npmrc, /home/oc-exec/.docker/config.json, /home/oc-exec/.config/gcloud/application_default_credentials.json

MEDIUM All Six Credential Canary Files Accessed During Monitoring Window -30 ▶

inotifywait and auditd PATH records confirm that all six honeypot credential files were opened and read during the monitoring period, in two separate batches. The first batch (07:15:00) precedes skill installation by ~6 seconds and the second (07:15:25) coincides with audit-script analysis. Cross-referencing with process execution logs, these accesses appear attributable to the oathe audit infrastructure (canary initialization and re-verification) rather than the skill. Canary integrity check confirms no file modification or confirmed exfiltration. Documented here because the accesses are observable and warrant transparency.

Evidence: 07:15:00 OPEN /home/oc-exec/.env 07:15:00 OPEN /home/oc-exec/.ssh/id_rsa 07:15:00 OPEN /home/oc-exec/.aws/credentials 07:15:00 OPEN /home/oc-exec/.npmrc 07:15:00 OPEN /home/oc-exec/.docker/config.json 07:15:00 OPEN /home/oc-exec/.config/gcloud/application_default_credentials.json Canary Integrity: ✅ All canary files intact

MEDIUM Agent Persona Substitution via Reference File -8 ▶

game_instructions.md — loaded by SKILL.md as authoritative game strategy context — opens with 'You are OpenClaw, an AI playing Pokemon Red on a real Game Boy emulator.' This establishes a named persona that the agent is instructed to adopt. While benign in this game context, the pattern demonstrates that skill reference files can carry persona-overriding instructions that are injected without appearing in the primary SKILL.md.

Evidence: # OpenClaw -- Pokemon Red AI Player Instructions You are OpenClaw, an AI playing Pokemon Red on a real Game Boy emulator. Every turn you receive a screenshot of the game screen and structured data from RAM.

LOW Persistent Cross-Session State File in /tmp -15 ▶

The skill instructs agents to maintain session state in /tmp/pokemon_notepad.txt and the emulator server persists save states to disk. These persistence mechanisms survive between agent invocations and could be used to pass injected instructions to a future agent session if the server or notepad content is tampered with by other running code.

Evidence: Keep notes in /tmp/pokemon_notepad.txt for continuity within a session. curl -s -X POST http://localhost:3456/api/command -d '{"command": "save", "name": "checkpoint_viridian"}'

LOW External URL Instructed for Agent Code Fetch -10 ▶

SKILL.md instructs the agent to fetch and clone code from a URL not verified by the marketplace (drbarq/Pokemon-OpenClaw.git). This extends the agent's effective instruction surface to an uncontrolled external source, beyond what is auditable from the skills package itself.

Evidence: git clone https://github.com/drbarq/Pokemon-OpenClaw.git

INFO Clean Skills Marketplace Installation 0 ▶

The skills marketplace clone (openclaw/skills.git) via sparse checkout was behaviorally clean: only GitHub HTTPS traffic to 140.82.121.4:443, no new persistent listening ports, no unexpected processes, and no filesystem modifications outside the skill-under-test directory. The connection diff confirms no residual network state after install.

Evidence: git clone --depth 1 --no-checkout --branch main -- https://github.com/openclaw/skills.git /tmp/monorepo-clone git sparse-checkout set skills/drbarq/pokemon-red cp -r /tmp/monorepo-clone/skills/drbarq/pokemon-red/. /home/oc-exec/skill-under-test/ rm -rf /tmp/monorepo-clone

Should I install drbarq/pokemon-red?

Oathe's verdict for drbarq/pokemon-red is CAUTION with a trust score of 61/100. Recommendation: Review before install.