Back to skill

Security audit

AP2 Checkout (mock)

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent local mock checkout demo, but its recommended installer runs mutable code outside the reviewed artifact and can change OpenClaw setup.

Install only from a trusted, reviewed AP2 checkout. Avoid running the one-command `npx -y` installer unless you are comfortable with it modifying OpenClaw and starting local services; prefer verifying the AP2 commit and pinning the `mcporter` version first.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:9
Finding

Unpinned and Unaudited Package Execution

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The skill is marked user-invocable and its description is broad enough to encourage autonomous checkout actions, but it does not clearly constrain when it may be invoked or what preconditions must be satisfied before initiating sensitive purchase flows. In a payment-related skill, ambiguous scope increases the chance of accidental activation, unsafe delegation, or use outside the intended mock/demo environment, especially since the document contains operational steps for approvals, mandates, and checkout completion.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill instructs users to run an install command via npx -y file:... install, which executes code from a local repository path without any integrity pinning, signature verification, or immutable version guarantee. In this context, the risk is elevated because the command is explicitly marketed as a one-command setup that also patches OpenClaw and starts backend services, so a tampered AP2 checkout or modified local repo could execute arbitrary code with the user's privileges.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The script prints a recommended install command using npx -y file:... install, which encourages execution of a package entrypoint without an explicit immutable version pin. If the referenced package path or surrounding repository state is changed unexpectedly, users may run altered installer code with their local privileges during setup.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The instruction requires explicit approval via fixed phrases 'yes / approve / 确认', which embeds a specific language/locale choice in the policy text. Because the file does not state that users may approve in their preferred language, this can conflict with language/locale flexibility requirements.

Content

No source excerpt is available for this finding.