Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Lean QR is a lightweight yet fully-featured library for generating QR Codes. It runs in NodeJS and all recent browsers, and includes wrapper components for React and Preact. Under 4kB compressed.
You can see it in action online, or try it from the terminal:
npx lean-qr 'MY MESSAGE HERE'
<canvas id="my-qr-code" />
<a href="#" download="qr.png" id="download-link">Download</a>
<style>
#my-qr-code {
image-rendering: pixelated;
width: 100%;
}
</style>
import { generate } from 'lean-qr';
const qrCode = generate('LEAN-QR LIBRARY');
// display in canvas:
qrCode.toCanvas(document.getElementById('my-qr-code'));
// provide a download link:
const dataUrl = qrCode.toDataURL({ scale: 10 });
document.getElementById('download-link')
.setAttribute('href', dataUrl);
// display as text:
console.log(qrCode.toString());
FAQs
minimal QR code generation
The npm package lean-qr receives a total of 1,690 weekly downloads. As such, lean-qr popularity was classified as popular.
We found that lean-qr demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.