Back to skill

Security audit

Xerolite

Security checks for vulnerabilities and agentic risk

Overview

The skill openly provides Xerolite/Interactive Brokers trading commands, but it exposes live order execution and trading credentials with too little local safety control.

Review this skill carefully before installing. Use it only with a tightly scoped Xerolite credential, prefer localhost or HTTPS-only trusted endpoints, avoid the --api-key flag, and require a human confirmation or paper-trading workflow before any live order command.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/xerolite.mjs:56
Finding

API Credential and Trading Data Can Be Sent to an Arbitrary or Plaintext HTTP Endpoint

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/xerolite.mjs:148
Finding

Command-Line API Key Option Exposes Trading Credentials Through Process and Logging Surfaces

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly supports placing live Interactive Brokers orders from natural language or automation, but it does not present a clear warning that these actions are financially irreversible and could cause immediate loss. In this context, the absence of a strong confirmation and risk warning is especially dangerous because accidental, ambiguous, or prompt-influenced requests could trigger real trades.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill declares environment and network capabilities via metadata and documented API usage, but it does not define an explicit tool scope such as permissions or allowed-tools. That increases the chance an agent can invoke broader capabilities than intended, especially because the skill handles API keys and can perform live trading actions over the network.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The API reference documents a live order-placement endpoint that can execute real trades, but it does not warn users that actions are financially consequential and potentially irreversible. In an agent skill context, this increases the chance that an automated system or operator invokes the endpoint without sufficient confirmation, safety checks, or environment separation from production trading.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.env_credential_access

Environment variable access combined with network send.

Critical
Code
suspicious.env_credential_access
Location
scripts/xerolite.mjs:25