Back to skill

Security audit

Audible Deal Scout

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Audible/Goodreads deal helper; its optional auth, delivery, and scheduling features are sensitive but aligned with its purpose and user-controlled.

Install only if you are comfortable giving it the specific Goodreads CSV, notes, and delivery targets you configure. Use privacyMode "minimal" if you do not want personal reading data used in model-facing fit writing. Treat the Audible auth file as sensitive account state, and enable cron or external delivery only on a trusted OpenClaw host you control.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (22)

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · CHANGELOG.md (reported line 143)May include surrounding context.

md
## 0.1.1

- Move the published wrapper entrypoint from `bin/` to `scripts/` so the package layout matches ClawHub skill conventions
- Update SKILL and README command examples to use the published `scripts/audible-goodreads-deal-scout` wrapper path
- Add release guidance to verify the published file manifest after upload

## 0.1.0

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description centers on comparing Audible deals with Goodreads data and optional user-provided reading metadata/workflows. This code chunk does something materially different and lower-level: it manages an external Amazon/Audible OAuth-like device registration flow, persists authentication state, refreshes tokens, and fetches authenticated product pricing from Audible APIs. While authenticated price lookup could be a supporting component of a broader Audible deal tool, the declared description does not mention credential handling, token storage, or Amazon/Audible API authentication, and none of the Goodreads/backlog/delivery-rule behaviors appear here. Therefore the supplied code chunk is not accurately represented by the declared purpose.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The declared description presents a higher-level deal evaluation skill centered on comparing Audible promotions with Goodreads data and optional user inputs. The supplied code chunk does not perform that evaluation logic; instead, it is a lower-level HTTP retrieval module dedicated to fetching Audible pages safely and robustly. While Audible fetching could be a supporting implementation detail for the broader skill, this chunk also shows an undeclared capability to invoke the external curl binary through subprocess. More importantly, none of the core declared behaviors—Goodreads integration, CSV shelves, notes, rules, sending, or audits—are represented here. Because the actual code behavior is materially narrower and functionally different from the declared purpose, this chunk is a mismatch.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description focuses on evaluating Audible promotions against Goodreads data and using that for checks/audits/scheduled sends. This code chunk does not implement the evaluation logic itself; instead, it manages delivery and automation infrastructure: config creation, file writing, cron registration, trigger generation, and message delivery through OpenClaw. Some of this supports the declared workflow (first-run setup, scheduled sends), so it is related, but several concrete capabilities—especially direct cron management and message sending—are not explicitly represented in the declared permissions/capabilities. The primary behavior of this file is operational orchestration, not Goodreads/Audible deal evaluation, so this chunk is a description-behavior mismatch when assessed on its own.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The declared description presents the skill as a content-analysis/deal-evaluation tool for Audible promotions versus Goodreads data and reading preferences. The supplied code does not implement that evaluation behavior; instead, it provides a 'doctor' report for setup and runtime diagnostics. It inspects local filesystem paths, configuration validity, auth file readiness, delivery settings, cache existence, wrapper script presence, OpenClaw availability, cron job configuration, and optionally performs a live Audible fetch test. These are materially different operational capabilities from the declared primary purpose. While some diagnostics could support first-run setup, the code chunk’s actual purpose is administrative health checking, and key capabilities like cron inspection and environment validation are undeclared.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared purpose is about audiobook deal analysis and Goodreads-based recommendation/audit workflows. The actual code does none of that: it performs repository auditing for sensitive information leakage. It accesses local repository files, reads file contents, and inspects environment configuration for private markers, which are materially different capabilities and resources from the stated deal-scoring function. This is a clear description-behavior mismatch.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · audible_goodreads_deal_scout/audible_auth.py (reported line 442)May include surrounding context.

python
seconds_remaining = int(expires - time.time())
            expired = seconds_remaining <= 0
            if expired:
                warnings.append("Audible access token is expired; refresh will be attempted on the next authenticated request.")
        except Exception:
            warnings.append("Auth file contains an unreadable expires value.")
    ready = status == "ready" and bool(payload.get("refreshToken"))

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% 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 · CHANGELOG.md (reported line 13)May include surrounding context.

md
## 0.1.18 - 2026-07-19

