Communitygithub.com

repo-security-scan

Scan a repository for high-signal security issues and produce a report. Use when auditing a codebase for leaked secrets or vulnerable dependencies, before a release, or when onboarding an unfamiliar repo. Runs gitleaks secret scanning and osv-scanner dependency checks.

Was ist repo-security-scan?

repo-security-scan is a Claude Code agent skill that scan a repository for high-signal security issues and produce a report. Use when auditing a codebase for leaked secrets or vulnerable dependencies, before a release, or when onboarding an unfamiliar repo. Runs gitleaks secret scanning and osv-scanner dependency checks.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/unisone/openclaw-skill-suite/tree/main/skills/repo-security-scan

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht repo-security-scan?

Scans a target repository for high-signal security issues and produces a report.

What it does (MVP)

  • Secrets scanning with gitleaks (local scan; secrets redacted in logs)
  • Dependency vulnerability scanning with osv-scanner (matches dependencies against OSV)

Outputs:

  • report.md — human-readable summary
  • summary.json — machine-readable summary
  • raw tool outputs (gitleaks.json, osv.json) + logs

Why this stack (signal/noise)

  • gitleaks: strong defaults, fast, easy to suppress false positives via .gitleaks.toml / .gitleaksignore.
  • osv-scanner: accurate dependency vulnerability matching via OSV (broad ecosystem support, generally lower noise than per-ecosystem “audit” commands).

(Other scanners like Semgrep/SAST and language-specific auditors can be added later behind an explicit --deep mode to avoid noisy CI failures.)

Safety

  • Read-only scan of files.
  • Does not upload source code.
  • gitleaks output is redacted (--redact) and the report avoids printing secrets.
  • osv-scanner uses network access by default to query OSV (and may consult deps.dev for package metadata). It sends dependency metadata, not source code.

Usage

Local

From this repo:

# Scan this repo and write outputs under .repo-security-scan/out
bash scripts/repo-security-scan/scan.sh --repo .

# Scan another repo
bash scripts/repo-security-scan/scan.sh --repo /path/to/target --out /tmp/repo-security-scan-out

# View the report
cat .repo-security-scan/out/report.md

Demo

bash scripts/demo.sh            # scans this repo
bash scripts/demo.sh /path/repo # scans a target repo

Outputs

In the output directory (default: <skill-suite>/.repo-security-scan/out):

  • report.md
  • summary.json
  • gitleaks.json, gitleaks.log
  • osv.json, osv.log

Exit codes:

  • 0 no findings
  • 1 findings detected
  • 2 scanner error (missing tools, execution failures)

Configuration / allowlists

Prefer repo-local configuration when scanning a specific project:

  • gitleaks:
    • <repo>/.gitleaks.toml
    • <repo>/.gitleaksignore
  • osv-scanner:
    • <repo>/osv-scanner.toml (applies only to that directory)

This skill-suite also includes conservative defaults under:

  • .repo-security-scan/gitleaks.toml
  • .repo-security-scan/.gitleaksignore
  • .repo-security-scan/osv-scanner.toml

To force a specific osv-scanner config file:

bash scripts/repo-security-scan/scan.sh --repo /path/repo --osv-config /path/to/osv-scanner.toml

Install prerequisites

  • macOS:
    • brew install gitleaks osv-scanner jq
  • Ubuntu:
    • sudo apt-get update && sudo apt-get install -y jq
    • Install gitleaks + osv-scanner from releases, or compile via go install.

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

astra-operator

Delegate computer-use and browser tasks to OpenAI

design-inspo

Find design inspiration from curated gallery sites. Use when a user needs UI/UX references, design examples, or inspiration for specific components (navbars, CTAs, hero sections, landing pages, etc.), full websites, SaaS products, mobile apps, animations, icons, branding, or design systems. Helps select the right inspiration source and browse examples.

graphrag

Build a GraphRAG pipeline over documents. Use when plain vector search returns chunks without connections, when questions need multi-hop reasoning (

money-challenge

Design a public economic-outcome challenge for an AI product launch. Use when you want measurable proof that your agent creates or saves money. Covers the #musemoneychallenge mechanic: time-boxed, hashtag-tracked, user-submitted dollar outcomes with verification discipline.

mundane-demos

Demo strategy that leads with mundane real-life utility instead of benchmarks. Use when presenting an AI agent or product to non-technical audiences. Covers picking tasks the viewer did this morning, showing end-to-end completion, and letting speed be the wow factor.

release-notes

Generate polished release notes from git history. Use when cutting a release, before publishing a GitHub release, or when you need a changelog from commits between two tags. Groups changes by type, surfaces breaking changes, and drafts highlights.

remotion-product-demos

Create Apple-keynote-quality product demo videos with Remotion. Covers glass phone mockups, floating 3D spheres, typing animations, card UIs, ripple effects, and smooth scene transitions. Use when asked to create product demos, app showcase videos, UI walkthrough animations, or

secure-agent-design

Security architecture patterns for personal AI agents that touch real accounts. Use when designing an agent with access to inbox, calendar, finances, or shopping. Covers per-user isolated VMs, pre-action sentinel checks, least-privilege connectors, human approval gates, and single-use payment credentials.

testimonial-launch

Turn user testimonials into launch distribution. Use when launching a product or feature and you want real user proof to carry the announcement instead of marketing copy. Covers soliciting specific testimonials, curating them, and amplifying via quote-posts.

validator-quotes

Earn and deploy third-party validator quotes for a launch. Use when you need credibility beyond your own claims. Covers who to approach, how to get honest reactions, and how to amplify them via quote-posts, based on the founder/CEO validators behind the Muse launch.

Verwandte Skills