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.
@aptos-labs/aptos-faucet-client
Advanced tools
pnpm add @aptos-labs/aptos-faucet-client
For Javascript or Typescript usage, check out the [./examples
][examples] folder with ready-made package.json
files to get you going quickly!
If you are using the types in a commonjs
module, like in a Node app, you just have to enable esModuleInterop
and allowSyntheticDefaultImports
in your tsconfig
for types compatibility:
{
...
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
...
}
}
pnpm install
To generate the client from the spec, run:
pnpm generate-client
Run a faucet locally. See the README in the root for information on how to do that.
Run the tests:
pnpm test
If you see strange behavior regarding HTTP clients, try running the tests with --detectOpenHandles
.
This project follows semver as closely as possible.
To release a new version of the SDK do the following.
pnpm generate-client
pnpm test
package.json
according to semver.pnpm checked-publish
manually.FAQs
Generated client for the Aptos faucet
The npm package @aptos-labs/aptos-faucet-client receives a total of 4 weekly downloads. As such, @aptos-labs/aptos-faucet-client popularity was classified as not popular.
We found that @aptos-labs/aptos-faucet-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.