audit-security

Scan CLAUDE configuration files for security anti-patterns and generate findings.

2|Updated Dec 20, 2020
One-click install
npx skills add https://github.com/buvis/home --skill audit-security-buvis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-security
Source: https://github.com/buvis/home/tree/main/.claude/skills/audit-security
Command: npx skills add https://github.com/buvis/home --skill audit-security-buvis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Scan ~/.claude/ config for security anti-patterns (permissive permissions, hook injection, risky MCP configs, hardcoded secrets). It helps teams identify risky configurations before they cause incidents.

Core Features & Use Cases

  • Static analysis of CLAUDE configuration for potential security issues across settings.json and per-project files.
  • Highlights permissions, hooks, MCP servers, and embedded secrets with actionable remediation guidance.
  • Provides a report-style summary suitable for remediation planning and audits.

Quick Start

Run the static security scanner against your CLAUDE configuration to generate a findings report.

Frequently Asked Questions about audit-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan Claude configuration files for security issues like hook injections and hardcoded secrets?

To scan Claude configuration files for security issues, run a static scanner against ~/.claude/ settings.json files. It detects insecure permissions, hook injections, risky MCP servers, and hardcoded secrets, producing a structured findings report with severities and remediation guidance.

What security anti-patterns can be detected in Claude MCP server configurations?

Security anti-patterns detected in Claude MCP server configurations include risky server settings, overly permissive permissions, hook injections, and embedded secrets. The static scanner analyzes per-project settings.json files to identify these risks and provide actionable remediation steps.

Can I audit per-project Claude settings.json files for insecure permissions?

Yes, you can audit per-project Claude settings.json files for insecure permissions. The static scanner applies checks across both ~/.claude/ and per-project configuration files to highlight permission risks and generate a report-style summary suitable for audits.

What is the best way to find hardcoded secrets in Claude configuration before deployment?

The best way to find hardcoded secrets in Claude configuration is to run a static security scanner. It implements checks for claude-md secrets across settings files, identifying vulnerabilities early and providing remediation guidance to prevent incidents.

Does the Claude security scanner require any external dependencies to run?

No, the Claude security scanner does not require any external dependencies to run. It operates as a standalone script component, performing static analysis on configuration files without needing additional tools or libraries installed.

When should I not rely on static analysis for Claude configuration security?

Static analysis for Claude configuration security is limited to detecting known anti-patterns in settings.json files. It should not be relied upon as a sole measure for runtime vulnerabilities or dynamic MCP server behaviors not reflected in the static configuration.