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/leetcode-golang-classroom/golang-finance-api
This is sample of how to structure my golang restful api server
This folder is for executable package main with func main
This folder is for internal implementation not output as package
This folder is for ouptut as package
透過把相同職責的元件放到同一個 service 資料夾 folder 下
比如這邊放在 service/auth 下的 go 檔案都是與操作 auth 相關
然後再根據不同的處理範圍分別取名不同,比如是處理 jwt 則放 jwt.go
處理網路請求路由則放 router.go
此資料夾用來放置可以開發對外使用的 library
比如這邊是針對 password 的操作
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.