
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.
ABC Parser written in rust using PEG.
Add the package to your cargo dependencies.
[dependencies]
abc-parser = "0.2"
Then you can use the PEG generated rules through the abc module.
extern crate abc_parser;
use abc_parser::datatypes::*;
use abc_parser::abc;
let parsed = abc::tune_book("X:1\nT:Example\nK:D\n").unwrap();
assert_eq!(
parsed,
TuneBook::new(None, vec![
Tune::new(
TuneHeader::new(vec![
InfoField::new('X', "1".to_string()),
InfoField::new('T', "Example".to_string()),
InfoField::new('K', "D".to_string())
]),
None
)
])
)
There is a good chance that the dev
branch may have more recently added
features which arent complete but won't (probably) break the existing
functionality. You can also tell cargo to install directly from the dev
branch
like this:
[dependencies]
abc-parser = { git = "https://gitlab.com/Askaholic/rust-abc-2", branch = "dev" }
These are roughly taken in order from the abc standard.
The first version was an attempt to write the parser by hand, but using PEG is much more maintainable. The older repo is here: https://gitlab.com/Askaholic/rust-abc
0.3.0
Decoration::Roll()
is now just Decoration::Roll
).Note
enum for notes, rather than using char
, and normalised octave.Copy
, Clone
and Eq
for various data types.FAQs
Unknown package
We found that abc-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.