Back to skill

Security audit

OpenTable Reservations

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly aligned with OpenTable search and booking-link handoff, but it uses a live attached browser profile with under-scoped navigation, page inspection, and persistent configuration recovery steps.

Review before installing. This skill is not designed to submit reservations, but it works through your attached Chrome profile and can inspect whatever active page it is pointed at. Use a dedicated or low-risk browser profile where possible, avoid saved payment methods, and do not let the skill change browser SSRF settings or reset profiles unless you explicitly understand and approve the impact.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/list_restaurants.py:206
Finding

Unrestricted navigation and DOM inspection through the authenticated browser profile

Content
View full analysis
``` The script does not validate the URL scheme, hostname, port, or resolved destination before opening it. It then executes the fixed `EVAL_JS` function in the resulting page using the user's `attached` browser profile. According to the project documentation, this profile may contain existing authenticated sessions, open tabs, and stored OpenTable account state. This behavior exceeds the minimum privileges required for an OpenTable-specific discovery skill. Legitimate operation only requires navigation to an HTTPS OpenTable search URL generated by `build_search_url()`. An unrestricted override permits navigation to unrelated websi ...[truncated 2853 chars]
Remediation
View remediation
str: parsed = urlparse(value) hostname = (parsed.hostname or "").lower().rstrip(".") if parsed.scheme != "https": raise ValueError("Only HTTPS URLs are allowed") if hostname != "opentable.com" and not hostname.endswith(".opentable.com"): raise ValueError("Only OpenTable URLs are allowed") if parsed.username or parsed.password: raise ValueError("URL credentials are not allowed") if parsed.port not in (None, 443): raise ValueError("Non-standard ports are not allowed") return value ``` 3. **Reject incomplete invocations.** Do not evaluate the current tab by default: ```python if args.navigate: target_url = validate_opentable_url(args.navigate) elif args.location and args.date_time: target_url = build_search_url( args.location, args.date_time, args.party, args.query ) else: p.error("Provide --location and --date-time") ``` 4. **Verify the final page origin inside `EVAL_JS` before reading the DOM:** ```javascript const hostname = location.hostname.toLowerCase().replace(/\.$/, ""); if ( location.protocol !== "https:" || (hostname !== "opentable.com" && !hostname.endsWith(".opentable.com")) ) { throw new Error("Refusing to inspect a non-OpenTable page"); } ``` 5. **Account for redirects.** Validate the page origin after navigation, not only the initial input URL. 6. **Use a dedicated least-privilege browser profile.** Avoid operating through a general attached profile containing unrelated authenticated sessions and tabs. 7. **Minimize returned ...[truncated 405 chars]
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (13)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The benchmark explicitly describes running against an attached real Chrome profile with an existing OpenTable login and saved payment method, under an exec policy with maximum permissions, but it does not foreground a user-facing warning about privacy exposure and unintended account actions. In the context of an agent skill, this can normalize risky deployment practices and lead users to test or operate the skill against live authenticated sessions without understanding the chance of account data access, booking side effects, or payment-adjacent risk.

Content

No source excerpt is available for this finding.

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 · README.md (reported line 14)May include surrounding context.

md
## Why this skill exists

When a naive agent is asked *"find me 3 italian places in Manhattan tonight 8pm"*, its default move is to write a Node.js CDP script to `/tmp/cdp_search.js`, connect to Chrome's DevTools WebSocket on port 18800, scrape the full OpenTable search page, and parse the resulting HTML inside its own context. This pattern:

1. Dumps ~2 KB of page body text into the conversation per retry (OpenTable responses are ~400 KB pre-filter, but agents typically trim to what they can parse).
2. Triggers multi-turn retry loops when the scrape is incomplete or stale.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% 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 3)May include surrounding context.

md
---
name: opentable
description: MUST use for any OpenTable / restaurant reservation request. Two entry points — (A) discovery ("find me 3 italian places tonight"): call `list_restaurants.py` for a filtered list; (B) direct book ("reserve Carbone at 8pm", "book Park Rose for 2"): call `book.py` DIRECTLY without searching first. `book.py` is pure URL construction, no verification needed. FORBIDS writing /tmp/cdp_*.js, using exec+node for Chrome automation, web_fetch on opentable.com, raw CDP scripting, or calling list_restaurants.py to "verify" before book.py. Agent must STOP after producing the booking deep link — never click checkout, never fill forms, never submit reservations.
homepage: https://www.opentable.com/
metadata:
  {

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The activation rule is overly broad: 'MUST use for any OpenTable / restaurant reservation request' can cause the skill to trigger on many reservation-related prompts without sufficiently verifying user intent or whether OpenTable is appropriate. In an agentic environment, overbroad invocation increases the chance of unintended external actions, misleading booking links, or reservation flow handling when the user only wanted information.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
72% confidence
Finding

The skill is designed around an attached persistent browser profile with existing user tabs and session state. Even though the cited line is part of restrictive guidance, the surrounding skill context explicitly depends on persistent authenticated browser state, which increases the risk of acting within a live user session and exposing cross-request state or causing unintended actions if other safeguards fail.

Content

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

md
---

**For both entry points: Do not read any HTML. Do not write any CDP script. Do not call `web_fetch` on opentable.com.** This is enforced by the skill's hard rules below.

**You are NOT allowed to:**
- Write `/tmp/cdp_*.js` or any JS file that talks to Chrome DevTools Protocol

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

L46-L52 states the agent is not allowed to call openclaw browser ... navigate directly. However L86 says only open, navigate, and evaluate are allowed read-only subcommands in this skill. That is an active contradiction about whether direct navigate use is permitted.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

At L167 the file says not to retry with different parameters automatically and to ask first. But L266 explicitly instructs the agent to automatically widen a neighborhood to the city and retry once when count is 0. These instructions materially contradict each other about whether autonomous retries are allowed.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The troubleshooting guidance instructs the agent to modify global application configuration and restart the gateway without any requirement for explicit user approval. Changing SSRF allowlists weakens network-access protections for future sessions and affects more than the current task, making this a cross-session security risk.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The module documentation says each restaurant includes interactive refs and a snapshot_id so the agent can click later without re-snapshotting. In reality, the JS explicitly says refs are not available from evaluate(), and the returned slot objects contain only time and aria, with no ref or snapshot_id.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The documented output shape shows slots entries with ref fields and tells the agent to call book.py and never click slot refs itself. The actual payload produced by the code contains slots derived from JS objects with time and aria, so the documentation actively misdescribes the interface exposed by the script.

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 · scripts/list_restaurants.py (reported line 191)May include surrounding context.

python
def run_browser(subcmd: list[str], timeout: float = 30.0) -> str:
    cmd = ["openclaw", "browser", "--browser-profile", "attached"] + subcmd
    r = subprocess.run(cmd, capture_output=True, text=True, timeout=timeout)
    if r.returncode != 0:
        raise RuntimeError(
            f"openclaw browser {subcmd[0]} failed (exit {r.returncode}): "

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The architectural comparison explicitly says the skill does not support multi-domain and is 'US-only.' A locale restriction can be a policy issue when presented as a fixed constraint without user opt-in or a clearly documented user-facing choice in the file.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The instruction to run openclaw browser reset-profile can alter or destroy persistent browser state without explicit user warning or consent. Resetting a profile may log users out, erase session data, or disrupt other tasks using the attached browser session.

Content

No source excerpt is available for this finding.