Credential Access
- Category
- Privilege Escalation
- Confidence
- 70% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
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.
