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.
QR code generation for a modern web.
The core of this is from nayuki's QR code generator
TIP: If you want to try out the methods, open inspect element.
npm i scannable
import { ... } from 'https://esm.sh/scannable'; // all functions are exposed!
import { renderCanvas, renderSVG, renderText, renderTwoTone } from 'scannable/qr';
// Render it to a canvas
renderCanvas('https://yahoo.net', coolCanvas);
// Outputs a qr code with ASCII text
const text = renderText('https://example.com');
// You can also specify options
const customText = renderText({
value: 'https://google.com',
foregroundChar: '%'
});
// You can even use unicode characters to squish text.
const unicodeText = renderTwoTone('https://leodog896.github.io/scannable');
// Or make an SVG!
const svgHTML = renderSVG('https://netflix.com');
FAQs
QR code generation for a modern web
The npm package scannable receives a total of 7 weekly downloads. As such, scannable popularity was classified as not popular.
We found that scannable 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.