Back to skill

Security audit

circle chain skill

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent guide for a Circle Chain SDK and CLI, but users should be cautious because it relies on an external npm package for sensitive wallet and account operations.

Before installing, treat the npm package as the code you are trusting: prefer a reviewed pinned version, avoid global install unless you need the `circle` command, and do not enter account, wallet, or payment-password data until you are comfortable with the package provenance. Set an explicit gateway host or `CIRCLE_SKIP_GEO=1` if you do not want the SDK to contact the GeoIP service.

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

T08 · Insecure Dependencies

Warning
Location
SKILL.md:10
Finding

Unpinned Third-Party Package Installation with Global CLI Exposure

Content
View full analysis
Remediation
View remediation

other

Note
Location
SKILL.md:128
Finding

Automatic Disclosure of Public IP Address to an External GeoIP Service

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

md
| Export | Description |
|--------|------------|
| `getGatewayHttp()` | Resolve effective HTTP settings (defaults → Geo hint → user `http.config`). Returns object with `host`, `protocol`, `timeoutRead`, `timeoutWrite`, `retryCount`, `retryWaitTime`, `sslSupport`. |
| `mergeUserHttpConfig(updates)` | Write key/value pairs to `~/.ccl/http.config`. |
| `getUserHttpConfigPath()` | Return path to `~/.ccl/http.config`. |
| `clearGatewayHttpCache()` | Invalidate in-memory cache for config and Geo host hint. |
| `refreshGatewayHttpGeoCache()` | Force refresh GeoIP lookup (Node only). |

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill documents that the SDK performs an automatic GeoIP lookup against a third-party service (https://ipwho.is/) and caches the result, but it does not clearly warn that this transmits the user's public IP and related request metadata off-device. In a security/privacy context, undocumented outbound disclosure can surprise users, violate privacy expectations, and create compliance risk, especially because it occurs automatically on first configuration resolution.

Content

No source excerpt is available for this finding.