
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.
Convenient and quick service startup, unified project template, three-key generation of microservices
Assume the project directory is projectName
kratos new $(projectName) -r git@github.com:itsgn/sgn-layout.git
The value of projectName here needs to be consistent with the first step
make initProject PROJECT=$(projectName)
make initNewService ServiceUpperName=Store ServiceLowerName=store
The above operation will generate a directory named projectName, containing a crud service named StoreService.
pkg/utils: Commonly used function packages
If the environment is set to dev, it is a development environment. You can set rules based on this variable, such as debug mode, print sql
Integer values are all int64. When converting proto to json, the int64 type will be converted to string type due to precision issues
The interface document is in openapi.yaml
The local development and docker deployment files are configs/config-dev.yaml, which can be changed in Dockerfile
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.