Skip to content

[SEC]: Implement API key rotation reminders and age tracking #112

Description

@shouri123

Description

Users who save their API keys have no way to know when those keys might be approaching expiration or if they've been rotated on the provider side. Adding a periodic reminder system would help users maintain uninterrupted service.

Task

  1. Track the date when API keys were last saved in chrome.storage.local
  2. Add a configurable reminder interval (default: 30 days) in the options page
  3. Show a non-intrusive notification badge on the extension icon when keys are older than the threshold
  4. Display a reminder banner in the popup/dashboard suggesting key rotation
  5. Allow users to dismiss the reminder or snooze for 7 days

Files Affected

  • src/background.ts
  • src/options.ts / src/options.html
  • src/popup.ts / src/popup.html

Acceptance Criteria

  • Key age is tracked in storage
  • Reminder appears after configurable threshold
  • Users can dismiss or snooze
  • All quality checks pass

Difficulty

🟡 Intermediate

Activity

  1. added
    gssocOfficial GSSoC contribution issue
    level:intermediateDifficulty level: Intermediate (35 pts)
    type:securityType: Security (Optional bonus)
    on May 28, 2026
  2. bajpaisaurabhakoode commented on May 28, 2026

    @bajpaisaurabhakoode

    Hi @shouri123, I would like to work on this security improvement for GSSoC.

    Plan:

    • Store a lastSavedAt timestamp whenever API keys are saved.
    • Add a configurable reminder interval in options, defaulting to 30 days.
    • Surface a lightweight badge/banner when keys exceed the threshold.
    • Add dismiss and 7-day snooze state in chrome.storage.local.
    • Keep the UI non-intrusive and run the extension quality checks before opening the PR.

    Please assign this to me if the plan matches the expected behavior.

  3. github-actions commented on May 28, 2026

    @github-actions
    Contributor

    Hello @bajpaisaurabhakoode! You have been assigned to this issue. 🚀

    Please make sure you have read our contribution guidelines. Happy coding!


    Please consider starring the repository ⭐ to show your support!

  4. github-actions commented on Jun 29, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions