
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.
Ability (short for ABI compatibility) provides macros for defining traits with compatible ABI's across compiler versions.
In the short term this allows for defining interfaces for application extensions distributed as shared libraries. Longer term, supporting more complex data types (and maybe generics?) should be supported.
Contributions are welcome
[dependencies]
ability = { git = "https://github.com/m-hilgendorf/ability.git"}
To add to a trait in your library, just add the #[interface]
attribute
to your trait definition.
use ability::interface;
#[interface]
pub trait MyTrait {
fn foo(&self);
}
To implement interfaces for a binary
For the moment, the passing of POD/C types is supported (pointers, integers, float,
structs marked #[repr(C)]
, etc).
If you need to pass more complicated data, serialize it and pass as a pointer + length.
FAQs
Unknown package
We found that ability 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.