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.
@liquid-js/qrcode-generator
Advanced tools
JavaScript library for generating QR codes.
npm install @liquid-js/qrcode-generator
https://liquid-js.github.io/qrcode-generator/
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>QR Code Generator</title>
</head>
<body>
<div id="placeHolder"></div>
<script type="module">
import { QRCode } from "https://unpkg.com/@liquid-js/qrcode-generator/lib/qr-code.js";
const typeNumber = 4;
const errorCorrectionLevel = "L";
const qr = new QRCode(typeNumber, errorCorrectionLevel);
qr.addData("Hi!");
qr.make();
document.getElementById("placeHolder").innerHTML = qr.createImgTag();
</script>
</body>
</html>
import { QRCode } from "@liquid-js/qrcode-generator";
const typeNumber = 4;
const errorCorrectionLevel = "L";
const qr = new QRCode(typeNumber, errorCorrectionLevel);
qr.addData("Hi!");
qr.make();
console.log(qr.createASCII());
This implementation is based on JIS X 0510:1999.
The word 'QR Code' is registered trademark of DENSO WAVE INCORPORATED
http://www.denso-wave.com/qrcode/faqpatent-e.html
FAQs
QR Code Generator implementation in JavaScript.
The npm package @liquid-js/qrcode-generator receives a total of 55 weekly downloads. As such, @liquid-js/qrcode-generator popularity was classified as not popular.
We found that @liquid-js/qrcode-generator 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.