Back to skill

Security audit

pg1-swap-check

Security checks for vulnerabilities and agentic risk

Overview

The scanners report a benign skill with no executable files and one medium-severity warning about sending data to an external service; the warning was judged expected for its purpose.

The verdict is benign, but benign does not mean risk-free. Before installing, consider whether you are comfortable with the skill sending transaction data to the named external service; the scanner could not establish from this finding alone whether that destination is trusted or necessary.

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

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

Step 2: call PG1

bash
curl -s -X POST https://pg1-ai-agent.vercel.app/api/swap-intent \
  -H 'Content-Type: application/json' \
  -d '{
    "transaction": "0x02f9...",