Skip to content

Conversation

@lnspirafirmaGPK
Copy link
Collaborator

Implement security and performance fixes by hashing passwords, adding a Content Security Policy, removing inline event handlers, and capping chat messages.


Open in Cursor Open in Web

This commit enhances the chat application's security by implementing password hashing using Web Crypto API, replacing the plaintext password storage. It also refactors the UI to use CSS classes for screen visibility and updates event handling to remove inline onclick attributes, improving adherence to Content Security Policy (CSP). Additionally, input fields now support Enter key submission for login and message sending, and the chat message history is capped to prevent excessive DOM growth.

Co-authored-by: lnspirafirma <lnspirafirma@gmail.com>
@lnspirafirmaGPK lnspirafirmaGPK marked this pull request as ready for review October 22, 2025 05:16
@lnspirafirmaGPK lnspirafirmaGPK changed the base branch from lnspirafirma to หลัก December 5, 2025 11:01
@lnspirafirma lnspirafirma deleted a comment from cursor bot Dec 7, 2025
@lnspirafirmaGPK lnspirafirmaGPK changed the base branch from หลัก to coderabbitai/docstrings/b44d423 December 7, 2025 04:03
@lnspirafirmaGPK lnspirafirmaGPK changed the base branch from coderabbitai/docstrings/b44d423 to หลัก December 7, 2025 04:03
@lnspirafirma lnspirafirma deleted a comment from coderabbitai bot Dec 9, 2025
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