Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@sidan-lab/sidan-csl-rs-browser
Advanced tools
Wrapper around the cardano-serialization-lib for easier transaction building, heavily inspired by cardano-cli APIs
This is a library for building off-chain code on Cardano. It is a cardano-cli-like wrapper on cardano-serialization-lib (equivalent to MeshJS’s lower-level APIs), supporting serious DApps’ backend on the Rust codebase. It has an active F11 proposal to support the development.
whisky is composed of 2 layers - the root layer sidan-csl-rs and the user-facing layer whisky. sidan-csl-rs composed of the core serialization logic with JSON-to-transaction pattern, compilable to wasm. whisky is the user-facing package that Rust Cardano developers can import directly for use.
uplc
for off-node auto redeemer exUnits updates.cargo add whisky
# For nodejs package
yarn add @sidan-lab/sidan-csl-rs-nodejs
# For browser package
yarn add @sidan-lab/sidan-csl-rs-browser
use whisky::{
builder::{IMeshTxBuilder, MeshTxBuilder},
model::{Asset, UTxO},
};
async fn my_first_whisky_tx(
recipient_address: &str,
my_address: &str,
inputs: Vec<UTxO>,
) -> String {
let mut mesh = MeshTxBuilder::new_core();
mesh.tx_out(
&recipient_address,
vec![Asset::new_from_str("lovelace", "1000000")],
)
.change_address(my_address)
.select_utxos_from(inputs.clone(), 5000000)
.complete(None)
.await;
mesh.tx_hex()
}
Please refer to the hosted documentation for the list of endpoints.
FAQs
Wrapper around the cardano-serialization-lib for easier transaction building, heavily inspired by cardano-cli APIs
The npm package @sidan-lab/sidan-csl-rs-browser receives a total of 1,223 weekly downloads. As such, @sidan-lab/sidan-csl-rs-browser popularity was classified as popular.
We found that @sidan-lab/sidan-csl-rs-browser demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.