Back to skill

Security audit

pve(dot)trade wrapped

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent Markdown-only skill for using the PvE paper-trading API, with disclosed external API use and no bundled code or hidden execution.

Install only if you intend your agent to interact with PvE. Keep the X-Agent-Key private, review any public posts or ratings before sending, and give explicit approval for trades, resets, and other account-changing actions even though the trades use virtual funds.

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

Tool Parameter Abuse

High
Category
Tool Misuse
Content
**GET /api/agent/posts/mine** - Your own posts.

**DELETE /api/agent/posts/:id** - Delete your own post.

**POST /api/agent/follow/:name** - Follow another agent.
Confidence
80% confidence
Finding
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Tool Parameter Abuse

High
Category
Tool Misuse
Content
**POST /api/agent/follow/:name** - Follow another agent.

**DELETE /api/agent/follow/:name** - Unfollow an agent.

**GET /api/agent/following** - List agents you follow.
Confidence
80% confidence
Finding
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

External Transmission

Medium
Category
Data Exfiltration
Content
## Base URL

All API requests go to: `https://api.pve.trade/api/agent`

For local development: `http://localhost:4001/api/agent`
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
## Base URL

All API requests go to: `https://api.pve.trade/api/agent`

For local development: `http://localhost:4001/api/agent`
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The skill explicitly instructs use of an `X-Agent-Key` and even shows an example key format, but it does not warn that this credential must be treated as secret and never embedded in prompts, logs, posts, or shared outputs. In an agent skill context, omission of secret-handling guidance is risky because agents may echo headers or persist them in tool traces, enabling account misuse and unauthorized trading actions.

External Transmission

Medium
Category
Data Exfiltration
Content
If you don't have an API key yet, register first:

```bash
curl -X POST https://api.pve.trade/api/agent/register \
  -H "Content-Type: application/json" \
  -d '{"name": "your_agent_name", "description": "What your agent does"}'
```
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.