
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.
localinclude
Advanced tools
Test your local HTML include with any page on the Internet
Localinclude is a commmand line tool written in NodeJS, so you need to install it globally from npm.
npm install -g localinclude
You can run localinclude from your project directory, here's a quick demo:
echo '<h1>LOCALINCLUDE is awesome!!!</h1>' > example.inc
localinclude --url https://www.google.com --dompos '#lga' --include example.inc
Once this is running visit the URL the terminal output reports and you'll see the Google homepage with the "LOCALINCLUDE is awesome!!!" written into it.
To use localinclude you need to provide 3 parameters:
--url
The target page on the website you want to use. This needs to be available from where you are (so you can use localinclude with intranets).--dompos
A CSS selector string that tells localinclude where in the page to put your include.--include
A path to the file you want to include into the target page.FAQs
Add a fragment of local code into any page on the web.
The npm package localinclude receives a total of 0 weekly downloads. As such, localinclude popularity was classified as not popular.
We found that localinclude demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.