Skip to content
Skills Library
Security · Review & audit

security-auditor

/security-auditor

Audits repository security by analyzing current code and commit history for sensitive information leaks. Detects API keys, passwords, and credentials. Use for "보안 점검", "보안 감사", "security audit", "민감 정보 검사" requests.

Licence
MIT
Last repository change
01.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/security-audit.sh, tests/test-security-audit.sh

What it does and when to use it

Audits repository security by analyzing current code and commit history for sensitive information leaks. Detects API keys, passwords, and credentials. Use for "보안 점검", "보안 감사", "security audit", "민감 정보 검사" requests.

Triggers from the description

보안 점검보안 감사security audit민감 정보 검사
Original author description

Audits repository security by analyzing current code and commit history for sensitive information leaks. Detects API keys, passwords, and credentials. Use for "보안 점검", "보안 감사", "security audit", "민감 정보 검사" requests.

How it works

  1. Detection Targets
  2. Coverage and Redaction Guarantees
  3. Workflow
  4. Report Format
  5. Difference from git-commit-pr
Original SKILL.md headings · 99 lines, 448 words
SKILL.md preview
---
name: security-auditor
description: Audits repository security by analyzing current code and commit history for sensitive information leaks. Detects API keys, passwords, and credentials. Use for "보안 점검", "보안 감사", "security audit", "민감 정보 검사" requests.
---

# Security Auditor

Repository security audit for sensitive information detection.

## Detection Targets

| Type | Pattern Examples |
|------|------------------|
| API Keys | `sk-`, `AKIA`, `ghp_`, `xoxb-` |
| Passwords | `PASSWORD=`, `password:`, hardcoded strings |
| Private Keys | Generic, encrypted, RSA, OpenSSH, EC, DSA, and PGP armor headers |
| User Paths | `/Users/realname/`, `/home/realname/` |
| DB Strings | `mongodb://`, `postgres://` with credentials |

## Coverage and Redaction Guarantees

- Scan both Git index blobs and tracked worktree text, regardless of extension or
  path. Documentation, tests, examples, fixtures, templates, and
  placeholder-bearing lines stay in scope.
- Skip only content Git identifies as binary; do not use content-based record
  exclusions.
- Never print the matched line or historical diff. Report only path, line,
  detector ID, severity, commit metadata when applicable, and an occurrence
  number. Finding identity never derives from matched content.
- Deduplicate identical detector and location metadata across the index and
  worktree representations.
- Do not cap findings. History reports how many reachable commit snapshots were
  scanned and whether the requested commit limit truncated snapshot coverage.

## Workflow

### Step 1: Run the Auditor

```bash
# Current Git index blobs, tracked worktree text, and sensitive filenames
scripts/security-audit.sh quick

# Current text, all reachable commit snapshots, deleted paths, and .gitignore
scripts/security-audit.sh scan
```

Run from the repository being audited. A sensitive file that exists only locally
is outside the tracked-file scan; a tracked sensitive filename is a finding.

### Step 2: Select History Depth When Needed

```bash
# Scan the last 250 reachable commit snapshots.
# The report states whether this truncates snapshot coverage.
scripts/security-audit.sh history 250

# Explicitly scan every reachable commit snapshot
scripts/security-audit.sh history all
```

Deleted sensitive paths are checked across all reachable commits even when the
snapshot limit is smaller.

### Step 3: Interpret the Exit Status

- `0`: scan completed with no findings
- `1`: scan completed and reported one or more findings
- `2`: usage or operational error

### Step 4: Verify .gitignore

```bash
scripts/security-audit.sh gitignore
```

Run every command above with the audited repository as the working directory,
calling the script through this skill's directory
(`<skill-dir>/scripts/security-audit.sh`); the bare `scripts/` path resolves
only from the skill directory.

## Report Format

```markdown
## Security Audit Report

### Finding
- path=src/config line=12 detector=hardcoded-api-key occurrence=1 severity=HIGH

### History finding
- commit=<abbreviated-commit> path=docs/setup line=8 detector=hardcoded-password occurrence=1 severity=CRITICAL

### ✅ Passed
- Finding cap: none; all matches are reported
- Snapshot coverage: 42 of 42 reachable commits; truncated: no
```

## Difference from git-commit-pr

| Skill | Scope | When |
|-------|-------|------|
| `git-commit-pr` | Changed files only | At commit time |
| `security-auditor` | Entire repo + history | Periodic audit |
Files in this package (3)
  • SKILL.md 3 KB
  • scripts/security-audit.sh 20 KB
  • tests/test-security-audit.sh 18 KB

Versions

RepositoryScoreLicence
This page · jiunbae/agent-skills100MIT
The-Utopia-Studio/skills100Apache-2.0
rmyndharis/antigravity-skills100MIT
agentic-swe/agentic-swe100MIT
hamza-ali-shahjahan/hamzaish100MIT
zhaono1/agent-playbook100MIT
Navinspire-ia/navin90AGPL-3.0
grimoire-rs/grimoire90Apache-2.0
Neyam-OpenSc/claude-skills-executive-suite90MIT

Database snapshot: 13.11.2026 · package version f630d5c53db6 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100repo-security-scan
    Scans a repository for sensitive information and security vulnerabilities. Use when the user asks to "scan for security issues", "check for sensitive data", "repo security scan", "make sure this repo has no sensitive information", "security audit", "scan history for secrets", or…
  • 90security
    Secret detection and credential scanning using gitleaks. Use when scanning repositories for leaked secrets, API keys, passwords, tokens, or implementing pre-commit security checks.
  • 95ghost-scan-secrets
    Ghost Security - Secrets and credentials scanner. Scans codebase for leaked API keys, tokens, passwords, and sensitive data. Detects hardcoded secrets and generates findings with severity and remediation guidance. Use when the user asks to check for leaked secrets, scan for…
  • 100github-secret-auditor
    当用户希望让 OpenClaw 通过 ACP 调度 Claude Code,对 GitHub 仓库进行 API Key、Token、密码、私钥、Webhook URL 等敏感信息泄露巡检、自动修复、验收、推送修复 commit,并通过飞书发送巡检报告时使用。
  • 100secrets-config-auditor
    Audit a .NET codebase for hardcoded secrets and unsafe configuration — connection strings, API keys, passwords, tokens in source/appsettings, and insecure config patterns — and recommend secret-store fixes. Use this skill whenever the user wants to find hardcoded secrets, leaked…
  • 100container-security-auditor
    Audit container security auditor operations. Auto-activating skill for Security Advanced. Triggers on: container security auditor, container security auditor Part of the Security Advanced skill category. Use when analyzing or auditing container security auditor. Trigger with…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.