Data Exposure
Shopify API Key Exposure Check
Shopify API keys exposed in HTML code can compromise your store. Detect their presence and learn how to secure them.
What this test checks
This test checks whether Shopify API keys (like SHOPIFY_API_KEY, SHOPIFY_ACCESS_TOKEN) are publicly exposed in your store's HTML code. API keys allow access to third‑party services and sensitive data. Their exposure can lead to abuse, data theft, or fraud.
Our recommendation
Ensure no Shopify API key is exposed in your site's source code. Use environment variables to store this information and avoid including them in JavaScript or HTML files. Regularly review configuration files and logs for potential leaks.
Security tests