Back to skill

Security audit

switch402

Security checks for vulnerabilities and agentic risk

Overview

This instructions-only skill uses a disclosed web-data service and requires explicit approval before each payment.

Only submit public URLs and non-sensitive searches, since the service receives every input. Approve each exact payment through trusted wallet tooling and use a separate wallet with limited funds. Live API documentation could not be retrieved during review, so backend behavior and charging guarantees remain unverified.

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
  • 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 (7)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 41)May include surrounding context.

md
| `/v1/pdf` `{"url"}` | `pdf` | Text per page (text PDFs, up to 50 pages / 10 MB) | $0.008 |
| `/v1/quote?url=` (GET) | `quote` | Price, payment status, capacity | Free |

Authoritative, machine-readable prices: `https://api.switch402.com/.well-known/x402` and
`https://api.switch402.com/openapi.json`. The amount to sign always comes from the live 402 response.

## How to call

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 42)May include surrounding context.

md
| `/v1/quote?url=` (GET) | `quote` | Price, payment status, capacity | Free |

Authoritative, machine-readable prices: `https://api.switch402.com/.well-known/x402` and
`https://api.switch402.com/openapi.json`. The amount to sign always comes from the live 402 response.

## How to call

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 66)May include surrounding context.

md
## Links

- Site: https://switch402.com
- Docs for agents: https://api.switch402.com/llms.txt
- Hermes Agent plugin (same API): https://github.com/Duffey234/switch402-hermes

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 46)May include surrounding context.

md
## How to call

1. Free check first: `curl -s "https://api.switch402.com/v1/quote?url=https%3A%2F%2Fexample.com"`.
2. Make the request without payment, for example
   `curl -s -X POST https://api.switch402.com/v1/map -H 'content-type: application/json' -d '{"url":"https://example.com"}'`.
   It returns HTTP 402 with x402 payment requirements.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 46)May include surrounding context.

md
## How to call

1. Free check first: `curl -s "https://api.switch402.com/v1/quote?url=https%3A%2F%2Fexample.com"`.
2. Make the request without payment, for example
   `curl -s -X POST https://api.switch402.com/v1/map -H 'content-type: application/json' -d '{"url":"https://example.com"}'`.
   It returns HTTP 402 with x402 payment requirements.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 48)May include surrounding context.

md
1. Free check first: `curl -s "https://api.switch402.com/v1/quote?url=https%3A%2F%2Fexample.com"`.
2. Make the request without payment, for example
   `curl -s -X POST https://api.switch402.com/v1/map -H 'content-type: application/json' -d '{"url":"https://example.com"}'`.
   It returns HTTP 402 with x402 payment requirements.
3. **Ask the user to approve the exact price before paying.** Never pay without explicit approval,
   and never pay more than the 402 response asks for.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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 55)May include surrounding context.

md
4. Retry the same request with the signed x402 payment header, using the user's own x402 client or wallet
   tooling. With MCP, retry the tool call with `_meta["x402/payment"]`.

MCP (streamable HTTP): `https://api.switch402.com/mcp`.

## Safety