
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
github.com/a-aslani/cryptocurrencyapi.net_golang
Advanced tools
Implementation of cryptocurrency payment through cryptocurrencyapi.net service and transaction confirmation through IPN
Run backend
go run main.go
GET http://localhost:8080/give HTTP/2.0
This API is used by cryptocurrencyapi.net service
POST http://localhost:8080/ipn HTTP/2.0
Content-Type: application/json
Body
{
"cryptocurrencyapi.net": 3,
"chain": "tron",
"currency": "TRX",
"type": "in",
"date": 1714816683,
"from": "",
"to": "TM6WmP1kN4Hvu9ts....",
"token": "USDT",
"tokenContract": "TR7NHqjeKQxGTCi8q...",
"amount": "100",
"fee": "0",
"txid": "e5cdbdf10c9bf45b651dd6d86f28b3a5...",
"pos": 0,
"confirmation": 100,
"label": "user_id",
"sign": "f7bdd026b533c7b134037d795af024ea06f059ac"
}
To check the signature you need to:
keys := make([]string, 0)
m := structs.Map(inputStruct)
for k, _ := range m {
if k != "Sign" {
keys = append(keys, k)
}
}
sort.Strings(keys)
values := make([]string, len(keys))
for i, k := range keys {
values[i] = fmt.Sprintf("%v", m[k])
}
signData := strings.Join(values, ":")
hashKey := fmt.Sprintf("%x", md5.Sum([]byte("YOUR_API_KEY")))
sign := fmt.Sprintf("%s:%s", signData, hashKey)
hashSign := fmt.Sprintf("%x", sha1.Sum([]byte(sign)))
if hashSign != inputStruct.Sign {
fmt.Println("sign wrong")
} else {
fmt.Println("OK")
}
Blockchain: All
Cost: Free if the address was issued previously or 1 unit + 1 unit if the address is virtual
Provides an address for incoming payments. Returns an address, its public key and (if enabled by settings) its private key. Typically, such addresses are temporary or transit.
If you pass in the address or label or uniqID parameter a value from an address that is in the archive, the API will restore and return this address Parameters:
https://new.cryptocurrencyapi.net/api/trx/.give?key=YOUR_API_KEY&label=u1&period=30
{
"result": {
"address":"TKavpKP2VJbfV4AGyi3MrhT6FJAP5eJ2RR",
"publicKey":"03b7a403f5ffce0292b8f17328b7f0dd0ca52ac5549292bc6fe1fe580ef40d183f",
"privateKey":"***",
"QR": "data:image/png;base64, ..."
}
}
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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.