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.
mqfunctions
Advanced tools
JavaScript library to manage matchMedia handlers.
npm install mqfunctions
import { createMqFunctions } from 'mqfunctions'
const mqf = createMqFunctions('(min-width: 768px)')
// Add matchMedia handler
mqf.add('function-01', (event) => {
if (event.matches) {
console.log('Resized window to PC size!')
} else {
console.log('Resized window to SP size!')
}
})
// Run handler arbitrarily
mqf.run('function-01')
// Remove handler
mqf.remove('function-01')
v0.2.1
FAQs
JavaScript library to manage matchMedia handlers.
The npm package mqfunctions receives a total of 2 weekly downloads. As such, mqfunctions popularity was classified as not popular.
We found that mqfunctions 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.
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.