Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Fixes #6

This commit introduces a message classification feature to postLogger.
Messages logged by the extension are now analyzed and classified based on their content.

The following classifications are implemented:
- "Potential XSS": If the message content includes "<script>" tags.
- "Potential Sensitive Data": If the message content includes keywords like "password", "credit card", or "ssn".
- "General Information": For all other messages.

The classification is displayed in the console along with the message details.
This is a heuristic-based approach, and future work could involve a more
sophisticated AI model for more advanced threat detection.

The README.md has been updated to reflect this new feature.
@NDevTK NDevTK closed this Oct 26, 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.

2 participants