Back to skill

Security audit

P0 Systems

Security checks for vulnerabilities and agentic risk

Overview

This skill is transparent about using P0 APIs for Solana token deployment and trading, but it exposes fund-moving and destructive account actions without clear confirmation or safety boundaries.

Review before installing. Only use this skill with a P0_API_KEY you are comfortable giving to an agent, keep that key out of logs and source control, and require explicit human approval before swaps, token deployments, fee claims, credit purchases, Pro upgrades, or API-key deletion.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
89% confidence
Finding

The skill exposes a destructive account-management operation, DELETE /api-keys/{id}, without any safety guidance, scoping restrictions, or confirmation requirements. In an agent context, parameter misuse or prompt injection could cause revocation of active credentials, leading to denial of service, operational lockout, or interruption of automated trading and fund-management workflows.

Content

Scanner excerpt · skill.md (reported line 123)May include surrounding context.

text
GET /account → account info, plan, campaign usage
POST /api-keys → generate additional API key
DELETE /api-keys/{id} → revoke a key
GET /pricing → credit pricing in SOL/USDC/P0
POST /credits/purchase → buy credits
GET /credits/balance → check balance

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill enables token deployment, swaps, fee claims, and credit purchases that can move funds or trigger irreversible on-chain actions, yet it provides no explicit warning, confirmation guidance, or risk disclosure. In an agent setting, this omission increases the chance that a user or autonomous workflow executes financially risky actions without understanding permanence, slippage, or loss exposure.

Content

No source excerpt is available for this finding.

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

Set P0_API_KEY in your environment. Get one by registering:

bash
curl -X POST https://api.p0.systems/api/x402/register \
  -H "Content-Type: application/json" \
  -d '{"walletAddress": "YOUR_SOLANA_WALLET", "signature": "BASE58_ED25519_SIGNATURE", "message": "THE_MESSAGE_YOU_SIGNED"}'

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

Set P0_API_KEY in your environment. Get one by registering:

bash
curl -X POST https://api.p0.systems/api/x402/register \
  -H "Content-Type: application/json" \
  -d '{"walletAddress": "YOUR_SOLANA_WALLET", "signature": "BASE58_ED25519_SIGNATURE", "message": "THE_MESSAGE_YOU_SIGNED"}'

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

Set P0_API_KEY in your environment. Get one by registering:

bash
curl -X POST https://api.p0.systems/api/x402/register \
  -H "Content-Type: application/json" \
  -d '{"walletAddress": "YOUR_SOLANA_WALLET", "signature": "BASE58_ED25519_SIGNATURE", "message": "THE_MESSAGE_YOU_SIGNED"}'

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

Set P0_API_KEY in your environment. Get one by registering:

bash
curl -X POST https://api.p0.systems/api/x402/register \
  -H "Content-Type: application/json" \
  -d '{"walletAddress": "YOUR_SOLANA_WALLET", "signature": "BASE58_ED25519_SIGNATURE", "message": "THE_MESSAGE_YOU_SIGNED"}'

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The setup instructs users to place a live API key in the environment but does not warn that the credential grants access to account operations such as trading, deployment, key management, and purchases. This can lead to unsafe handling, accidental logging, or reuse in insecure contexts by agents and operators.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.