Low Install Count
Flags items lacking installs on the marketplace, suggesting concerns about the extension's reputation and the publisher's reliability.
Flags items lacking installs on the marketplace, suggesting concerns about the extension's reputation and the publisher's reliability.
Flags items published by individuals rather than verified companies or organizations, indicating potential risks due to limited accountability and unclear operational standards
AI-powered analysis of the extension's source code for security insights and risk assessment.
The QR Code Generator extension is designed to create a QR code for the current website URL. It allows users to customize the QR code by changing its size, background color, and fill color.
let canvas = document.getElementById("qr-code");
if (!canvas) {
canvas = document.createElement("canvas");
canvas.id = "qr-code";
const container = document.getElementById("qr-container");
while (container.firstChild) {
container.removeChild(container.firstChild);
}
container.appendChild(canvas);
}
QRious library to generate a QR code with customizable properties such as size, background color, and fill color.
const qr = new QRious({
element: canvas,
value: url || "https://google.com",
size: parseInt(size),
background: bgColor,
foreground: fillColor,
level: 'H', // High error correction
});
function isValidHex(color) {
return /^#[0-9A-F]{6}$/i.test(color);
}
async function getCurrentTabUrl() {
try {
const tabs = await chrome.tabs.query({ active: true, currentWindow: true });
return tabs[0].url;
} catch (error) {
console.error("Error getting tab URL:", error);
return "https://google.com";
}
}
bgColorInput.addEventListener("change", () => {
if (isValidHex(bgColorInput.value)) {
generateQRCode(urlInput.value, bgColorInput.value, fillColorInput.value, sizeInput.value);
}
});
chrome.tabs.query to access the current tab's URL.The QR Code Generator extension appears to be a benign utility for generating QR codes based on the current tab's URL. It provides customization options for the QR code's appearance and does not exhibit any malicious behavior.
API calls detected through static analysis of the source code. For more accurate insights, explore our sandbox dynamic analysis.
Any encoded/decoded secrets we managed to find in the source code, git repository, or related files
Known vulnerabilities and security issues detected in the extension's dependencies and code.
Any identifiers we detected that may indicate external communication from the item's code
Dependencies and third-party libraries used by the extension, including version information and license details.