
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lighthouse-security
Advanced tools
Runs the default Google Lighthouse tests with additional security tests.
npm install -g lighthouse-security
Run the command from CLI like displayed below. The options are the same as for the default Lighthouse CLI options.
lighthouse-security <url> [options]
To run security audits only, use the --security flag:
lighthouse-security <url> --security [options]
The extension can also be used within your code. A short example is given below. To render reports etc. it is recommended to import functionality from Lighthouse.
const runLighthouse = require('lighthouse-security')
runLighthouse(url, flags)
.then(results => console.log(results))
Alternatively you can import just the lighthouse-security configuration and use it in your own runner:
const lighthouse = require('lighthouse')
const chromeLauncher = require('lighthouse/chrome-launcher')
// import one or more lighthouse configs:
const securityConfig = require('lighthouse-security/config')
// combine configs into one:
const config = Object.assign({},
pageSecurityConfig,
{ extends: 'lighthouse:default' }
)
// run lighthouse as usual:
async function run(url, flags = {}) {
const chrome = await chromeLauncher.launch()
flags.port = chrome.port
const results = await lighthouse(url, flags, config)
const stopped = await chrome.kill()
return results
}
Contributions are always welcome. See CONTRIBUTING.md for guidelines and development scripts.
FAQs
Runs the default Google Lighthouse tests with additional security tests
We found that lighthouse-security demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.