Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
npm-normalize-package-bin
Advanced tools
Turn any flavor of allowable package.json bin into a normalized object
Turn any flavor of allowable package.json bin into a normalized object.
const normalize = require('npm-normalize-package-bin')
const pkg = {name: 'foo', bin: 'bar'}
console.log(normalize(pkg)) // {name:'foo', bin:{foo: 'bar'}}
Also strips out weird dots and slashes to prevent accidental and/or malicious bad behavior when the package is installed.
4.0.0 (2024-09-03)
npm-normalize-package-bin
now supports node ^18.17.0 || >=20.5.0
cf43a5d
#89 run template-oss-apply (@hashtagchris)a2e246b
#87 bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (@dependabot[bot])1799d4b
#77 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)65d9e5f
#88 postinstall for dependabot template-oss PR (@hashtagchris)34b5912
#88 bump @npmcli/template-oss from 4.23.1 to 4.23.3 (@dependabot[bot])FAQs
Turn any flavor of allowable package.json bin into a normalized object
The npm package npm-normalize-package-bin receives a total of 11,379,168 weekly downloads. As such, npm-normalize-package-bin popularity was classified as popular.
We found that npm-normalize-package-bin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.