
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
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
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.