
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
wiegand-node
Advanced tools
The Wiegand interface is a de facto standard commonly used to connect a card reader or keypad to an electronic entry system. Wiegand interface has the ability to transmit signal over long distance with a simple 3 wires connection. This module uses interrupt pins from Raspberry Pi to read the pulses from Wiegand interface and return the code and type of the Wiegand.
npm install wiegand-node
"use strict";
const Wiegand = require('wiegand-node');
var pinD0 = 4, //DATA0 of Wiegand connects to RPi GPIO04 (Pin 7)
pinD1 = 17; //DATA1 of Wiegand connects to RPi GPIO17 (Pin 11)
const w = new Wiegand({ d0: pinD0, d1: pinD1 });
w.begin();
w.on('reader', (idDec, idRFID, idHex) => {
console.log(idDec); // RAW data
console.log(idRFID); // EM format
console.log(idHex); // Mifare format
});
const w = new Wiegand(
{
d0: int, // the number of your GPIO PIN. This means eg. "4" for "GPIO04", not 7 from "Pin 7" | default 4
d1: int // the number of your GPIO PIN. This means eg. "17" for "GPIO17", not 11 from "Pin 11" | default 11
debug: bool // enable debug console output | default false
}
);
w.on('reader', (idDec, idRFID, idHex) => {
// stuff
});
w.on('reader_failed_parity', (data) => {
// stuff
});
FAQs
Wiegand 26 and Wiegand 34 Protocol Module for Node.js
We found that wiegand-node 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.