Black Friday at Hostinger: 15% off yearly and longer plans with BFVPS15, until 6 Dec. See plans

Black Friday: 15% off hosting with BFVPS15

Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size1,352 projects
    • Developer Tools690
    • AI & Machine Learning558
    • Business & Productivity335
    • Web Development222
    • Security & Monitoring207
    • Communication & Collaboration174
    • IT Management167
    • Design & Creative152
    • DevOps & CI/CD146
    • LLMOps & AI Tooling144
    Browse all 21 categoriesCloud & Hosting, Product & Project Management and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools690
    • AI & Machine Learning558
    • Business & Productivity335
    • Web Development222
    • Security & Monitoring207
    • Communication & Collaboration174
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Add Open Source Alternatives as a preferred source on Google

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/Developer Tools/Privacy Scan
icon of Privacy Scan

Privacy Scan

  • 0 stars
  • MIT
  • Active this week
  • Last commit 5 days ago

Last verified Nov 30, 2026

Search AI coding agent sessions for leaked API keys, emails, and private data, entirely on your machine.

Visit websiteGitHub0 stars
image of Privacy Scan
TL;DR

Privacy Scan is a command-line tool that reads AI coding agent session files and finds secrets and private data that ended up in them. It covers application programming interface (API) keys, authentication tokens, passwords, and email addresses. Credit card numbers and national ID numbers are also found, across Claude Code, Codex, and Pi sessions. MIT licensed, runs entirely on your machine with no network access. Best for developers who want to audit session files before sharing traces or uploading them anywhere.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Privacy Scan is for#

Developers auditing session exports before uploading them

Run `privacy-scan ~/exports/my-traces` before you push session exports to a dataset hub or share them with a team. It finds the API keys and passwords a session touched, before that folder goes anywhere.

Skip if:

Your session exports have already passed through a secrets-removal step. If a prior pipeline strips secrets before they reach the export folder, privacy-scan checks them again but adds no new coverage.

Teams adding a session audit to their coding workflow

Wire it into a Git hook or a Makefile step that runs before any export or share command. The exit code tells the script whether to stop. The `--json` flag gives a machine-readable list of findings.

Skip if:

Your team's workflow does not involve sharing or exporting session files. If sessions never leave the local machine, the scan is informational rather than preventive.

Developers checking session files before pasting them into a bug report

Paste a session extract into a bug report and you may share more than you intended. Run privacy-scan on the file first to see what category of data is inside. The masked preview helps you judge whether to redact before sharing.

Skip if:

The session you are sharing is a simple conversation with no tool calls or file reads. Sessions that do not touch code or system files rarely contain API keys or passwords.

the problem

The problem it solves#

AI coding agents read your code and run tools as they work. Sometimes a secret ends up in that flow. An API key gets pasted into a prompt. A database password gets printed by a tool call. An email address shows up in a reply. Those records go into the session files the agent writes to disk.

Most developers do not look at those files. Finding a leaked secret by hand means reading through hundreds of records across several agents and projects. For most people, it does not happen.

Sharing those files adds more risk. Exporting traces, uploading datasets to a model hub, or sending logs to a colleague all move those session files somewhere you cannot control. Any secret inside them goes along.

how Privacy Scan solves it

How it solves it#

Scans Claude Code, Codex, and Pi sessions

Reads the session files each agent writes to disk, including tool calls and tool output, the agent's replies, and subagent turns. Archived Codex sessions saved as `.jsonl.zst` compressed files are also read.

Finds secrets and private data by category

Finds private keys, JWT (web authentication tokens), AWS access keys, and prefixed tokens for OpenAI, Stripe, GitHub, Slack, Google, Hugging Face, and npm. It also finds passwords, email addresses, credit card numbers, US Social Security Numbers, and UK National Insurance numbers. Bank account numbers in IBAN (international bank account number) format are covered too. Placeholder values like `your-api-key` are ignored.

Nothing leaves your machine

Every match runs locally with no network code and no calls to any external service. When a finding is reported, it shows the agent, session, location, category, and a masked preview too short to use. No detected value is ever printed in full.

Script-friendly exit codes and JSON output

Exit status `0` means nothing was found, `1` means something was found, and `2` means an error. That makes it easy to wire into a shell script or a commit hook that blocks a share when secrets are found. The `--json` flag prints one JSON (structured data) object per finding to stdout, with the summary on stderr.

Scan any folder of session exports

Run it with no arguments to check all agents' session folders on your machine. Pass a path to scan a folder of exports before you upload them to a dataset hub or share them with a team. It reads every `.jsonl` and compressed `.jsonl.zst` file it finds.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • No dependencies or network accessBuilt in Swift with no package dependencies apart from a vendored decoder for Codex's compressed files. MIT licensed. No server, no account, no telemetry. The binary runs where you put it, with no ongoing network calls.
  • Covers Claude Code, Codex, and Pi sessionsReads all three major AI coding agent formats. It tells them apart by their record structure, so you can point it at a mixed folder of exports without sorting files by agent first. Archived Codex sessions are included.
  • Works in automated workflowsPredictable exit codes and optional JSON output make it easy to add to a Makefile, build step, or Git hook. Findings go to stdout and the summary goes to stderr, so you can redirect them separately. No prompt, no config file needed.

Trade-offs

  • -Build from source requiredThere is no pre-built binary or package manager install. You need Swift on a recent macOS or Linux machine to build it. That is a few minutes of setup for a developer, but it is not a one-command install.
  • -Pattern matching only, not AI-based detectionIt finds secrets and IDs using fixed patterns. It misses names, home addresses, and other natural-language personal data. The Actvt macOS app adds an on-device AI detector for those, but that is a paid feature and not part of this open source repo.
