Information Security with HelmetJS - Mitigate the Risk of Clickjacking with helmet.frameguard()

Tell us what’s happening:

Hi there,

I’m having trouble passing a challenge that requires using helmet.frameguard({ action: 'deny' }). I’ve added the code correctly, but it’s still not passing. The logs and terminal aren’t showing any errors, and everything else seems to be working fine. Any advice on what could be causing this issue or what I should check?

Thanks!

Your project link(s)

solution: Glitch :・゚✧

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

Information Security with HelmetJS - Mitigate the Risk of Clickjacking with helmet.frameguard()

  1. You should only mount one middleware. Remove the middleware code from the previous challenge.

  2. Remove the caret ^ from the helmet dependency version in package.json

1 Like