
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@lidcore/bs-wav
Advanced tools
Wav parser and writter written for Bucklescript/node.js using Callback monad.
Wav parser and writter written for Bucklescript/node.js using Callback monad.
This provides a simple API to read and WAV files. It also examplifies how to use Bucklescript, @lidcore/bs-node and bs-async-monad to write sane asynchronous code.
Current API:
open BsAsyncMonad
open LidcoreBsNode
type format_code =
| PCM [@bs.as 0x0001]
| IEEE_FLOAT [@bs.as 0x0003]
| ALAW [@bs.as 0x0006]
| MULAW [@bs.as 0x0007]
| EXTENSIBLE [@bs.as 0xFFFE]
[@@bs.deriving jsConverter]
type wav_header = {
channels : int; (* 1 = mono ; 2 = stereo *)
format_code : int; (* See above *)
sample_rate : int; (* in Hz *)
bytes_per_second : int;
bytes_per_sample : int; (* 1=8 bit Mono, 2=8 bit Stereo *)
(* or 16 bit Mono, 4=16 bit Stereo *)
bits_per_sample : int;
} [@@bs.deriving abstract]
type t = {
header : wav_header;
data_offset : int;
duration : float
} [@@bs.deriving abstract]
exception Not_a_wav_file of string
exception Not_supported
val read : string -> t Callback.t
(* fails with [Not_supported] for any format_code that isn't PCM. *)
val write : header:wav_header -> data:Buffer.t -> string -> unit Callback.t
FAQs
Wav parser and writter written for Bucklescript/node.js using Callback monad.
We found that @lidcore/bs-wav demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.