
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
github.com/Neaj-Morshad-101/testing
Advanced tools
https://onsi.github.io/ginkgo/ https://onsi.github.io/gomega/
Ginkgo is a testing framework for Go designed to help you write expressive tests. It is best paired with the Gomega matcher library. When combined, Ginkgo and Gomega provide a rich and expressive DSL (Domain-specific Language) for writing tests.
Ginkgo is a testing framework for Go designed to help you write expressive tests.
Gomega is a matcher/assertion library.
Ginkgo uses go modules. To add Ginkgo to your project, assuming you have a go.mod file setup, just go install it: go install github.com/onsi/ginkgo/v2/ginkgo go get github.com/onsi/gomega/...
ginkgo bootstrap // add a Ginkgo suite to books pkg
This will generate a file named books_suite_test.go in the books directory.
ginkgo generate book // to test book.go, generate book_test.go
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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.