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/dfkdream/godc/v2
๋์์ธ์ฌ์ด๋ ๋น๊ณต์ API
๊ฒ์๊ธ ๋ชฉ๋ก,๊ฒ์๊ธ ๋ด์ฉ, ๊ฐค๋ฌ๋ฆฌ ๋ชฉ๋ก ์ฝ๊ธฐ ๊ธฐ๋ฅ๋ง ์ง์ํ๊ณ ์์ต๋๋ค. ๋๋จธ์ง ๊ธฐ๋ฅ์ ์ถ๊ฐ ์์
go get github.com/dfkdream/godc/v2
ํ๋ ์ด๋ฆ | ์๋ฃํ | ์ค๋ช |
---|---|---|
Name | string | ์์ฑ์ ์ด๋ฆ |
Identity | string | ์์ฑ์ ID/IP |
IsSignedIn | bool | ๋ก๊ทธ์ธ ์ฌ๋ถ |
ํ๋ ์ด๋ฆ | ์๋ฃํ | ์ค๋ช |
---|---|---|
URL | string | ๊ฒ์๊ธ URL |
Title | string | ๊ฒ์๊ธ ์ ๋ชฉ |
Type | string | ๊ฒ์๊ธ ํ์ |
Tag | string | ๊ฒ์๊ธ ๋ง๋จธ๋ฆฌ |
ReplyCount | string | ๋๊ธ ์ |
Timestamp | string | ์์ฑ ์๊ฐ |
ViewCounter | string | ์กฐํ์ |
UpVote | string | ์ถ์ฒ ์ |
Writer | Writer | ์์ฑ์ |
string | ์ค๋ช |
---|---|
ico_pic ico_t | ํ ์คํธ๋ง |
ico_pic ico_p_y | ์ด๋ฏธ์ง ํฌํจ |
ico_pic ico_mv | ๋์์ ํฌํจ |
ico_pic ico_t_c | ํ ์คํธ๋ง, ๊ฐ๋ ๊ธ |
ico_pic ico_p_c | ์ด๋ฏธ์ง ํฌํจ, ๊ฐ๋ ๊ธ |
ํ๋ ์ด๋ฆ | ์๋ฃํ | ์ค๋ช |
---|---|---|
Title | string | ๊ฒ์๊ธ ์ ๋ชฉ |
Timestamp | string | ์์ฑ ์๊ฐ |
ViewCounter | string | ์กฐํ์ |
ReplyCount | string | ๋๊ธ ์ |
Body | string(HTML) | ๊ฒ์๊ธ ๋ด์ฉ |
UpVote | string | ์ถ์ฒ ์ |
DownVote | string | ๋น์ถ์ฒ ์ |
Replies | []Reply | ๋๊ธ |
Writer | Writer | ์์ฑ์ |
ํ๋ ์ด๋ฆ | ์๋ฃํ | ์ค๋ช |
---|---|---|
Type | string | ๋๊ธ(reply)/๋๋๊ธ(re-reply) ๊ตฌ๋ถ |
Body | string(HTML) | ๋๊ธ ๋ด์ฉ |
Timestamp | string | ์์ฑ ์๊ฐ |
Writer | Writer | ์์ฑ์ |
ํ๋ ์ด๋ฆ | ์๋ฃํ | ์ค๋ช |
---|---|---|
Category | string | ๊ฐค๋ฌ๋ฆฌ ์นดํ ๊ณ ๋ฆฌ |
Name | string | ๊ฐค๋ฌ๋ฆฌ ์ฝ๋ |
KoName | string | ๊ฐค๋ฌ๋ฆฌ ์ด๋ฆ |
Manager | string | ๋งค๋์ ID |
SubManager | string( , ๋ก ๊ตฌ๋ถ) | ๋ถ๋งค๋์ ID |
No | string | ๊ฒ๋ฌ๋ฆฌ ๋ฒํธ |
GalleryID ๊ฐค๋ฌ๋ฆฌ์ ๊ฒ์๊ธ ๋ชฉ๋ก 1ํ์ด์ง๋ฅผ ์ฝ์ด์ต๋๋ค.
package main
import (
"fmt"
"log"
"github.com/dfkdream/godc/v2"
)
func main() {
dat, err := godc.FetchArticleList("<GalleryID>", 1, false)
if err != nil {
log.Fatal(err)
}
for index, data := range dat {
fmt.Printf("=============article%d==============\n", index)
fmt.Printf("URL: %s\nTitle: %s\nType: %s\nReplyCount: %s\nTimestamp : %s\nViewCount : %s\nUpVote : %s\nWriter : %+v",
data.URL,
data.Title,
data.Type,
data.ReplyCount,
data.Timestamp,
data.ViewCount,
data.UpVote,
data.Writer)
}
}
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.