Repository navigation
π SafePaste v0.1.0 β First MVP Release!
Your secrets deserve a second chance before you hit Submit. π
We're excited to introduce the first MVP release of SafePaste, a small, local-first browser extension that helps developers catch accidentally pasted GitHub Personal Access Tokens before posting them.
No complicated setup. No external servers. Just a gentle warning when it matters.
β¨ What's included
- GitHub PAT detection: Detects Classic (
ghp_) and Fine-grained (github_pat_) Personal Access Tokens in pasted text. - Non-blocking warnings: Shows a small warning banner without interrupting native paste, typing, or submission.
- One-click redaction: Replace detected tokens with
[REDACTED_GITHUB_PAT]. - Dismiss anytime: Close the warning without changing your text.
- GitHub editor support: Works with supported Issue and Pull Request text editors, including modern CommentBox editors.
π Privacy first
SafePaste is designed to work entirely on your device.
- No extension-initiated network requests or telemetry.
- No persistent storage of pasted text.
- No unnecessary browser API permissions.
- No raw secrets displayed in warnings or logs.
- Temporary detection sessions expire after 60 seconds.
Your pasted text is processed locally, and SafePaste never sends it to external servers.
π¦ Installation
- Download
safe-paste-v0.1.0.zipfrom this release. - Extract the ZIP file.
- Open
chrome://extensionsoredge://extensions. - Enable Developer mode.
- Click Load unpacked and select the extracted folder containing
manifest.json. - Open a supported GitHub Issue or Pull Request editor and you're ready to go!
The MVP has been manually verified on Microsoft Edge. Chrome and other browsers have not yet been manually validated.
β οΈ Known limitations
This is our first MVP, and we're intentionally keeping the scope small.
- Only GitHub Classic and Fine-grained PAT formats are supported.
- Detection happens on paste, not during normal typing.
- Issue titles, Discussions, Releases, and other GitHub surfaces are not yet supported.
- Detection is best-effort. Always review your text before submitting.
- Redacting a token does not revoke it. If a real credential was exposed, revoke and rotate it.
- Redaction can reset the editor's native undo/redo history.
π Special thanks to John!
A huge thank you to @johnnylemonny for his contributions to SafePaste's first release!
John helped strengthen the foundation of SafePaste through several important improvements:
- Session lifecycle and cleanup (#33): Improved cleanup of pending paste operations, active sessions, timers, and warning UI during navigation and teardown.
- Sensitive data minimization (#34): Reduced redundant in-memory retention of sensitive pasted text while preserving safe redaction checks.
- MVP release readiness (#35): Improved production build security verification, release documentation, and real-browser validation.
These contributions helped make SafePaste safer, more reliable, and better prepared for its first public release.
Thank you, John, for your time, thoughtful engineering, and commitment to making this project better! πΈπ
π± Built by the community
SafePaste is an open-source project developed under NECOZ.
Thank you to everyone who contributed code, ideas, testing, reviews, and feedback.
We're excited to see where the community takes it next!
Small. Simple. Useful. π
GitHub Repository Β· Report an Issue Β· NECOZ
What's Changed
- docs: define SafePaste MVP scope and architecture by @nyaomaru in #8
- chore: initialize Chrome extension development environment by @nyaomaru in #10
- docs: simplify input budget using UTF-16 code units by @nyaomaru in #11
- feat(core): design pure TypeScript detection and redaction API (#3) by @johnnylemonny in #9
- feat(core): implement initial GitHub PAT detection rules (#4) by @johnnylemonny in #17
- feat(adapter): prototype GitHub paste event handling and safe text replacement (#5) by @johnnylemonny in #12
- feat(ui): prototype non-blocking warning and redaction preview UI (#6) by @johnnylemonny in #13
- docs(security): define privacy and safety requirements for MVP (#7) by @johnnylemonny in #14
- fix(core): validate detection ranges and establish safe failure handling (#15) by @johnnylemonny in #18
- refactor(core): centralize secret-free finding metadata generation (#16) by @johnnylemonny in #19
- Redesign the warning banner with NECOZ styling by @nyaomaru in #31
- fix(adapter): enforce page scope for GitHub editors by @nyaomaru in #32
- fix(adapter): dispose pending paste work and sessions on navigation and teardown (#27) by @johnnylemonny in #33
- refactor(adapter): minimize transient sensitive data retained by paste sessions (#28) by @johnnylemonny in #34
- ci: automate extension releases by @nyaomaru in #37
- chore(release): prepare SafePaste MVP release metadata and bundle audit (#25) by @johnnylemonny in #35
- Release: 0.1.0 by @github-actions[bot] in #38
New Contributors
- @nyaomaru made their first contribution in #8
- @johnnylemonny made their first contribution in #9
- @github-actions[bot] made their first contribution in #38
Full Changelog: https://github.com/necoz-oss/safe-paste/commits/v0.1.0