Skip to content
Back to skills

Security

ASecurity

Check a change for security problems - a fresh-context security review, the dependency audit, secrets, and protected zones that need a human. Use before merging a change that touches authentication, authorization, input handling, data access, payments, secrets or dependencies, and on "sécurité", "audit de sécurité", "is this safe?".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentgosecurity

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add Sycatle/senior-mode --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/sycatle-security-f3129d79/badge)](https://www.skillsdirectory.com/skills/sycatle-security-f3129d79)

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: Check a change for security problems - a fresh-context security review, the dependency audit, secrets, and protected zones that need a human. Use before merging a change that touches authentication, authorization, input handling, data access, payments, secrets or dependencies, and on "sécurité", "audit de sécurité", "is this safe?".
invocation: explicit
---

# Security

A security bug is the one kind of defect where being mostly right is not good enough: an attacker only
needs the one path you missed. So this check does not rely on the author's sense that the code is safe.
It looks from outside, with a reviewer who never saw the reasoning.

## Steps

1. **Pin the change** as for a review: a base, a non-empty diff. Done when you have both.
2. **Protected zones.** `senior-mode protected <base>` lists the changed files inside the globs of
   `.senior-mode/protected` (authentication, payments, migrations, CI, infrastructure: whatever the project
   lists). Any hit means a human approves the merge, whatever else this check finds. Say which files and
   why they are protected.
3. **Dependencies.** `senior-mode audit` runs the auditor of each ecosystem (npm, pnpm, yarn, cargo,
   govulncheck, pip-audit) for high and critical vulnerabilities. A missing auditor is a finding too:
   nothing proves the dependencies are clean. For each vulnerable package: is it reachable from this
   project's code, and what is the smallest upgrade that fixes it?
4. **Secrets.** The pre-commit hook scans each commit. Also look at what it cannot see: secrets in logs,
   error messages, URLs, client-side bundles, or test fixtures copied from production.
5. **The review**, in a fresh context: the `security` subagent where the harness has subagents, otherwise
   `senior-mode review <base> --agent security`. Give it the base and the paths that matter.
6. **Brief.** Check each high finding against the code before passing it on. Then say what blocks (a
   critical or high finding, a protected zone without a human), what should be fixed soon, and what was
   checked and found clean. Done when someone could decide to merge from your summary alone.

## Severity, plainly

- **Critical:** exploitable from outside without credentials, or exposes other users' data or money.
- **High:** exploitable by any logged-in user, or by an attacker with a plausible foothold.
- **Medium and low:** defence in depth, hardening, things that need an unlikely chain.

Critical and high block the merge and need a human to accept any exception.

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 development →

Comments

Loading comments…

Newsletter

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