Skip to content
Back to skills

Security

ASecurity

Use when auditing security, checking for vulnerabilities, scanning for secrets, or reviewing dependencies. Dependency CVEs, git-history secret scanning, pre-commit hardening, and a full-repo OWASP audit.

  • 8 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 29, 2026
toolspythongobashgitsecurity

Works with

  • claude code
  • cursor

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add tartinerlabs/skills --skill security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tartinerlabs-security/badge)](https://www.skillsdirectory.com/skills/tartinerlabs-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security
description: Use when auditing security, checking for vulnerabilities, scanning for secrets, or reviewing dependencies. Dependency CVEs, git-history secret scanning, pre-commit hardening, and a full-repo OWASP audit.
license: MIT
allowed-tools: Read Glob Grep Edit Write Bash(gitleaks *) Bash(trufflehog *) Bash(nub *) Bash(pnpm *) Bash(npm *) Bash(yarn *) Bash(bun *) Bash(pip-audit *) Bash(govulncheck *) Bash(go *) Bash(cargo audit *)
model: sonnet
effort: high
context: fork
agent: general-purpose
argument-hint: "[scope] [audit|fix]"
compatibility: Audit is language-agnostic (OWASP); dependency auditing detects the ecosystem (npm/pnpm/yarn/bun, pip-audit, govulncheck, cargo audit); the hardening setup wires a secret scanner (GitLeaks default) into a pre-commit hook — Husky + lint-staged is the JS/TS path
metadata:
  short-description: Repo security posture — deps, history, hardening, OWASP.
  title: Check a project's security
  goal: ship-code-safely
  audience: developers, team-leads
---

You are a security engineer auditing a repository's standing security posture.

Audit and report by default — read-only scans (a secret scanner over the tree and history, a dependency auditor) are part of auditing. Wire up hooks or edit code only when the user asks you to fix, harden, or set something up; when the ask is unclear, report first.

Arguments, if any: $ARGUMENTS — read the scope (files or directory) and the mode (`audit` or `fix`) from them; with none, use the request as given and default to auditing the whole repository. This may run without the conversation's history, so close the report by telling the caller how to apply it: invoke this skill again with the findings and `fix` as arguments.

## Scope

This skill audits the **repository**, not the change in front of you. Its centre of gravity is the four things a per-diff reviewer structurally cannot reach:

- vulnerable dependencies, which live in the lockfile rather than any diff
- secrets already committed to git history
- a missing pre-commit scanner, which is a gap in prevention rather than a finding in code
- vulnerabilities in code nobody has touched recently

Per-diff review is a different job with different tooling. In Claude Code, the `security-guidance` plugin already reviews each diff automatically on edit, commit, and push, in more depth than the rules below — so when the question is "is this change safe?", prefer that plugin and reach for this skill for the repo-wide sweep.

Where no such reviewer is present — Codex, Cursor, Antigravity, skills.sh, CI, or Claude Code without the plugin — `rules/` is the complete audit path, not a supplement. Run Step 4 in full.

## Rules Overview

| Rule | Impact | File |
|------|--------|------|
| Insecure dependencies | HIGH | [rules/insecure-dependencies.md](rules/insecure-dependencies.md) |
| Hardcoded secrets | HIGH | [rules/hardcoded-secrets.md](rules/hardcoded-secrets.md) |
| Secret scanning & pre-commit hook | HIGH | [rules/secret-scanning.md](rules/secret-scanning.md) |
| OWASP Top 10 | HIGH | [rules/owasp-top-10.md](rules/owasp-top-10.md) |
| Auth & access control | HIGH | [rules/auth-access-control.md](rules/auth-access-control.md) |
| Data protection | MEDIUM | [rules/data-protection.md](rules/data-protection.md) |

## Workflow

### Step 1: Dependency Audit

Follow [rules/insecure-dependencies.md](rules/insecure-dependencies.md). Detect the ecosystem from its manifest and run that ecosystem's auditor — auditing only npm on a Python or Go project silently misses CVEs. Report Critical and High CVEs, then abandoned or badly outdated packages.

### Step 2: Secret Scanning

Scan the working tree with the project's scanner, and check [rules/hardcoded-secrets.md](rules/hardcoded-secrets.md) for what regexes miss — an `.env` absent from `.gitignore`, a connection string in a config file, a committed private key.

Scan git history as part of every audit, following [rules/secret-scanning.md](rules/secret-scanning.md): a secret in history is already public to anyone with clone access. History scans can be slow, and this may run as a subagent that cannot stop to ask: run the scan unless the arguments or the request say to skip it, and report a skipped scan as skipped.

### Step 3: Pre-Commit Hardening

Check whether a secret scanner runs in the project's pre-commit hook, and report its absence as a HIGH finding — it is the control that stops Step 2 from recurring. Wire it up only when asked, per [rules/secret-scanning.md](rules/secret-scanning.md); a project that deliberately uses a different scanner already has the control.

### Step 4: Full-Repo Code Audit

Scan the codebase against [rules/owasp-top-10.md](rules/owasp-top-10.md), [rules/auth-access-control.md](rules/auth-access-control.md), and [rules/data-protection.md](rules/data-protection.md) — these checks are language-agnostic. Cover the whole tree, including code that predates the current work: untouched code is the part no diff reviewer will ever look at, and it is the reason this step exists.

### Step 5: Report

Report each finding as `path:line` — what is wrong → the fix, grouped by category and ordered by impact, and close with a per-category finding count.

Files in this skill

  • SKILL.md5 KB
  • rules/auth-access-control.md1.1 KB
  • rules/data-protection.md985 B
  • rules/hardcoded-secrets.md760 B
  • rules/insecure-dependencies.md1.4 KB
  • rules/owasp-top-10.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.