Skip to content

Conversation

@kernelshard
Copy link
Owner

No description provided.

- Add JWT algorithm validation to prevent algorithm confusion attacks
- Fix email claim validation in token validation
- Remove debug fmt.Println() from user storage
- Improve security error logging

Fixes critical JWT security vulnerabilities in auth service
@kernelshard kernelshard requested a review from mrasif August 9, 2025 17:52
Copy link
Collaborator

@mrasif mrasif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that comment only else looks finr

@kernelshard
Copy link
Owner Author

@mrasif check please. Test case is failing. Create an issue and assign to yourself or me

@mrasif
Copy link
Collaborator

mrasif commented Aug 11, 2025

@samims, I don't think we need to create issue for test case failure, It should be fixed in the current PR itself. Check the logs of GitHub actions, you will get to know the reason.

Logs: https://github.com/samims/hcaas/actions/runs/16859216987/job/47756846995?pr=45

@kernelshard
Copy link
Owner Author

@samims, I don't think we need to create issue for test case failure, It should be fixed in the current PR itself. Check the logs of GitHub actions, you will get to know the reason.

Logs: https://github.com/samims/hcaas/actions/runs/16859216987/job/47756846995?pr=45

well it's not. Please have a look

@mrasif
Copy link
Collaborator

mrasif commented Aug 11, 2025

@samims All test passed!
Problem was you had added password complexity but forgot to update test case accordingly.

@kernelshard kernelshard merged commit d6d3db1 into dev Aug 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants