Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
github.com/psa/go-namecheap-sdk/v2
$ go get github.com/namecheap/go-namecheap-sdk/v2
import (
"github.com/namecheap/go-namecheap-sdk/v2"
)
client := NewClient(&ClientOptions{
UserName: "UserName",
ApiUser: "ApiUser",
ApiKey: "ApiKey",
ClientIp: "10.10.10.10",
UseSandbox: false,
})
setHostsResp, err := client.DomainsDNS.SetHosts(&namecheap.DomainsDNSSetHostsArgs{
Domain: namecheap.String("domain.com"),
Records: &[]namecheap.DomainsDNSHostRecord{
{
HostName: namecheap.String("blog"),
RecordType: namecheap.String("A"),
Address: namecheap.String("11.12.13.14"),
},
},
})
// ...
response, err := client.DomainsDNS.GetHosts("domain.com")
// ...
Before you start using our API, we advise you to try it in our Sandbox environment. The sandbox environment was created explicitly for testing purposes. All purchases processed through the sandbox API are simulated.
To start testing API in Sandbox, you will need to sign up for an account here (this account will not be associated with the one you have at http://www.namecheap.com).
To contribute, please read our contributing docs.
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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.