Show HN: MaskGPT – A Chrome Extension That Masks Secrets in Copied Text

2 bakigul 0 6/25/2025, 7:11:42 PM github.com ↗
We all use AI every day but have you ever thought about security? Your code snippets might contain sensitive information like apikey:123 or pwd:mysecret. To solve this, my friend Atakan and I built a Chrome extension that automatically masks secrets in the text you copy-paste into GPT interfaces. We use regex-based pattern matching to detect and mask secrets in real time no more leaking sensitive keys by accident!

For example:

apikey=123456 → apikey=[MASKED] pwd:supersecret → pwd:[MASKED]

This is just the beginning, and we have a lot of room for improvement. If you’d like to contribute, please open an issue or PR on our GitHub!

Comments (0)

No comments yet