
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@dreipol/lighthouse-config
Advanced tools
Basic configuration files for the lighthouse reporting
const config = require('@dreipol/lighthouse-config/config/<ENV>/<DEVICE>');
local
or production
desktop
or mobile
You can extend the base configuration with your own configuration. This is done by creating a new config file in your project and include the base config via require. Then you can edit the Object the way you want
Example for local mobile config:
let mobileConfig = require('@dreipol/lighthouse-config/config/local/desktop');
mobileConfig.chromeFlags = ['--window-size=320,480'];
mobileConfig.disableEmulation = false;
mobileConfig.disableThrottling = false;
module.exports = mobileConfig;
field | type | default | value |
---|---|---|---|
url | string | local:http://localhsot:8000 production:https://example.com | where all the reports are run |
paths | Array | [/ ] | Array of url paths. All these routes are tested and reported |
chromeFlags | Array | ['--window-size=1200,800'] | Array of additional chrome flags. See all |
folder | string | ../reports | Define location to store the reports |
disableEmulation | boolean | true | Applay device emulation |
disableThrottling | boolean | true | Disable Network and CPU throttling |
saveReport | boolean | true | Save report as json file for further inspections |
report | Object | Lighthouse report configurations. See exmaples |
FAQs
Basic lighthouse config
The npm package @dreipol/lighthouse-config receives a total of 9 weekly downloads. As such, @dreipol/lighthouse-config popularity was classified as not popular.
We found that @dreipol/lighthouse-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.