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/wakqasahmed/go-nft
NFT assignment Go based for Permissioned blockchain programming BLOC-523
$ go version
go version go1.20.2 darwin/arm64
$ go build -o ./bin ./step01-initialization.go
$ go build -o ./bin ./step02-queries.go
$ go build -o ./bin ./step03-transfer-of-ownership.go
$ go build -o ./bin ./step04-lending.go
$ ./bin/step01-initialization
NFT ABC123DEF4 assigned to Waqas Ahmed
$ ./bin/step02-queries
NFTs owned by Waqas Ahmed: [{ABC123DEF4 Waqas Ahmed}]
Holder of NFT ABC123DEF4: Waqas Ahmed
$ ./bin/step03-transfer-of-ownership
NFTs owned by Waqas Ahmed: [{ABC123DEF4 Waqas Ahmed}]
NFTs owned by Elias Iosif: []
NFT ABC123DEF4 transferred from Waqas Ahmed to Elias Iosif
NFTs owned by Waqas Ahmed: []
NFTs owned by Elias Iosif: [{ABC123DEF4 Elias Iosif}]
$ ./bin/step04-lending
NFT ABC123DEF4 lent to Elias Iosif until 2024-01-25T15:56:53+05:00
NFTs owned by Waqas Ahmed: [{ABC123DEF4 Waqas Ahmed Elias Iosif 2024-01-25 15:56:53.102992 +0500 PKT m=+60.000136459 true}]
NFTs owned by Elias Iosif: []
Simulating 1 minute 1 second time passing
NFT ABC123DEF4 automatically returned to Waqas Ahmed
Now the time is: 2024-01-25T15:56:54+05:00
NFTs owned by Waqas Ahmed: [{ABC123DEF4 Waqas Ahmed Waqas Ahmed 0001-01-01 00:00:00 +0000 UTC false}]
NFTs owned by Elias Iosif: []
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.