
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.
@justgage/reason-cookie
Advanced tools
a simple way to use cross-browser cookies that contain JSON.
Note this wrapps js-cookie
These are just some simple bindings to the library it wraps. I've used it on some side projects but it should be reasonably good. The Underlying library is pretty battle tested and can even work in older browsers.
npm install --save @justgage/reason-cookie
Then in your bsconfig.json
.
"bs-dependencies": ["@justgage/reason-cookie"],
open JustgageReasonCookie;
Cookie.getAsString("hello") /* None */
Cookie.setString("hello", "test");
Cookie.getAsString("hello") /* Some("test") */
open JustgageReasonCookie;
let obj = Js.Dict.empty();
Js.Dict.set(obj, "a", Js.Json.number(2.));
let obj = Js.Json.object_(obj);
Cookie.setJson("hello", obj);
let maybeCookie = Cookie.getAsJson("hello");
(see js-cookie for more uses)
open JustgageReasonCookie;
Cookie.setJsonConfig(
"hello",
obj,
Cookie.makeConfig(~path="", ~expires=2, ()),
);
Best thing somone can do is just use it and find any problems it has.
Absolutely! Just make an issue. Please note that I usually ask people to make the changes themselves.
FAQs
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.