Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/xiaohubai/rpc_layout
kratos upgrade //安装依赖,升级版本
make init
kratos new github.com/xiaohubai/rpc_layout //创建大仓
kratos new app/dict --nomod //大仓模式 公用go.mod
kratos proto add api/dict/v1/dict.proto //添加proto文件
kratos proto client api/dict/v1/dict.proto //生成client代码
kratos proto server api/dict/v1/dict.proto -t app/dict/internal/service //生成server代码
biz.repo定义接口,usecase实例的代码实现
data:实现的数据库连接,实现biz.repo接口定义
service : 关联到http grpc的调用实例和usercase
serve:service实例注册到grpc http
#TODO: 1.消费consume kafka,入es 和warn告警 2.获取字典序 rpc http方式 3.上传excel 和下载excel
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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.