Identify the service and permissions
Use the report’s location and a redacted identifier to match the finding to your service dashboard. Check whether the key is intended for a mobile app, which APIs it can call, and what restrictions it has. Review account usage if the credential may have been exposed.
Contain the exposure and change the build
For a private credential, follow the service provider’s guidance to revoke or rotate it and move privileged calls behind your backend. If users already depend on the key, plan the rollout and check for impact when you disable it. For keys designed for mobile use, apply the application and API restrictions the provider supports.
- Keep the real key out of prompts, support requests, and issue trackers.
- Confirm where the replacement lives before rebuilding.
- Check that the previous credential has been disabled or restricted as planned.
Verify the APK and the service account
Check the new APK for the original finding and test the feature that used the key. The APK scan can help you check the files you ship. Use the service dashboard to verify whether an old credential is still active.
Illustrative example
A restaurant app’s map key may be intended for the Maps SDK and need tighter usage restrictions. A key that grants access to private bookings belongs behind a service you control. Ask your developer to identify which kind of key the report found.
Keep going
- Security Checklist for AI-Built Android Apps
- Use AI to Work Through APK Security Findings
- Browse all Android APK security guides