← All tasks
🔍
Intermediate

Fix a Hardcoded API Key in Client-Side JavaScript

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line where a sensitive API key is embedded directly in front-end JavaScript, visible to any visitor.

Scenario

Anyone who views the page source can extract the API key and use it to rack up charges on your account.

Ready to try it?

Create a free account and subscribe to take "Fix a Hardcoded API Key in Client-Side JavaScript". Earn 120 XP and track your internship progress.

Already have an account? Sign in