Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ci: integrate Bright CI for security testing and remediation [165 eps, 2 loops; target-inaccessible] #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
ci: integrate Bright CI for security testing and remediation [165 eps, 2 loops; target-inaccessible] #103
Changes from all commits
da51a351b34a03ee6397beb233a4f1e73a37f020482838c8d0005ffbfeab575e080cef189ca2eFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check failure on line 1 in .brightsec/tests/get-rest-chatbot-status.test.ts
.brightsec/tests/get-rest-chatbot-status.test.ts#L1
Raw output
{ "id": "sAC84XkSvE5Ac7yf3H1RQD", "name": "Broken JWT Authentication", "severity": "High", "labels": [], "assigneeIds": [], "comments": [], "status": "recurring", "occurrences": 25, "lastReported": "2025-08-08T07:54:41.333Z", "createdAt": "2025-08-08T07:54:41.383Z", "url": "http://127.0.0.1:3000/rest/chatbot/status", "host": "127.0.0.1:3000", "method": "GET", "protocol": "http", "originalRequest": { "method": "GET", "url": "http://127.0.0.1:3000/rest/chatbot/status", "headers": { "x-recruiting": "We're hiring! Visit our careers page for more information.", "Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJh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bi5wbmciLCJ0b3RwU2VjcmV0IjoiIiwiaXNBY3RpdmUiOnRydWUsImNyZWF0ZWRBdCI6IjIwMjUtMDgtMDggMDc6NTM6NTEuNzYzICswMDowMCIsInVwZGF0ZWRBdCI6IjIwMjUtMDgtMDggMDc6NTM6NTEuNzYzICswMDowMCIsImRlbGV0ZWRBdCI6bnVsbH0sImlhdCI6MTc1NDYzOTY3N30.XcgkYHSu6-1Fhm10KbT1EDdsmp5yvURGmxMnDgBbGlKJ6bmE9k3veg4aF3Hx8YC_uYePm0quYZdc8CPbBIn58D5NaYxCOBco8p4ioJ-8mCXopk27qeqoIBPOBlybbx8R-SVcJTFn2dJyDLWrr_gjcU_Epm7JF5bGy4nGyurACew", "Connection": "close", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.6998.165 Safari/537.36" } }, "request": { "method": "GET", "url": "http://127.0.0.1:3000/rest/chatbot/status", "headers": { "x-recruiting": "We're hiring! Visit our careers page for more information.", "Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdGF0dXMiOiJzdWNjZXNzIiwiZGF0YSI6eyJpZCI6MSwidXNlcm5hbWUiOiIiLCJlbWFpbCI6ImFkbWluQGp1aWNlLXNoLm9wIiwicGFzc3dvcmQiOiIwMTkyMDIzYTdiYmQ3MzI1MDUxNmYwNjlkZjE4YjUwMCIsInJvbGUiOiJhZG1pbiIsImRlbHV4ZVRva2VuIjoiIiwibGFzdExvZ2luSXAiOiIiLCJwcm9maWxlSW1hZ2UiOiJhc3NldHMvcHVibGljL2ltYWdlcy91cGxvYWRzL2RlZmF1bHRBZG1pbi5wbmciLCJ0b3RwU2VjcmV0IjoiIiwiaXNBY3RpdmUiOnRydWUsImNyZWF0ZWRBdCI6IjIwMjUtMDgtMDggMDc6NTM6NTEuNzYzICswMDowMCIsInVwZGF0ZWRBdCI6IjIwMjUtMDgtMDggMDc6NTM6NTEuNzYzICswMDowMCIsImRlbGV0ZWRBdCI6bnVsbH0sImlhdCI6MTc1NDYzOTY3N30.XcgkYHSu6-1Fhm10KbT1EDdsmp5yvURGmxMnDgBbGlKJ6bmE9k3veg4aF3Hx8YC_uYePm0quYZdc8CPbBIn58D5NaYxCOBco8p4ioJ-8mCXopk27qeqoIBPOBlybbx8R-SVcJTFn2dJyDLWrr_gjcU_Epm7JF5bGy4nGyurACew", "Cookie": "token=eyJ0eXAiOiJKV1QiLCJhbGciOiJOb25lIn0.eyJzdGF0dXMiOiJzdWNjZXNzIiwiZGF0YSI6eyJpZCI6MSwidXNlcm5hbWUiOiIiLCJlbWFpbCI6ImFkbWluQGp1aWNlLXNoLm9wIiwicGFzc3dvcmQiOiIwMTkyMDIzYTdiYmQ3MzI1MDUxNmYwNjlkZjE4YjUwMCIsInJvbGUiOiJhZG1pbiIsImRlbHV4ZVRva2VuIjoiIiwibGFzdExvZ2luSXAiOiIiLCJwcm9maWxlSW1hZ2UiOiJhc3NldHMvcHVibGljL2ltYWdlcy91cGxvYWRzL2RlZmF1bHRBZG1pbi5wbmciLCJ0b3RwU2VjcmV0IjoiIiwiaXNBY3RpdmUiOnRydWUsImNyZWF0ZWRBdCI6IjIwMjUtMDgtMDggMDc6NTM6NTEuNzYzICswMDowMCIsInVwZGF0ZWRBdCI6IjIwMjUtMDgtMDggMDc6NTM6NTEuNzYzICswMDowMCIsImRlbGV0ZWRBdCI6bnVsbH0sImlhdCI6MTc1NDYzOTY3N30.", "Connection": "close", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.6998.165 Safari/537.36" } }, "response": { "headers": { "access-control-allow-origin": "*", "x-content-type-options": "nosniff", "x-frame-options": "SAMEORIGIN", "feature-policy": "payment 'self'", "x-recruiting": "/#/jobs", "content-type": "application/json; charset=utf-8", "content-length": "88", "etag": "W/\"58-m8V3FIrSL224h1kPmtYx3djkb90\"", "vary": "Accept-Encoding", "date": "Fri, 08 Aug 2025 07:54:41 GMT", "Connection": "close", "Cache-Control": "public, max-age=99999" }, "body": "{\"action\":\"namequery\",\"body\":\"I'm sorry I didn't get your name. What shall I call you?\"}", "bodyUrl": null, "status": 200 }, "entryPointId": "tyd131qD3wkZVMQ2o9Uzp4", "tickets": [], "externalIssues": [], "issues": [ { "scanId": "xsCcjjUuveELkyHwV8FMXg", "issueId": "sAC84XkSvE5Ac7yf3H1RQD", "createdAt": "2025-08-08T07:54:41.423Z" } ], "details": "A vulnerability was found in a JSON Web Token (JWT).\nJWT vulnerabilities enable an attacker to authenticate themselves as other users, leak information or leverage user access levels.\nValidation of a None algorithm was detected, which was triggered by switching an algorithm to None.", "remedy": "This can be fixed by enforcing verification by using the same algorithm as used for encryption.", "exposure": "Gain Privileges or Assume Identity; Bypass Protection Mechanism; Bypassing Authentication Mechanism", "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "cwe": "CWE-287", "resources": [ "https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_Cheat_Sheet_for_Java.html", "https://docs.brightsec.com/docs/broken-jwt-authentication" ], "screenshots": [], "lastScanId": "xsCcjjUuveELkyHwV8FMXg", "projectId": "eDr1yEcB24cZ51qtsE7hy4", "projectIssueId": "i343Bkx8QAnyjv38TtmiMJ", "certainty": true, "scanIds": [ "xsCcjjUuveELkyHwV8FMXg" ], "issueIds": [ "sAC84XkSvE5Ac7yf3H1RQD" ], "scanId": "xsCcjjUuveELkyHwV8FMXg", "time": "2025-08-08T07:54:41.333Z", "type": "Broken JWT Authentication", "solved": false, "link": "https://app.brightsec.com/scans/xsCcjjUuveELkyHwV8FMXg/issues/sAC84XkSvE5Ac7yf3H1RQD" }Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.