Back to skill

Security audit

restaurant-review-responder

Security checks for vulnerabilities and agentic risk

Overview

The bundled skill drafts restaurant review replies and produces a local theme report, with a separate Windows app clearly marked as optional.

Keep input logs and reports private because reports include review excerpts, and review drafts before sending them. The local workflow does not require the optional Windows app; assess that unsigned download separately, since this verdict does not establish its safety.

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
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

YARA rule 'offensive_tool_references': References to well-known offensive security tools [hacktools]

High
Category
YARA Match
Confidence
70% confidence
Finding

YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).

Content

Scanner excerpt · scripts/tally_review_themes.py (reported line 41)May include surrounding context.

python
",
      "server",
      "staff"
    ],
    "food quality": [
      "cold",
      "dry",
      "bland",
      "undercooked",
      "burnt"
    ],
    "billing": [
      "overcharged",
      "bill",
      "charge",
      "tip",
      "cashier"
    ],
    "cleanliness": [
      "dirty",
      "sticky",
      "restroom",
      "flies",
      "crumbs"
    ]
  }
}

Usage:
    python3 restaurant_review_responder.py --input <file> --out <dir>
"""

import argparse
import os
import re
import sys

TITLE = "Restaurant Review Responder"


def read_flat(path):
    """Read a small YAML-ish file: `key: value`, `- item` lists, '#' comments."""
    data, key = {}, None
    try:
        raw = open(path, encoding="utf-8", errors="replace").read()
    except OSError as exc:
        raise SystemExit(f"cannot read {path}: {exc}")
    for line in raw.splitlines():
        if not line.strip() or line.strip().startswith("#"):
            continue
        stripped = line.strip()
        if stripped.startswith("

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

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.

Static analysis

No suspicious patterns detected.