claudit-sec

by HarmonicSecurityVerified

Security audit tool for Claude Desktop and Claude Code on macOS — single-command visibility into MCP servers, extensions, plugins, connectors, scheduled tasks, and permissions.

293
Stars
48
Forks
PowerShell
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/HarmonicSecurity/claudit-sec

Getting Started

Guides for using skills like claudit-sec.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

🛡️ CLAUDIT-SEC

Security audit tool for Claude Desktop on macOS and Windows — including CoWork, extensions, plugins, MCP servers, connectors, and scheduled tasks.

One command. Full visibility. Read-only.

⚠️ Windows support is a work in progress. We're aware of a few kinks and bugs and wanted to get something out sooner rather than later. Community feedback and contributions are welcome.

CLAUDIT terminal output

🤔 Why

Claude Desktop introduces a new class of endpoint risk: AI agents with autonomous execution, persistent scheduled tasks, MCP server integrations, browser-control extensions, and OAuth-authenticated connectors to external services. Most of this configuration lives in JSON files scattered across multiple directories with no centralised visibility.

CLAUDIT gives you that visibility in a single command.

📝 A note on "Code": Claude Desktop includes a built-in agent coding feature called Code (visible in the app's sidebar). This is not the same as Claude Code, the standalone terminal CLI. CLAUDIT primarily audits Claude Desktop and its CoWork features. It does include a basic check of the Claude Code settings file (~/.claude/settings.json on macOS, %USERPROFILE%\.claude\settings.json on Windows), but the focus is squarely on the Desktop app.

📋 What It Audits

AreaWhat's Checked
🖥️ Desktop SettingskeepAwakeEnabled, sidebar/menuBar preferences
🤖 CoWork SettingsScheduled tasks, web search, browser use, dispatch (mobile→desktop), network mode, egress policy, enabled plugins, marketplaces
🏢 WorkspacesMulti-workspace detection, account names, session counts, org indicators (DXT-managed, org-plugins, dispatch-bridge)
🔌 MCP ServersServer names, commands, arguments, environment variable keys
🧩 Extensions (DXT)Installed extensions, signature status, dangerous tool grants
⚙️ Extension SettingsPer-extension allowed directories and configuration
🚦 Extension GovernanceAllowlist enabled/disabled, blocklist entries
📦 PluginsInstalled, remote (org-deployed), cached (downloaded)
🪝 Plugin HooksLifecycle hooks executing shell commands (PreToolUse, PostToolUse, Stop, etc.)
🔗 ConnectorsOAuth-authenticated web services, desktop integrations
🎯 SkillsUser-created, scheduled, session-local, and plugin skills across 9 paths
Scheduled TasksTask names, cron expressions (with plain English translation)
🔐 App ConfigNetwork mode, extension allowlist/blocklist keys, device identifiers
📲 DispatchBridge state (OFF/CONFIGURED/ON), active session detection via hostLoopMode and bridge-state.json
🔇 Disabled MCP ToolsPer-session tools explicitly disabled (with dangerous tool callout)
🏃 Runtime StateRunning processes, sleep assertions, LaunchAgents, crontab entries
🍪 CookiesCookies and Cookies-journal presence

📖 For a detailed breakdown of every individual check, what it means, and why it matters, see the Findings Reference.

⚡ Getting Started

Prerequisites

macOS:

RequirementHow to checkHow to install
🍎 macOSYou're on a Mac
🐚 zshzsh --versionShips with macOS since Catalina
🔧 jqjq --versionbrew install jq

Windows:

RequirementHow to checkHow to install
🪟 Windows 10/11You're on a PC
PowerShell 5.1+$PSVersionTable.PSVersionShips with Windows 10+
No additional dependenciesFully self-contained

Install & Run

macOS:

git clone https://github.com/HarmonicSecurity/claudit-sec.git
cd claudit-sec
chmod +x claude_audit.sh
./claude_audit.sh

Windows:

git clone https://github.com/HarmonicSecurity/claudit-sec.git
cd claudit-sec
powershell -ExecutionPolicy Bypass -File claude_audit.ps1

That's it. The script reads your Claude configuration and prints a colour-coded report to the terminal. It never modifies anything.

🎛️ Usage

macOS:

./claude_audit.sh [OPTIONS]

Options:
  --html [FILE]    Generate a standalone HTML report
  --json           Output structured JSON
  --user USER      Audit a specific user
  --all-users      Audit all users with Claude data (requires root)
  -q, --quiet      Only show WARN and CRITICAL findings
  --version        Print version and exit
  -h, --help       Show usage

Windows:

powershell -ExecutionPolicy Bypass -File claude_audit.ps1 [OPTIONS]

Options:
  -Html [FILE]     Generate a standalone HTML report
  -Json            Output structured JSON
  -User USER       Audit a specific user
  -AllUsers        Audit all users with Claude data (requires admin)
  -Quiet           Only show WARN and CRITICAL findings
  -Version         Print version and exit
  -Help            Show usage

Examples

macOS:

# Default: colour output in terminal
./claude_audit.sh

# Only warnings and critical findings
./claude_audit.sh -q

# Standalone HTML report
./claude_audit.sh --html

# JSON for SIEM ingestion
./claude_audit.sh --json > audit.json

# Specific user
./claude_audit.sh --user jsmith

# All users (run as root via MDM — FleetDM, Jamf, Mosyle, CrowdStrike RTR)
sudo ./claude_audit.sh

Windows:

# Default: colour output in terminal
powershell -ExecutionPolicy Bypass -File claude_audit.ps1

# Only warnings and critical findings
powershell -ExecutionPolicy Bypass -File claude_audit.ps1 -Quiet

# Standalone HTML report
powershell -ExecutionPolicy Bypass -File claude_audit.ps1 -Html

# JSON for SIEM ingestion
powershell -ExecutionPolicy Bypass -File claude_audit.ps1 -Json > audit.json

# Specific user
powershell -ExecutionPolicy Bypass -File claude_audit.ps1 -User jsmith

# All users (run as admin via MDM — Intune, CrowdStrike RTR)
powershell -ExecutionPolicy Bypass -File claude_audit.ps1 -AllUsers

💡 macOS: When run as root (uid 0), the script automatically discovers and scans all users with Claude data. No flags needed.

💡 Windows: When run as Administrator, the script can scan all users with the -AllUsers flag. MDM tools like Intune and CrowdStrike RTR execute scripts with elevated privileges.

📊 Output Formats

🖥️ Terminal (default)

Colour-coded output with Unicode tables and severity indicators.

CLAUDIT terminal output

🌐 HTML (--html)

Standalone dark-themed report with collapsible sections. Created with restrictive file permissions (0600).

CLAUDIT HTML report

📄 JSON (--json)

Structured output for SIEM ingestion. Sensitive fields (OAuth tokens, API keys, secrets) are automatically redacted. Multi-user scans produce a JSON array.

🚨 Severity Levels

SeverityMeaning
🟠 WARNIncreases risk surface — e.g. unsigned extensions, autonomous execution enabled
🟡 REVIEWNeeds human judgement — e.g. org-deployed plugins, MCP servers present
🔵 INFOInformational — e.g. Claude is running, permissions granted

📖 Documentation

DocDescription
Findings ReferenceEvery individual check CLAUDIT performs, what it means, why it matters (risk, compliance, AI enablement), and what to do about it

🔒 Security Properties

  • Read-only — never writes to, modifies, or deletes any audited file
  • No network access — all data collected from local filesystem and system commands
  • Sensitive data redacted — tokens, keys, and secrets replaced with [REDACTED] in all output formats
  • Minimal privileges — runs as current user; root only needed for multi-user scans
  • Single file — macOS requires jq; Windows is fully self-contained (no external dependencies)
  • Auditable — the entire tool is one readable script (claude_audit.sh on macOS, claude_audit.ps1 on Windows)

💜 Built with Claude Code

This project is built and maintained using Claude Code. We love it. Seriously. If you're building developer tools and haven't tried it yet, you're missing out.

📄 License

Apache License 2.0 — see LICENSE for details.

Frequently Asked Questions

What is claudit-sec?

claudit-sec is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by HarmonicSecurity. Security audit tool for Claude Desktop and Claude Code on macOS — single-command visibility into MCP servers, extensions, plugins, connectors, scheduled tasks, and permissions. It has 293 GitHub stars.

Is claudit-sec safe to use?

Yes. claudit-sec passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claudit-sec?

Clone the repository with "git clone https://github.com/HarmonicSecurity/claudit-sec" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is claudit-sec written in?

claudit-sec is primarily written in PowerShell. It is open-source under HarmonicSecurity on GitHub, so you can review or fork the full source.

Are there alternatives to claudit-sec?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claudit-sec against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP Servers
View details

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP Servers
View details

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP Servers
View details

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP Servers
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details