
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.
dissolve-chunks
Advanced tools
A declarative parser generator based on dissolve.
Please visit the Wiki.
With dissolve-chunks (DChunks), you can make a parser by defining the parsing rules for each chunk of the binaries. This means that you need not to write your parsing codes from the beginning to the end of the binaries. You can separate the targeting data into smaller chunks, and then define the parsing rules for each of them. After all rules are ready, you can call the chainable method join() to sequentially connect all your rules . Finally, just call compile() to get your parser.
Here is an pseudo example:
var chunk1_rules = [ rule1, rule2, rule3 ],
chunk2_rules = [ rule4, squash([ rule5_1, rule5_2 ]) ],
chunk3_rule = squash([ rule6, rule7 ]),
chunk4_rule = rule8,
chunk5_rule = squash('key_name', [ rule9, rule10 ]);
var parser = DChunks().join(chunk1_rules).join(chunk2_rules)
.join(chunk3_rule).join(chunk4_rule)
.join(chunk5_rule).compile();
parser.on('parsed', function (result) {
console.log(result);
});
squash([name,] rules)
. If name
is specified while squashing, the DChunks will automatically put the parsed result under that namespace. It's handy.$ npm install dissolve-chunks --save
See Usage on the Wiki.
Licensed under MIT.
FAQs
A declarative parser generator based on dissolve
The npm package dissolve-chunks receives a total of 55 weekly downloads. As such, dissolve-chunks popularity was classified as not popular.
We found that dissolve-chunks 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.