versus alternatives

Privacy Scan vs alternatives#

Privacy Scan vs GitGuardian

Both tools look for secrets in developer workflows, but they scan different things. GitGuardian watches code as it moves through git repositories and automated build pipelines, finding keys before or after they land in a commit. Privacy Scan reads the session files Claude Code, Codex, and Pi write to your local disk, before you share or export them.

FeaturePrivacy ScanGitGuardian
LicenseMITProprietary
Data locationOn your machine, never sentSent to GitGuardian servers
What it scansAI coding agent session filesGit commits, pull requests, build pipelines
Personal data detectionEmail, credit card, national IDsPrimarily secrets and credentials
CostFreeFree for public repos; paid plans for private repos and teams

Privacy Scan is the right tool when you want to check your AI session files before sharing them. Use it before uploading a trace to a dataset hub, sending it to a colleague, or attaching a log to a bug report. It runs on your machine and finds the secrets in those files before they go anywhere.

GitGuardian is the better choice when you need continuous monitoring of your git history, pull requests, and build pipelines. It works best if you are comfortable with files being sent to their servers. For teams that push code to private repositories, GitGuardian's real-time alerts in pull requests are hard to match. For most developer teams, both tools are useful: GitGuardian watches the code you push, and Privacy Scan checks the AI sessions that code produced.

install · quick start

Quick start#

bash
Build from source with Swift to install Privacy Scan on macOS or Linux.
```bash
git clone https://github.com/oye-collective/actvt-privacy-scan
cd actvt-privacy-scan/Packages/ActvtPrivacyScan
swift build -c release
```
tech stack · detected from GitHub

What it's built on#

Languages
CC++Swift
frequently asked

FAQ#

Does Privacy Scan send any data to a server?

No. Privacy Scan runs entirely on your machine. It reads local session files and applies pattern rules there. No finding, file, or metric is sent anywhere. The source code has no networking code.

Which AI coding agents does Privacy Scan support?

Privacy Scan reads session files from Claude Code, Codex, and Pi. It tells them apart by their record format, so a mixed folder of exports works without any sorting. Archived Codex sessions saved as compressed .jsonl.zst files are included.

What kinds of data does Privacy Scan find?

It finds secrets: private keys, authentication tokens, AWS access keys, and service tokens for OpenAI, Stripe, GitHub, and Slack. It also finds passwords, email addresses, credit card numbers, bank account numbers in IBAN format, US Social Security Numbers, and UK National Insurance numbers. Placeholder values like your-api-key or changeme are skipped. The command-line tool does not detect names or addresses. The Actvt app adds that with an on-device AI model.

How do I install Privacy Scan?

You need Swift on a recent macOS or Linux machine. Clone the repository, go into the Packages/ActvtPrivacyScan folder, and run swift build -c release. The binary lands at .build/release/privacy-scan. Move it to a folder in your system path to run it from anywhere.

Is Privacy Scan the same as the scanner inside the Actvt app?

Yes. The Actvt macOS app runs the same scanner on-device and adds an AI-based detector for names and addresses on top of the pattern rules. This open source repo contains the pattern-rules part. Changes made here are merged into Actvt at each release.

also worth a look

Similar open-source tools#

REA (Reverse Engineer Anything)

Featured

Alternative toRevEng.AI

AI-powered reverse engineering for binaries, apps, and assemblies.

  • 482,787 GitHub stars
  • MITLicence MIT

Codex Security

Alternative toSnyk

Find, validate, and fix code vulnerabilities via CLI, SDK, or Codex.

  • 14,414 GitHub stars
  • Apache-2.0Licence Apache-2.0

LiveReview

Alternative toCodeRabbit

Self-hosted AI code review with auto-approve and blast-radius scoring

  • 166 GitHub stars
  • CustomLicence Sustainable Use License (fair-code, modified)

Code Server

Alternative toGitHub Codespaces

VS Code in the browser, self-hosted, with no per-seat pricing.

  • 79,974 GitHub stars
  • MITLicence MIT

Sandchest

Alternative toSnyk

AI code security reviewer using abliterated, unrestricted models

  • 60 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

Nasiko

Alternative toPortkey

Self-hosted runtime for agent cost control, routing, and access policy

  • 11,921 GitHub stars
  • Apache-2.0Licence Apache-2.0
by category

Open source tools in these categories#

691

Developer Tools

REA (Reverse Engineer Anything), Skills for Real Engineers, superpowers
208

Security & Monitoring

RustDesk, REA (Reverse Engineer Anything), Sherlock
559

AI & Machine Learning

freeCodeCamp, REA (Reverse Engineer Anything), OpenClaw

Sponsors

SnitchFeed

Live monitoring on LinkedIn, X, Reddit & more. Agentic social listening for startups.

Marketing & Growth

Windshift

Alternative toJira

Self-hosted work management for teams leaving Jira

  • 493 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

Nuphos

Alternative toConductor

Agent workspace for teams running Claude Code or Codex

  • 821 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents
Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • 1Password to KeePassXC
  • Microsoft Teams to Rocket.Chat
  • Zapier to n8n
  • Pinecone to Qdrant
  • Contentful to Strapi
  • Firebase to Supabase
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • 1Password to KeePassXC
  • Microsoft Teams to Rocket.Chat
  • Zapier to n8n
  • Pinecone to Qdrant
  • Contentful to Strapi
  • Firebase to Supabase