feat: add ci #1
security-scan.yml
on: push
Trivy 前端依赖扫描
23s
Trivy 后端依赖扫描
22s
Go 官方漏洞检查
21s
Gitleaks 敏感信息泄露检测
5s
Annotations
11 errors and 5 warnings
|
Gitleaks 敏感信息泄露检测
🛑 missing gitleaks license. Go grab one at gitleaks.io and store it as a GitHub Secret named GITLEAKS_LICENSE. For more info about the recent breaking update, see [here](https://github.com/gitleaks/gitleaks-action#-announcement).
|
|
Go 官方漏洞检查
app.Server.ListenAndServe calls http.Server.ListenAndServe, which eventually calls tls.Conn.HandshakeContext
|
|
Go 官方漏洞检查
app.handleChat calls http.Client.Do, which eventually calls tls.Dialer.DialContext
|
|
Go 官方漏洞检查
app.cancelOnCloseReadCloser.Close calls http.http2transportResponseBody.Close, which eventually calls tls.Conn.Write
|
|
Go 官方漏洞检查
app.cancelOnCloseReadCloser.Close calls http.body.Close, which eventually calls tls.Conn.Read
|
|
Go 官方漏洞检查
app.Server.ListenAndServe calls http.Server.ListenAndServe, which eventually calls tls.Conn.HandshakeContext
|
|
Go 官方漏洞检查
app.Server.handleSTT calls http.Request.ParseMultipartForm, which eventually calls url.ParseQuery
|
|
Go 官方漏洞检查
app.handleChat calls http.Client.Do, which eventually calls url.URL.Parse
|
|
Go 官方漏洞检查
app.Server.ListenAndServe calls http.Server.ListenAndServe, which eventually calls url.ParseRequestURI
|
|
Go 官方漏洞检查
app.Server.ListenAndServe calls http.Server.ListenAndServe, which eventually calls url.Parse
|
|
Go 官方漏洞检查
app.LoadConfig calls os.Getenv, which eventually calls os.ReadDir
|
|
Gitleaks 敏感信息泄露检测
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: gitleaks/gitleaks-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Trivy 后端依赖扫描
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, github/codeql-action/upload-sarif@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Trivy 后端依赖扫描
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|
|
Trivy 前端依赖扫描
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, github/codeql-action/upload-sarif@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Trivy 前端依赖扫描
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|