Mounting the helmet.frameguard

Tell us what’s happening:
Describe your issue in detail here.

I’m having an issue completing the challenge , i don’t see any similar questions on the forum board. however I truly believe my code is correct is there a specific order i need to have this listed. It’s not excepting my code

this is my code

const helmet = require(‘helmet’);

app.use(helmet.frameguard({ action: ‘DENY’ }));
app.use(helmet.hidePoweredBy());

It says its not mounted correctly? Does anyone see what I’m doing wrong?

Your project link(s)

solution: https://replit.com/@bleuxgenius/boilerplate-infosec-4

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Challenge: Mitigate the Risk of Clickjacking with helmet.frameguard()

Link to the challenge:

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.