Back to the lesson

Original working file

insecure-example.txt

Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.

// Deliberately fake: this is the pattern to remove.
fetch('https://provider.example/api', {headers: {'Authorization': 'Bearer FAKE_NOT_A_REAL_KEY'}});