Back to skill

Security audit

go-ibkr

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rated the go-ibkr skill benign because its reported brokerage actions and token guidance are disclosed and purpose-aligned, with medium overall confidence and a credential-related documentation flag.

The verdict is benign, not a guarantee of zero risk. Before installing, consider that the skill describes actions that can affect a real brokerage account and check that you understand and explicitly authorize each such action. The scan covered both listed components, but two local path-like references could not be resolved, and dependencies were not inspected.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
## Security & safety

- The client implements no login. With the Client Portal Gateway the user logs in in a browser and the gateway holds the session, so the code needs no credentials. With OAuth, read the access token from an environment variable or the user's own token code; never hardcode, commit or log it.
- Requests go only to the user's gateway or to `https://api.ibkr.com`. Skip TLS verification only for a gateway on the user's own machine, which serves a self-signed certificate. Never skip it for any other host.
- `SubmitNewOrder`, `ModifyOpenOrder`, `CancelOpenOrder`, `ConfirmOrderReply`, the model order endpoints and `Logout` act on a real brokerage account. Call them only when the user asked for that exact action, and prefer a paper trading login while developing.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/setup.md (reported line 30)May include surrounding context.

md
### OAuth

Get the access token with your own OAuth code; the client has no OAuth flow. Use `https://api.ibkr.com` as the base URL and set `Authorization: Bearer <token>` in an `ibkr.WithRequestEditorFn`.

## Client