security-scan

Scans Claude settings and skills for hardcoded secrets and unsafe permissions.

Updated May 21, 2026
One-click install
npx skills add https://github.com/jedmamosto/m-and-ms --skill security-scan-jedmamosto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-scan
Source: https://github.com/jedmamosto/m-and-ms/tree/main/.agents/skills/security-scan
Command: npx skills add https://github.com/jedmamosto/m-and-ms --skill security-scan-jedmamosto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you identify hardcoded secrets and unsafe configuration permissions in the Claude settings and skills directory so you can reduce exposure and prevent accidental over-permission.

Core Features & Use Cases

  • Secrets & credential detection: Flags hardcoded API keys, tokens, and passwords in Claude settings (CRITICAL) and guides immediate remediation.
  • Allow-rule permission review: Highlights overly permissive allow rules (HIGH) so you can assess intent (e.g., SSH to known hosts, expected API calls).
  • Static security hygiene checks: Produces a grade and categorized findings suitable for periodic audits after credential, skill, or MCP server changes.

Quick Start

Run the security-scan skill to scan your project’s Claude configuration and return the grade plus all CRITICAL and HIGH findings with recommended fixes.

Frequently Asked Questions about security-scan

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

FAQPage Schema
How do I scan Claude settings for hardcoded secrets and credentials?

Scanning Claude settings for hardcoded secrets requires running a static security scan over the .claude configuration directory to detect API keys, tokens, and passwords, returning a grade with actionable remediation guidance for any CRITICAL findings.

How do I audit overly permissive allow rules in my Claude configuration?

Auditing overly permissive allow rules involves reviewing the Claude settings and skills directory to highlight HIGH severity configurations, allowing you to assess whether broad permissions like expected SSH or API calls match your actual intent.

When do I need to run a configuration audit on my Claude skills directory?

A configuration audit is needed during scheduled security hygiene checks and immediately after adding new credentials, skills, or MCP servers to your environment to prevent accidental over-permission and reduce exposure.

What is the best way to remediate security risks after adding new MCP servers?

Remediating security risks after adding new MCP servers requires a static Agentshield scan over the .claude configuration to identify hardcoded secrets and unsafe permissions, producing categorized findings with recommended fixes.

Does the security scan require any external dependencies or components to run?

The security scan does not require any external dependencies or components to run, applying a static analysis approach directly over your Claude settings and skills directory to generate grades and findings.

Why does my Claude configuration get flagged for unsafe permission configurations?

Claude configurations get flagged for unsafe permissions when overly permissive allow rules are detected, enabling you to assess intent and restrict access to prevent accidental over-permission across your skills directory.