Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
sudo npm install -g codius
Let's check out a contract and run it!
git clone git@github.com:codius/example-helloworld.git codius-example-helloworld
cd codius-example-helloworld
codius run
You should see something like:
Contracts can expose HTTP APIs, check it out:
git clone https://github.com/codius/example-webserver.git codius-example-webserver
cd codius-example-webserver
codius serve
Your contract is now running at localhost:2634
. Go ahead and open it in a browser!
Warning, this functionality is still heavily under development.
You can upload contracts to Codius hosts. First, let's set up a local Codius host:
git clone git@github.com:codius/codius-host.git
cd codius-host
npm install
node app
Now you can go back to the codius-example-webserver
folder from the previous example.
To upload your contract, run codius upload
.
cd codius-example-webserver
codius upload
Now your contract is running on the Codius host! Go ahead and open its URL in the browser and watch its output in the host's log!
FAQs
Command Line Interface for Codius
We found that codius demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.