Fix share #4151
Annotations
4 errors and 2 warnings
|
test
Process completed with exit code 1.
|
|
test/cases/service/core/app/http.test.ts > SSRF Vulnerability Fix Tests > Link-Local Address Protection > should block IPv6 link-local addresses (fe80::):
test/cases/service/core/app/http.test.ts#L208
AssertionError: expected 'connect EINVAL fe80::1:80 - Local (::…' to be 'Access to internal addresses is not a…' // Object.is equality
Expected: "Access to internal addresses is not allowed"
Received: "connect EINVAL fe80::1:80 - Local (:::0)"
❯ test/cases/service/core/app/http.test.ts:208:31
|
|
test/cases/service/common/system/utils.test.ts > SSRF Protection - isInternalAddress > CHECK_INTERNAL_IP 未设置时(默认行为 - 安全优先) > 应该阻止解析到私有 IP 的域名:
test/cases/service/common/system/utils.test.ts#L105
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/cases/service/common/system/utils.test.ts:105:71
|
|
test/cases/service/common/system/utils.test.ts > SSRF Protection - isInternalAddress > CHECK_INTERNAL_IP 未设置时(默认行为 - 安全优先) > 应该阻止私有 IP 地址(默认启用安全检查):
test/cases/service/common/system/utils.test.ts#L96
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/cases/service/common/system/utils.test.ts:96:59
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
|
test
Couldn't write a comment to the pull request. Please make sure your job has the permission 'pull-requests: write'.
Original Error was: [HttpError] - Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
|