Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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.
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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.