Tell us what’s happening:
helmet.frameguard() middleware should be mounted correctly
This test is not passing!!
Your code so far
var helmet = require('helmet');
app.use(helmet.hidePoweredBy({ setTo: 'PHP 4.2.0' }));
app.use(helmet.frameguard({action: 'deny'}));
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
.
Challenge: Mitigate the Risk of Clickjacking with helmet.frameguard()
Link to the challenge: