Skip to content

KrshnKush/SeeMeNot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SeeMeNot

A macOS utility that automatically detects and hides sensitive content during Microsoft Teams screen sharing.

When you start sharing your screen, SeeMeNot takes a one-shot screenshot of every open window (including minimized ones), sends them in parallel to Azure OpenAI GPT-4.1 for privacy analysis, and places dark overlays on any window containing sensitive information — passwords, salary slips, private chats, banking details, medical records, and more.

Switch to a sensitive app during sharing and the overlay appears instantly. Switch away and it disappears. Click the overlay to dismiss it.

How It Works

  1. SeeMeNot runs as a menu-bar app (🛡)
  2. Detects when Microsoft Teams screen sharing starts (via Quartz window heuristics)
  3. Captures all windows in parallel and sends screenshots to Azure OpenAI for classification
  4. Flagged windows get a dark overlay visible to screen-sharing viewers
  5. Overlays track window position in real time and only appear when the sensitive app is in the foreground
  6. Click an overlay to dismiss it — other sensitive windows stay protected

No re-scanning while sharing is active. When you stop and start sharing again, a fresh scan runs.

Requirements

  • macOS 12+ (Monterey or later)
  • Python 3.11+
  • Azure OpenAI endpoint with a GPT-4.1 (or similar vision model) deployment

Setup

cd SeeMeNot
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Configure your Azure OpenAI credentials:

cp .env_sample .env
# Edit .env with your real values:
#   AZURE_ENDPOINT=https://your-resource.openai.azure.com/openai/v1/chat/completions
#   AZURE_API_KEY=your-api-key
#   AZURE_DEPLOYMENT=gpt-4.1

Grant macOS permissions:

  • Screen Recording: System Settings → Privacy & Security → Screen Recording → enable your terminal
  • Accessibility (optional, for Esc key dismiss): System Settings → Privacy & Security → Accessibility

Usage

source .venv/bin/activate
python -m seemenot

Controls

Action How
Dismiss one overlay Click on it
Dismiss via keyboard Press Esc (requires Accessibility permission)
Remove all overlays Menu bar → Remove All Overlays
Force re-scan Menu bar → Re-scan Now
Pause/resume Menu bar → Pause Scanning

Architecture

seemenot/
  app.py              — Menu-bar app, scanner loop, overlay orchestration
  window_capture.py   — Window enumeration + screenshot capture (Quartz)
  privacy_analyzer.py — Response parsing and classification
  connectAzure.py     — Azure OpenAI vision API client
  overlay_manager.py  — Clickable overlay window creation and positioning
  sharing_detector.py — Microsoft Teams screen sharing detection
  config.py           — Settings, prompts, Azure credentials

Limitations

  • Relies on heuristics to detect Teams screen sharing — may not work on all Teams versions
  • Azure OpenAI calls add latency to the initial scan (typically 5–15 seconds for all windows)
  • False positives/negatives are possible — tune the prompt in config.py if needed
  • Overlays are per-app: they appear when the sensitive app is frontmost and hide when you switch away

About

macOS utility that detects sensitive content in open windows during Microsoft Teams screen sharing and automatically hides it behind overlays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages