
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.
@mercurial-finance/mango-v4
Advanced tools
work in progress
See the LICENSE file.
The majority of this repo is MIT licensed, but some parts needed for compiling the solana program are under GPL.
All GPL code is gated behind the enable-gpl
feature. If you use the mango-v4
crate as a dependency with the client
or cpi
features, you use only MIT
parts of it.
The intention is for you to be able to depend on the mango-v4
crate for
building closed-source tools and integrations, including other solana programs
that call into the mango program.
But deriving a solana program with similar functionality to the mango program from this codebase would require the changes and improvements to stay publicly available under GPL.
See DEVELOPING.md
cargo-test-sbf --features enable-gpl
anchor build -- --features enable-gpl
After cloning this repo you'll need to init and update its git submodules.
Consider setting the git option submodule.recurse=true
.
Here are steps followed while performing a program deployment to mainnet-beta
program-v0.0.1
, should match the version the program hasmain
to currently deployed tagmain
into their branch, e.g. ts-client
and deploy-mm
Cargo.toml
on dev branch for next releaseHere are steps followed while performing a npm package release note: the UI currently uses code directly from github, pointing to the ts-client branch
yarn publish
to release a new package, ensure compatibility with program release to mainnet-betafix-npm-tag.sh
, tags should look like this e.g.npm-v0.0.1
, note: the npm package version/tag should not necessarily match the latest program deploymentFAQs
Typescript Client for mango-v4 program.
The npm package @mercurial-finance/mango-v4 receives a total of 738 weekly downloads. As such, @mercurial-finance/mango-v4 popularity was classified as not popular.
We found that @mercurial-finance/mango-v4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.