
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Generic, space efficient parser with sugar for digesting strings, ints, etc.
Generic, space efficient (uses Buffer#slice
as much as possilbe)
parser with sugar for digesting strings, ints, etc. Inherits from
stream, implements write
and end
, and emits data
events for easy
piping.
$ npm install bitreader
Adapted from streampng
function SuggestedPalette() { this.intialize.apply(this, arguments) }
SuggestedPalette.prototype.initialize = function initialize(data) {
var colourSize, chunkSize;
var parser = BitReader(data);
this.type = 'sPLT'
this.paletteName = parser.eatString();
this.sampleDepth = parser.eatUInt(1);
this.palette = [];
colourSize = (this.sampleDepth === 16) ? 2 : 1;
chunkSize = (colourSize === 2) ? 10 : 6
this.palette = parser.eatRest({ chunkSize: chunkSize }).map(function (entry) {
var p = BitReader(entry);
return {
red: p.eatUInt(colourSize),
green: p.eatUInt(colourSize),
blue: p.eatUInt(colourSize),
alpha: p.eatUInt(colourSize),
frequency: p.eatUInt(2)
}
}.bind(this));
};
Uses tap for testing. Tested against node 0.6.19 and node 0.8.2.
$ npm test
FAQs
Generic, space efficient parser with sugar for digesting strings, ints, etc.
The npm package bitreader receives a total of 0 weekly downloads. As such, bitreader popularity was classified as not popular.
We found that bitreader 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.