Detects if sensitive information, such as credit card numbers, access tokens, and API keys, is entered into ChatGPT and alerts the user.
This UserScript is designed to enhance security and privacy when using ChatGPT by detecting sensitive information entered into the text area. It provides real-time alerts to users when they attempt to input sensitive data, helping to prevent accidental exposure of confidential information.
- Identifies patterns of sensitive information, including credit card numbers, access tokens, and API keys.
- Provides immediate alerts to users when sensitive information is detected, reminding them not to enter such data into ChatGPT.
- Easy to integrate into ChatGPT sessions as a browser extension using UserScript functionality.
To use this script:
- Install a UserScript manager extension in your browser, such as Tampermonkey.
- Copy the script provided in
chatgpt_sensitive_info_detection.user.js
. - Paste the script into your UserScript manager and save it.
- The script will automatically run when you visit the ChatGPT website and detect sensitive information input into the text area.
Contributions are welcome! If you have ideas for improving this script or want to report an issue, feel free to open an issue or submit a pull request on GitHub.
This script was authored by Mohammed Fathy (@Secfathy).
This project is licensed under the MIT License - see the LICENSE file for details.