ScreenFlow Guide

How to Hide Secrets in VS Code When Recording with ScreenFlow

ScreenFlow is the go-to screen recorder for Mac-based course creators. You record a polished tutorial, export it, upload to your course platform -- and then a student emails you: "I can see your database password at 12:47." Here is how to prevent that permanently.

Why ScreenFlow Users Are at Risk

ScreenFlow is designed for high-quality tutorial production. Its multi-track timeline, built-in annotations, and callout tools make it the preferred choice for instructors on platforms like Udemy, Teachable, and Skillshare. Telestream reports over 250,000 active ScreenFlow licenses, with a large portion used by developers creating programming courses.

The problem is specific to how tutorials are made: you walk through real code with real configurations. Unlike a slide deck, a coding tutorial requires a working project -- and working projects have real secrets in them. ScreenFlow's Display Recording captures everything on your screen, including every open file in VS Code, Cursor, Windsurf, or Antigravity.

The Course Creator's Dilemma

Course recordings are long. A single lesson might run 20-45 minutes, and a full course can involve 60+ recording sessions. Across all those hours, maintaining perfect operational security is nearly impossible. You will open a .env file to check a value, switch to a config file to debug a connection string, or accidentally hover over a terminal output that echoes a token.

Unlike a quick screen recording, courses are published permanently. They get sold for months or years. A secret visible in a single frame of a single lesson remains accessible to every future student who enrolls.

The Typical Workflow Without PixelHush

Most ScreenFlow tutorial creators use one of these approaches to deal with secrets:

All of these approaches share the same flaw: they depend on you remembering to do them every single time.

# config/database.yml -- visible in your ScreenFlow recording
production:
  host: db-prod.us-east-1.rds.amazonaws.com
  username: admin
  password: Kx9$mP2vL!qR8nZw
  database: myapp_production

The Automated Solution: PixelHush + ScreenFlow

PixelHush is a macOS menu bar app that detects when any screen recording begins and automatically masks secrets in your code editor. ScreenFlow detection requires PixelHush Pro (from $5/month or $49/year).

How ScreenFlow Detection Works

PixelHush uses process-level monitoring to detect when ScreenFlow initiates a recording. It identifies ScreenFlow by its bundle ID prefix (net.telestream.screenflow, covering all versions including ScreenFlow 10 and later) and immediately triggers secret masking in all connected editor extensions within approximately 50 milliseconds.

ScreenFlow detection is part of PixelHush's advanced process-level monitoring, which requires a Pro license. This is because ScreenFlow uses a versioned bundle ID pattern (e.g., net.telestream.screenflow10) that requires prefix matching beyond the standard ScreenCaptureKit detection included in the Free tier.

Requires PixelHush Pro

ScreenFlow detection requires a Pro subscription (from $5/month or $49/year). The Free tier covers macOS Built-in, OBS Studio, Zoom, and Chrome. Upgrade to Pro for ScreenFlow, Loom, Screen Studio, CleanShot X, Discord, and the rest of the supported Pro apps.

# What ScreenFlow actually records -- secrets are masked
production:
  host: ••••••••••••••••••••
  username: ••••••••••••••••••••
  password: ••••••••••••••••••••
  database: ••••••••••••••••••••

Setup: PixelHush with ScreenFlow

  1. Install PixelHush PRO -- Download from pixelhush.dev. Drag to Applications. Grant Screen Recording permission on first launch. Activate your Pro license for ScreenFlow detection.
  2. Install the editor extension -- Open VS Code, Cursor, Windsurf, or Antigravity, go to Extensions, search "PixelHush", and install. The extension connects to the menu bar app automatically via local WebSocket on port 39271.
  3. Check the connection -- The VS Code status bar shows a PixelHush icon with "Connected" status. Supports VS Code, Cursor, Windsurf, and Antigravity.
  4. Record with ScreenFlow -- Start a new ScreenFlow recording as usual. Within milliseconds, all detected secrets in your open editor files are replaced with masked characters.
  5. Stop and edit -- When you stop the ScreenFlow recording, secrets unmask instantly. Edit your footage in ScreenFlow's timeline as normal -- no blur annotations needed.
[Screenshot: VS Code with secrets masked during ScreenFlow recording]

ScreenFlow Workflow: Before vs After PixelHush

Here is how PixelHush changes the typical course creation workflow with ScreenFlow:

Workflow Step Without PixelHush With PixelHush
Pre-recording prep 5-10 min closing files, setting dummy values None needed
During recording Constant vigilance about which files are open Record naturally, switch any file
Post-production 15-30 min adding blur per lesson Zero secret-related editing
Risk of leaks High -- one slip across 60+ recordings Zero -- automatic system-level detection
Cost per course 10-20 hours of extra editing Pro — from $5/mo

What PixelHush Masks

PixelHush ships with 48 built-in detection patterns covering secrets across 7 file formats (.env, .json, .yaml, .toml, .xml, .properties, and .ini):

ScreenFlow-Specific Tips for Course Creators

Use Display Recording Freely

ScreenFlow's "Record Desktop" mode captures your entire screen. With PixelHush running, you can use this mode without worrying about which editor tabs are visible. Switch between files, open terminal output, check config -- secrets are masked everywhere the PixelHush extension is installed.

Batch Recording Sessions

Course creators often record multiple lessons back-to-back. PixelHush handles repeated start/stop cycles seamlessly. Each time ScreenFlow begins a new recording, masking activates. Each time it stops, masking deactivates. No need to restart PixelHush between sessions.

Browser Dashboard Coverage

If your ScreenFlow tutorials include visiting AWS Console, Stripe Dashboard, or Firebase, install the PixelHush Chrome Extension. It masks secrets in web pages during recording, giving you full coverage across your editor and browser.

Retina and Multi-Monitor Support

ScreenFlow supports high-resolution Retina recording and multi-monitor setups. PixelHush's masking works at the editor level, not the pixel level, so it functions correctly regardless of your display configuration or ScreenFlow's recording resolution.

PixelHush

Stop leaking secrets. Start recording freely.

Join thousands of developers who share code safely every day with PixelHush.