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
md For reviews, trace Box requests through loops and retry paths before changing concurrency or seeking more capacity. - Reuse cached access tokens. Request fields needed for a decision in the list response when supported, and reuse returned data instead of fetching each item again. `fields` reduces call count only when it replaces a follow-up read. - Use the largest useful supported page size. For large or changing collections, use [marker pagination](https://developer.box.com/guides/api-calls/pagination/marker-based) where supported; follow `next_marker` to completion and do not treat a marker as a durable checkpoint. - Use webhooks or events with a catch-up path instead of repeated full scans. Deduplicate deliveries; checkpoint event stream positions after successful processing. Query supported [enterprise metadata templates](https://developer.box.com/guides/metadata/queries/limitations) instead of fetching metadata for every file. - When content stays in Box, prefer Box-side copy, move, or update operations over download and re-upload.
