Intent-Code Divergence
High
- Confidence
- 98% confidence
- Finding
- The document states that tokens are not exposed to the frontend and should only be accessed through backend interfaces, yet the documented `/spApi/refreshToken` and `/spApi/storeTokens` APIs return access and refresh tokens directly to the caller. In a skill context, that means an agent or client invoking these endpoints can retrieve long-lived credentials, increasing the risk of credential theft, downstream abuse of Amazon SP-API access, and accidental logging or prompt leakage.