- Add a deterministic scheduled gate so positive-only suppressions do not start an agent or create cron run history
- Use OpenClaw condition triggers, lightweight bootstrap context, and disabled model thinking for substantially smaller scheduled runs
- Reconcile and diagnose cron trigger, context, schedule, IANA timezone, and delivery-route drift; support explicit automation and route removal
- Preserve unknown and marketplace-specific config values, resolve configured relative paths from the config directory, and fail closed on malformed config or state

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
93% confidence
Finding

The skill requests shell, filesystem, network, and environment capabilities but does not declare an explicit tool scope such as permissions or allowed-tools. That makes the skill harder to sandbox and review, increasing the chance that an orchestrator grants broader access than users expect for a workflow that handles local files, tokens, network fetches, cron setup, and message delivery.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest describes evaluating Audible promotions against Goodreads data and optional notes/rules, but this file implements a full external Audible authentication flow, including login URL generation, device registration, and writing long-lived refresh/access tokens to disk. While fetching Audible pricing is relevant, managing a standalone credential lifecycle is materially broader behavior than the user-facing description suggests.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · audible_goodreads_deal_scout/audible_fetch.py (reported line 347)May include surrounding context.

python
def _run_curl(command: list[str], url: str) -> subprocess.CompletedProcess[str]:
    try:
        return subprocess.run(command, capture_output=True, text=True, timeout=35)
    except subprocess.TimeoutExpired as exc:
        raise AudibleFetchError(
            f"Audible curl fallback timed out for {url}.",

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

This code persists personal Goodreads-derived data, review summaries, and freeform notes into artifact files on disk. Even if intended for normal operation, writing sensitive preference and reading-history data without clear consent, minimization, retention controls, or access protections creates a real privacy exposure if artifact directories are shared, backed up, or readable by other users/processes.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · audible_goodreads_deal_scout/delivery.py (reported line 32)May include surrounding context.

python
def _run_openclaw(command: list[str], *, timeout: int, action: str) -> subprocess.CompletedProcess[str]:
    try:
        return subprocess.run(command, capture_output=True, text=True, timeout=timeout)
    except subprocess.TimeoutExpired as exc:
        raise RuntimeError(f"{action} timed out after {timeout} seconds.") from exc

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
81% confidence
Finding

The register_cron_job path writes a trigger script and invokes openclaw cron add/edit to create or modify scheduled jobs, which is a persistent system-affecting operation. This file does not show a confirmation prompt, print/log notice, or warning comment/docstring explaining that scheduling will be installed or changed.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
80% confidence
Finding

When register_cron is requested while daily automation is disabled, the code disables a related cron job and may delete the scheduled trigger file via unlink(). These are destructive or configuration-altering actions, but this file provides no visible prompt, log, or explanatory warning to the user about the removal behavior.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The deliver_message function sends arbitrary message_text to a configured channel and target via the openclaw CLI. In this file there is no confirmation prompt, print/log disclosure, or explanatory comment/docstring warning the user that content will be transmitted externally, which is a safety-relevant operation involving potential data disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The generated prompt explicitly tells the runtime to read and reason over personal CSV, notes, fit context, and review source artifacts. In this code file, those privacy-impacting data uses are implemented and persisted into prompt/runtime artifacts without any visible confirmation prompt, user-facing log, or inline disclosure near the operation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The request headers explicitly set "Accept-Language" to "en-US,en;q=0.9", which imposes a specific language/locale for all fetches. This is a natural-language locale policy concern because the file does not offer a user choice or document a justified region-specific constraint.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The request headers hard-code "Accept-Language": "en-US,en;q=0.9", which imposes a specific language/locale preference. This is a natural-language locale policy concern because the file does not offer a user opt-in or explain why English is required.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

The prepare flow performs HTTP fetching of the Audible deal URL via fetch_text_with_final_url/fetcher, but this file does not provide a direct user-facing notice or confirmation around the network access. While network access is central to the skill's purpose, the code itself lacks an explicit disclosure that an external request will be made.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

The diagnostic helper performs a real HTTP fetch via fetch_text_with_final_url when check_audible_fetch is enabled, which can transmit request metadata to an external service. In this file, that behavior is not accompanied by a prompt, print/log disclosure, or inline warning explaining that the diagnostic may make live network requests.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The request hard-codes an Accept-Language header of en-US,en;q=0.9, which forces English-language content regardless of user preference or system locale. This is a natural-language policy concern because the file does not offer any locale choice or document a justified region-specific requirement.

Content

No source excerpt is available for this finding.