
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
github.com/go-micro-saas/service-layout
启动服务;启动请检查配置文件;如果使用配置中心,请跳过执行,先阅读服务配置
部分
# 查看帮助
make help
# 运行服务
# 运行服务
make run-service
# or
make run-all-in-one
# 测试服务
make testing-service
# or
make testing-all-in-one
示例如下:
# app 程序
app:
server_name: xxx-service
# 配置方式;值:local、consul、etcd
config_method: consul
如果app.config_method
配置是使用配置中心(consul、etcd、...),首先把配置写入配置中心:
# 执行
make store-configuration
# or
#* `conf`: 启动读取配置
#* `source_dir`: 被存储的配置文件所在文件夹
#* `store_dir`: 存储到配置中心位置
go run ./app/service-layout/cmd/store-configuration/... -conf=./app/service-layout/configs \
-source_dir=./app/service-layout/configs \
-store_dir=go-micro-saas/service-layout/develop/v1.0.0
go run ./app/service-layout/cmd/store-configuration/... -conf=./app/service-layout/configs \
-source_dir=./app/uuid-service/configs \
-store_dir=go-micro-saas/uuid-service/develop/v1.0.0
生成文档:
make protoc-api-protobuf
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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.