Alpaca Markets CLI
Analysis
This Alpaca integration matches its stated purpose, but it can place or cancel trades and close positions using brokerage API keys, so it needs careful review before use.
Findings (3)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
parser.add_argument("method" ...); parser.add_argument("endpoint" ...); allowed_methods = {"GET", "POST", "PUT", "PATCH", "DELETE"}; response = requests.request(...)The helper exposes a generic authenticated API caller with mutating methods and caller-supplied endpoints/data. For a brokerage API, POST/PATCH/DELETE can place, alter, cancel, or close financial positions without any code-level confirmation or limits.
requests>=2.31.0
The dependency is purpose-aligned for HTTP API calls, but it is not pinned to an exact version, so future installs may resolve to newer package versions.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
"APCA-API-KEY-ID": api_key, "APCA-API-SECRET-KEY": api_secret
The script uses Alpaca API credentials as expected for the integration. These credentials can access account data and, if live trading is enabled, can authorize real brokerage actions.
