Skip to content
Skills Library
Security · Review & audit

scan

/scan

Security scan of the user's repo. Runs Gitleaks (secrets), Semgrep (SAST), Grype (dependency CVEs) and Checkov (IaC, Dockerfile, k8s, GitHub Actions), merges the results, triages true and false positives, and writes a prioritized report with fixes. Use for "scan this repo", "security audit", "find vulnerabilities", "check for secrets", "are my dependencies vulnerable", "triage these findings", or before a release.

Repository
appsec-kit ↗
Licence
MIT
Last repository change
28.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
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

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

Licence

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

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

Scripts: scripts/scan.py

What it does and when to use it

Security scan of the user's repo. Runs Gitleaks (secrets), Semgrep (SAST), Grype (dependency CVEs) and Checkov (IaC, Dockerfile, k8s, GitHub Actions), merges the results, triages true and false positives, and writes a prioritized report with fixes. Use for "scan this repo", "security audit", "find vulnerabilities", "check for secrets", "are my dependencies vulnerable", "triage these findings", or before a release.

Triggers from the description

scan this reposecurity auditfind vulnerabilitiescheck for secretsare my dependencies vulnerabletriage these findings
Original author description

Security scan of the user's repo. Runs Gitleaks (secrets), Semgrep (SAST), Grype (dependency CVEs) and Checkov (IaC, Dockerfile, k8s, GitHub Actions), merges the results, triages true and false positives, and writes a prioritized report with fixes. Use for "scan this repo", "security audit", "find vulnerabilities", "check for secrets", "are my dependencies vulnerable", "triage these findings", or before a release.

How it works

  1. 1. Run
  2. 2. Triage
  3. 3. Report
  4. 4. Fix (only on request)
  5. CI / gating
Original SKILL.md headings · 47 lines, 535 words
SKILL.md preview
---
name: scan
description: Security scan of the user's repo. Runs Gitleaks (secrets), Semgrep (SAST), Grype (dependency CVEs) and Checkov (IaC, Dockerfile, k8s, GitHub Actions), merges the results, triages true and false positives, and writes a prioritized report with fixes. Use for "scan this repo", "security audit", "find vulnerabilities", "check for secrets", "are my dependencies vulnerable", "triage these findings", or before a release.
---

# Scan

## 1. Run

```bash
python3 <this skill's dir>/scripts/scan.py <repo> [--out DIR] [--fail-on high]
```

- Output goes to `<repo>/.appsec/` by default: raw JSON from each tool plus a merged `findings.json`. Add `.appsec/` to `.gitignore` if it isn't there yet.
- Any scanner that isn't installed is skipped. If one is missing, tell the user and give the install command (macOS: `brew install gitleaks semgrep grype checkov`). Never install anything without asking.
- Gitleaks runs with `--redact`, so secret values never reach the report. Never print, echo, or copy a secret value, even if you see it in a file.
- Semgrep runs with `--metrics=off` and uses the `p/default` registry pack, plus `<repo>/.semgrep/` if that folder exists.
- Scans take 1–5 minutes, so run them in the background.

## 2. Triage

Read `findings.json` and open the code at each finding. A raw scanner count is not the answer.

- **Dedupe.** Several Semgrep rules often fire on the same line, and Grype lists one package once per advisory. Group findings by root cause: one bug, or one package to upgrade, counts as one item.
- **Decide true or false positive from the code**, not from the rule name. Ask: does attacker-controlled input actually reach the sink? Is this test code or a fixture? Is it dead code? Write down why.
- **Secrets.** If the value looks real (not an example, placeholder or test value), the item is critical. The fix order is rotate or revoke first, then remove it from code, then purge it from history. Deleting the file alone does not fix it.
- **Dependencies.** Rank by: exploited in the wild (CISA KEV) > high EPSS > CVSS severity > whether the vulnerable code is reachable. Look these up when it matters; don't guess. If several advisories hit one package, a single upgrade to the highest fixed version usually clears all of them.
- **IaC.** Weigh blast radius: a public bucket, `*:*` IAM, or a `0.0.0.0/0` admin port beats a missing tag.
- **Coverage gaps.** Name what scanners cannot find: authN/authZ logic, IDOR, business logic, rate limits. Suggest the `threat-model` skill for these.

## 3. Report

Write `SECURITY_REPORT.md` in the repo, or show it in chat if the user prefers. Include:

1. A summary: which tools ran and which were skipped, the raw count, and the count after triage by severity.
2. A table of items: ID, severity, category, location, what's wrong, exploit scenario (one line), fix, true-positive or false-positive verdict.
3. False positives, each with its reason, plus a suggested suppression: `# nosemgrep: <rule-id>` / `#checkov:skip=<ID>:<reason>` / a `.gitleaksignore` fingerprint.
4. What is not covered.

## 4. Fix (only on request)

- Fix in order of severity, one root cause per change.
- Prefer the safe API over a sanitizer: parameterized SQL, an argument list instead of `shell=True`, `yaml.safe_load`, argon2/bcrypt.
- For dependencies, upgrade to the lowest version that clears every advisory, then run the project's tests.
- Re-run the scan to show each fixed item is gone.
- Never weaken a check just to make a finding disappear.

## CI / gating

`--fail-on high` exits 1 if any finding is high or above. For a full CI pipeline, use the `secure-pipeline` skill.
Files in this package (2)
  • SKILL.md 4 KB
  • scripts/scan.py 5 KB

Versions

RepositoryScoreLicence
This page · camtoan-do/appsec-kit100MIT
tony/skills100MIT
zealynxsecurity/krait100MIT
koda-ai-studio/agent-bom100Apache-2.0
cwinvestments/memstack100MIT
x-cmd/x-cmd100Apache-2.0
duc01226/EasyPlatform100MIT
duc01226/EasyPlatform100MIT
wshobson/agents100MIT

Database snapshot: 13.11.2026 · package version 124883d474b6 (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

  • 100warden-scan
    Automated SAST + dependency vulnerability scan. Runs Semgrep (code vulnerabilities) and pip-audit (CVE-matched dependencies) and writes a structured JSON report. Use when asked to "scan for vulnerabilities", "run a security scan", "check for CVEs", or "audit dependencies".
  • 100sast-scan
    Runs a reproducible SAST pass over a codebase with opengrep (preferred) or semgrep CE as fallback, using commit-pinned copies of opengrep/opengrep-rules and trailofbits/semgrep-rules plus this plugin's OWASP-aligned custom rules, then triages every result to true/false positive…
  • 100deep-security-check
    Use when the user asks for a defensive security assessment, security audit, vulnerability scan, or "how safe / how reliable is this code/project/repo". Runs Semgrep (SAST), osv-scanner (dependency CVEs) and gitleaks (secrets) against a local project, then produces a report with…
  • 100security-scan
    Use when automated scanners drive a security sweep of a repo or app — SAST, dependency/lockfile CVEs, secrets in the tree or git history, IaC misconfig — and the raw output has to become one deduped, exploitability-ranked report CI can gate on. NOT threat-modeling, OWASP design…
  • 82security-audit
    Scan the codebase for security vulnerabilities — checks for secrets, auth flaws, dependency risks, and OWASP Top 10 issues. Standalone — works without project setup. Covers secrets, auth, dependencies, and code-level vulnerabilities. Triggers on: "security audit", "scan for…
  • 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…

Feedback and reports

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