Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/denkylabs/discord-api-types-go
Up to date Discord API Typings for Golang
go get -u github.com/denkylabs/discord-api-types-go
$ cd $GOPATH
$ mkdir -p src/github.com/denkylabs
$ cd src/github.com/denkylabs
$ git clone https://github.com/denkylabs/discord-api-types-go.git
$ cd discord-api-types-go
$ go install
The exports of each API version is split into three main parts:
Everything exported with the API
prefix represents a payload you may get from the REST API or the Gateway.
Everything exported with the Gateway
prefix represents data that ONLY comes from or is directly related to the Gateway.
Everything exported with the REST
prefix represents data that ONLY comes from or is directly related to the REST API.
Anything else that is miscellaneous will be exported based on what it represents (for example the REST
route object).
Warning: This package documents just KNOWN (and documented) properties. Anything that isn't documented will NOT be added to this package (unless said properties are in an open Pull Request to Discord's API Documentation repository or known through other means and have received the green light to be used). For clarification's sake, this means that properties that are only known through the process of data mining and have not yet been confirmed in a way as described will NOT be included.
Go version | Status |
---|---|
Go 1.18 | |
Go 1.17 | Not supported. |
Go 1.16 | Not supported. |
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.