Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@mashroom/mashroom-helmet
Advanced tools
Adds the Helmet middleware which sets a bunch of protective HTTP headers
Plugin for Mashroom Server, a Integration Platform for Microfrontends.
This plugin adds the Helmet middleware which sets a bunch of protective HTTP headers on each response.
If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-helmet as dependency.
You can override the default config in your Mashroom config file like this:
{
"plugins": {
"Mashroom Helmet Middleware": {
"helmet": {
"contentSecurityPolicy": false,
"dnsPrefetchControl ": {
"allow": false
},
"expectCt": false,
"featurePolicy": false,
"frameguard": {
"action": "deny"
},
"hidePoweredBy": false,
"hsts": {
"maxAge": 31536000
},
"ieNoOpen": false,
"noSniff": {},
"permittedCrossDomainPolicies": false,
"referrerPolicy": false,
"xssFilter": {
"mode": null
}
}
}
}
}
1.8.0 (August 9, 2021)
{
"enableHttp2": true
}
{
"httpsPort": 5443,
"tlsOptions": {
"key": "./certs/key.pem",
"cert": "./certs/cert.pem"
}
}
The tlsOptions are passed to https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener{
"$schema": "https://www.mashroom-server.com/schemas/mashroom-plugins.json",
"devModeBuildScript": "build",
"plugins": [
{
"name": "Mashroom Portal Demo React App",
"type": "portal-app",
"bootstrap": "startReactDemoApp",
"resources": {
"js": [
"bundle.js"
],
"css": []
},
"defaultConfig": {
"resourcesRoot": "./dist"
}
}
]
}
The possible file name can be changed in the server config via the externalPluginConfigFileNames config property.{
"$schema": "./node_modules/@mashroom/mashroom-json-schemas/schemas/mashroom-packagejson-extension.json",
"name": "my-package"
}
or by using the remote location:
{
"$schema": "https://www.mashroom-server.com/schemas/mashroom-packagejson-extension.json",
"name": "my-package"
}
FAQs
Adds the Helmet middleware which sets a bunch of protective HTTP headers
The npm package @mashroom/mashroom-helmet receives a total of 25 weekly downloads. As such, @mashroom/mashroom-helmet popularity was classified as not popular.
We found that @mashroom/mashroom-helmet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.