Back to skill

Security audit

Agentpmt No Account Agentaddress X402

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed AgentPMT payment/API guide with sensible spending safeguards, though users should be careful with wallet keys and optional unpinned install commands.

Install from ClawHub/OpenClaw or pinned reviewed sources, avoid unpinned npx installs in privileged environments, use a dedicated low-balance AgentAddress or x402 wallet, keep private keys and payment headers out of prompts and logs, and enforce allowlists plus per-call spending limits before signing anything.

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:504
Finding

Unpinned Remote Package and Skill Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:504-508
Vulnerability Type: Supply-chain risk from mutable, unpinned remote dependencies
Risk Level: Medium

Vulnerable Code

bash
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402

Technical Analysis

The documented installation commands invoke npx skills without specifying a reviewed package version or integrity hash. Depending on the local npm environment, npx may retrieve and execute a mutable package from the npm registry. The referenced AgentPMT/agent-skills source is also not pinned to an immutable commit or release.

Consequently, the code and Skill content installed when these commands are run may differ from the versions reviewed during this audit. The document's freshness guidance also encourages reinstalling remote content, increasing exposure to future upstream changes.

This is a supply-chain weakness rather than evidence that the currently reviewed file contains an intentionally malicious payload.

Attack Path

  1. An attacker compromises the npm package resolved by npx skills, its publisher account, the referenced remote repository, or another relevant distribution component.
  2. The attacker publishes a modified package or Skill revision containing malicious installer behavior or instructions.
  3. An operator follows one of the documented unpinned installation commands.
  4. npx retrieves the mutable package, and the tool retrieves the mutable Skill source.
  5. Attacker-controlled installer code may execute with the invoking user's privileges, or attacker-controlled Skill instructions may be installed and subsequently loaded by the agent.

Impact Assessment

Successful compromise could permit code execution under the privileges of the user run ...[truncated 484 chars]

Remediation
View remediation

Remediation Suggestions

  • Pin the npm package invoked through npx to an exact, reviewed version rather than resolving the latest mutable release.
  • Use a lockfile with verified registry integrity metadata and retain it as part of the reviewed installation process.
  • Pin remote Skill sources to immutable commit hashes or signed, versioned release artifacts.
  • Publish and verify cryptographic checksums or signatures for downloaded Skill content before installation.
  • Review package lifecycle scripts and disable unnecessary script execution during dependency installation where supported.
  • Avoid running npx installers in shared or privileged agent runtimes. Perform installation in an isolated, least-privileged environment.
  • Require a fresh security review before upgrading the installer package or referenced Skill revision.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (10)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Create a session nonce:

python
session_response = requests.post("https://www.agentpmt.com/api/external/auth/session", json={
    "wallet_address": wallet_address,
}, timeout=30)
session_response.raise_for_status()

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Create a session nonce:

python
session_response = requests.post("https://www.agentpmt.com/api/external/auth/session", json={
    "wallet_address": wallet_address,
}, timeout=30)
session_response.raise_for_status()

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Create a session nonce:

python
session_response = requests.post("https://www.agentpmt.com/api/external/auth/session", json={
    "wallet_address": wallet_address,
}, timeout=30)
session_response.raise_for_status()

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

python
invoke_url = f"https://www.agentpmt.com/api/external/tools/{product_slug}/actions/{action_slug}/invoke"
response = requests.post(invoke_url, json={
    "wallet_address": wallet_address,
    "session_nonce": session_nonce,
    "request_id": request_id,

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

python
invoke_url = f"https://www.agentpmt.com/api/external/tools/{product_slug}/actions/{action_slug}/invoke"
response = requests.post(invoke_url, json={
    "wallet_address": wallet_address,
    "session_nonce": session_nonce,
    "request_id": request_id,

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

md
json.dumps(x402_payload, separators=(",", ":")).encode("utf-8")
    ).decode("ascii")

    paid = requests.post(
        invoke_url,
        json=parameters,
        headers={"X-PAYMENT": x_payment},

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Balance checks use the same signed request pattern with the balance endpoint:

python
balance_response = requests.post("https://www.agentpmt.com/api/external/credits/balance", json={
    "wallet_address": wallet_address,
    "session_nonce": session_nonce,
    "request_id": "unique-balance-request-id",

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
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
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.

Static analysis

No suspicious patterns detected.