
Research
lightning PyPI Package Compromised in Supply Chain Attack
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.
github.com/xiaohubai/rpc_layout
Advanced tools
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
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.