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.
github.com/parrotmac/go-namecheap-sdk
$ go get github.com/namecheap/go-namecheap-sdk
Generally callers would create a namecheap.Client
and make calls off of that.
import (
"github.com/namecheap/go-namecheap-sdk"
)
// Reads environment variables
client, err := namecheap.New()
// Directly build client
client, err := namecheap.NewClient(username, apiuser string, token string, ip string, useSandbox)
Calling namecheap.New()
reads the following environment variables:
NAMECHEAP_USERNAME
: Username: e.g. adamdecafNAMECHEAP_API_USER
: ApiUser: e.g. adamdecafNAMECHEAP_TOKEN
: From https://ap.www.namecheap.com/Profile/Tools/ApiAccessNAMECHEAP_IP
: Your IP (must be whitelisted)NAMECHEAP_USE_SANDBOX
: Use sandbox environmentWe appreciate feedback, issues and Pull Requests. You can build the project with make build
in the root and run tests with make test
.
If you're looking to run tests yourself you can configure the environmental variables and override the test records in client_test.go
. (To make live API calls) Otherwise only mockable tests will run.
The following are contributor oriented environmental variables:
DEBUG
: Log all responsesMOCKED
: Force disable testClient
FAQs
Unknown package
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.