Back to skill

Security audit

Subscription and Renewal Desk

Security checks for vulnerabilities and agentic risk

Overview

This skill coherently tracks subscriptions locally and supports user-requested reminders without paying for or cancelling services.

Keep the local subscription database private. For reminders, specify the recipient, timezone and frequency, and verify delivery. Consider pinning the ClawHub installer version. This skill records cancellation dates but does not cancel subscriptions.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (8)

MCP server referenced without pinned version: 'npx clawhub'.

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The installation example uses npx clawhub@latest, which executes a mutable package version rather than a reviewed, pinned release. A compromised upstream release could execute code with the installing user's permissions, potentially accessing workspace files and available credentials. This is a CLI installation command, not an MCP server reference, but the underlying supply-chain concern remains valid; nothing in the README demonstrates malicious intent.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx clawhub'.

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The installation command uses npx clawhub@latest, which can download and execute a changing npm release without a reviewed version pin. A compromised future release could execute code with the user's permissions and access workspace files or available credentials; however, this is an optional, user-initiated installation step with no evidence of malicious intent. The scanner incorrectly describes the CLI as an MCP server, but the underlying unpinned executable dependency risk remains valid.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

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 19)May include surrounding context.

md
king account. Data and notifications persist under .mochilab. Do not upload those private state folders with a Skill package.

Use for planned recurring charges rather than historic expense accounting. Store the first charge date, amount, currency, cycle and cancellation lead days. Forecasts preserve the original day-of-month: a Jan 31 monthly plan uses Feb's last day and then Mar 31. Feb 29 annual plans return to Feb 29 in a leap year. Currency totals remain separate; never invent exchange rates. end is the inclusive final charge date, not an automatically executed cancellation.

poll lists approaching renewal and cancellation deadlines with persistent notice IDs. Read references/notifications.md to create an actual user-authorized host schedule and destination. A reminder does not pay or cancel a subscription. After editing a price/cycle, review the next forecast and replace any stale pending notices before sending. User-selected subscriptions and state stay in this agent workspace.

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · references/notifications.md (reported line 3)May include surrounding context.

md
# Host scheduling and delivery

These scripts keep state and queues; Python by itself does not create a timer. For a user-requested recurring reminder, use the installed OpenClaw scheduler, inspect its current help, and create a job for THIS agent/workspace and the requested chat/account only. Get the timezone, frequency and recipient from the user's request; ask only for missing details. Verify the returned job ID and next run. Never reuse another agent's mailbox credentials or destination.

The job runs poll (email: sync) with the same private profile and workspace. If there are no pending notices, finish quietly. Deliver pending notices through the host's configured messaging tool. After each successful delivery, call ack with only its noticeId. If delivery fails, leave it pending. Maintain the noticeId in the host delivery ledger to avoid duplicate delivery after a retry; this is at-least-once delivery, not a cross-service transaction. Never acknowledge before sending. Manual tests

The atomic-write helper silently replaces existing destination files without explaining the overwrite behavior.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The helper writes data and uses os.replace to overwrite an existing destination, potentially losing its previous contents. This file provides no confirmation, operation-specific log, docstring, or comment disclosing that replacement behavior; atomic replacement protects write consistency, not the previous data.

Content

No source excerpt is available for this finding.

Credential-environment access is unrelated to the declared subscription-tracking capabilities.

Medium
Category
Excessive Agency
Confidence
86% confidence
Finding

The secret() helper retrieves a credential from an environment variable whose name is supplied through configuration. Tracking renewals, calculating deadlines, forecasting costs, and queuing notices do not inherently require credential access, and no authenticated integration is declared. This file implements the capability but does not show it being invoked.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.