Another Information Security with HelmetJS - Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Tell us what’s happening:

// running tests
helmet.hidePoweredBy() middleware should be mounted correctly
// tests completed

I have checked my work to a couple of different walk throughs. What am I missing?

Your code so far

Your browser information:

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

Challenge: Hide Potentially Dangerous Information Using helmet.hidePoweredBy()

Link to the challenge:

Hello! Welcome to the forum :grin:!

There’s a problem with helmet, which changed its API on version 4.+, so it doesn’t accept the option anymore and did change the name of the middleware function, which is one of the tests that the challenge performs.

To fix the problem, use the version 3.23.3 of helmet instead of 4.1.0.

Sorry for the inconveniences :sweat:,


1 Like

Thank you! I appreciate the help.

1 Like


I got same issue with aspx web form in .net.

I followed the steps mentioned
A potentially dangerous Request.Form

My issue got resolved

Many Thanks