agentleFS
Magnus-GilleMagnus-Gille/claude-skills/magnus-security-review/SKILL.md

magnus-security-review

Skill5 starsChanged 34 days agoMITView on GitHub

Perform a requested, project-specific security review of a codebase, diff, PR, module, or repository. Use for an explicit security audit; ordinary security-adjacent edits do not activate it.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the requested review in three phases: threat model, targeted analysis, and validation/remediation.

    line 8
  2. Distinctive:

    Read the relevant code, tests, configuration, architecture, and deployment context before scanning.

    line 13
  3. Distinctive:

    If there are no confirmed or likely issues, say so clearly and state residual risk and test gaps.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Magnus Security Review

Run the requested review in three phases: threat model, targeted analysis, and validation/remediation. Keep findings grounded in reachable data flow and state residual uncertainty instead of manufacturing issues.

Scope and workflow

  1. State the repository and exact scope. Review one repository at a time.
  2. Read the relevant code, tests, configuration, architecture, and deployment context before scanning. For a full-repository or comprehensive review, read references/checklists.md and select the categories that apply; for a small diff, inspect only relevant categories.
  3. Map entry points, exits, assets, trust boundaries, and privileged operations. Summarize the likely STRIDE risks.
  4. Trace inputs to security-sensitive sinks and inspect classic web/API, dependency, infrastructure, CI, IAM, native-safety, and LLM risks that the scope can reach.
  5. Validate each candidate against reachability, guards, framework defaults, tests, and exploitability. Mark it Confirmed, Likely, or Theoretical and rate severity by impact and exploitability.
  6. Self-critique findings, remove noise, and propose a concrete fix. Do not claim a scanner result, deployment state, or mitigation that was not observed.

For a full review, also inspect relevant security history and sibling occurrences of past fixes. Keep temporary review artifacts out of the repository unless the user requests a durable threat model.

Output

Lead with findings ordered by severity:

# Security Review: <scope>

## Threat Model Summary
<2-3 short paragraphs>

## Findings

### [HIGH] Title - path:line
**Category:** OWASP/LLM/STRIDE
**Status:** Confirmed/Likely/Theoretical
**Attack path:** ...
**Impact:** ...
**Fix:** ...

## Discarded / False Positives
- ...

## Recommendations
- ...

If there are no confirmed or likely issues, say so clearly and state residual risk and test gaps.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.