Oathe Security Badge

oathe / scan / reports / caution

Is edenjw/pocketlens safe?

Use with caution. edenjw/pocketlens is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the pocketlens skill by edenjw a trust score of 77/100 with 8 findings (1 high). Report updated

https://github.com/openclaw/skills/tree/main/skills/edenjw/pocketlens

77
CAUTION

Is edenjw/pocketlens safe to install?

PocketLens is a legitimately-designed expense tracking skill with a clear and well-documented purpose; its SKILL.md contains no prompt injection attempts, hidden instructions, or malicious directives. However, the primary execution engine — scripts/pocket-lens.mjs — was entirely missed by the audit tool's file-capture glob (which targets *.js but not *.mjs), leaving the actual runtime behaviour of the skill completely unverified despite it being the path through which all API keys and financial data flow. Combined with the skill's access to high-sensitivity personal financial data and a configurable API base URL that could redirect credentials to an arbitrary host, this warrants manual review of the Node.js script before deployment.

What security issues were found in edenjw/pocketlens?

Category Scores

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

Findings (8)

HIGH Primary execution script (pocket-lens.mjs) not audited -35 ▶

The audit tool's file-capture glob pattern included *.js but not *.mjs. The file scripts/pocket-lens.mjs — the sole execution engine for all six skill capabilities — was never read or inspected. Every shell invocation the skill triggers routes through this script. Its actual network destinations, file access patterns, and environment variable reads are completely unknown.

Evidence: File listed in skill inventory: /home/oc-exec/skill-under-test/scripts/pocket-lens.mjs. Absent from 'All Source Code' capture block. Audit glob in EXECVE: -name '*.js' (no .mjs variant).

MEDIUM High-sensitivity financial data transmitted to external endpoint -25 ▶

The skill is explicitly designed to POST transaction data (merchant, amount, date, card name), retrieve spending summaries, and fetch card billing amounts from pocketlens.app. While this is the skill's stated purpose, the combination of unverified script execution and external financial data transmission creates a meaningful exfiltration surface.

Evidence: SKILL.md: 'POST /api/external/transactions', 'GET /api/external/spending/summary', 'GET /api/external/spending/bills'. Network: outbound connections to 140.82.121.4:443 (GitHub clone only) — no pocketlens.app connection observed during static install, but runtime connections are expected by design.

MEDIUM API base URL override allows credential and data redirection -10 ▶

The optional POCKET_LENS_API_URL environment variable overrides the API base URL for all requests. If an attacker can set this variable (e.g., via a malicious .env file, another skill, or social engineering), every API call including the Authorization: Bearer header is redirected to an attacker-controlled server, leaking both the API key and all financial data.

Evidence: SKILL.md: 'POCKET_LENS_API_URL (optional): Base URL for the PocketLens API. Defaults to https://pocketlens.app if not set.'

MEDIUM Shell command injection risk via OCR-derived merchant names -10 ▶

The create-transaction command passes a JSON string as a shell argument: node pocket-lens.mjs create-transaction '<JSON>'. Transaction JSON is populated from OCR-extracted receipt text. A crafted receipt image with a merchant name containing shell metacharacters (single quotes, semicolons, backticks, $()) could break out of the argument context if the agent constructs the command via string interpolation rather than argument arrays.

Evidence: SKILL.md Step 3: `node pocket-lens.mjs create-transaction '<JSON>'` — value in single-quote context. Merchant names sourced from uncontrolled image content.

LOW Persona assumption instruction in SKILL.md -5 ▶

The skill opens with 'You are an assistant that helps users record financial transactions to PocketLens', which instructs the hosting agent to partially adopt a specific identity scoped to PocketLens operations. This is standard for skill design but creates a mild persona override.

Evidence: SKILL.md line 1: 'You are an assistant that helps users record financial transactions to PocketLens, a personal expense management service.'

LOW verify-connection exposes user PII to agent context -10 ▶

The verify-connection command retrieves the user's name and email from /api/external/me and instructs the agent to display them. This PII enters the agent's context window and could be retained, logged, or propagated to other skills.

Evidence: SKILL.md: 'Report the result: whether the connection is successful, the user's name/email, and the API key permissions.' API response schema: {id, name, email}.

INFO Clean installation — no unexpected processes or connections 0 ▶

The git sparse-checkout clone contacted only GitHub and Ubuntu CDN servers. No unexpected processes were spawned. No filesystem changes occurred outside the skill install directory.

Evidence: Process audit: git clone, sparse-checkout, cp, rm. Network: 140.82.121.4:443 (GitHub), 91.189.91.49:443, 185.125.188.57:443 (Ubuntu). Install output: 'done. Installed from skills/edenjw/pocketlens'.

INFO All honeypot canary files intact 0 ▶

Canary file accesses observed in inotifywait and auditd logs at timestamps 1771906726 and 1771906749 correspond to the oathe audit harness performing its own setup and post-install integrity checks, not to any skill process. No canary content was modified or exfiltrated.

Evidence: Canary Integrity report: '✅ All canary files intact'. Accesses attributable to audit harness PID context, not to node or bash processes spawned from the skill.

Should I install edenjw/pocketlens?

Oathe's verdict for edenjw/pocketlens is CAUTION with a trust score of 77/100. Recommendation: Review before install.