
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.
A CRC implementation for ADS-B Mode-S messages
$ npm install --save modes-crc
Calculates the checksum of the data frame passed to it, based on the parity table provided.
### crc(data, [bits])Extracts the CRC value from a data frame last 3 bytes.
Tries to fix a single bit on a message by transversing it and xor'ing each bit and comparing that new message checksum with the original CRC value.
Pass it a buffer to the actual ADSB packet and the number of bits in the packet.
var checker = require('modes-crc')
var data = [93, 77, 32, 35, 122, 85, 166]
var packetChecksum = checker.checksum(data, checker.MODES_SHORT_MSG)
It will do a parity check and output a checksum that should be equal to the result of the packet CRC obtained by
var checker = require('modes-crc')
var data = [93, 77, 32, 35, 122, 85, 166]
var packetCrc = checker.crc(data, checker.MODES_SHORT_MSG)
A port of antirez's dump1090, but in Node.js: https://github.com/antirez/dump1090/
Keeps the 3-Clause BSD License from the "parent" repository
FAQs
A parity checker for ModeS transpoder messages
We found that modes-crc 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.