Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Dependency-free utility to compose CSS classnames following the BEM convention.
npm install bemmy
import bemmy from 'bemmy';
const bem = bemmy('component')
bem() // block
// -> 'component'
bem('content') // block + element
// -> 'component__content'
bem(null, 'disabled') // block + modifier
// -> 'component component--disabled'
bem('content', 'disabled') // block + element + modifier
// -> 'component__content component__content--disabled'
bem('content', { tall: true, green: true }) // modifier object
// -> 'component__content component__content--tall component__content--green'
bem('content', ['tall', 'green']) // modifier array
// -> 'component__content component__content--tall component__content--green'
bem('content', { tall: false, green: undefined, wide: true custom: 1 > 2 }) // dynamic modifiers
// -> 'component__content component__content--wide'
bem(null, null, 'some-class', 'another-class') // // additional classes
// -> 'component some-class another-class'
FAQs
Dependency-free utility to compose CSS classnames following the BEM convention.
The npm package bemmy receives a total of 98 weekly downloads. As such, bemmy popularity was classified as not popular.
We found that bemmy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.