cratis-security-review

cratis-security-review is a skill for Claude Code, Codex from Cratis/AI. It costs 40 tokens per session (1,200 once invoked), scanned A, original, MIT.

A focused security review guide for changed code in a Cratis application. It covers common risks such as injection, access control, exposed data and secrets, plus risks specific to event sourcing, where recorded events are permanent.

In plain words
What is it for?
Use it to review changes for authentication and authorization mistakes, data exposure, secrets, injection, and event-sourcing-specific risks. It reports findings by risk rather than implementing fixes.
Why use it?
It helps find security problems before changed code is merged, including sensitive information that could be written into an event log and remain there.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review changes for authentication and authorization mistakes, data exposure, secrets, injection, and event-sourcing-specific risks. It reports findings by risk rather than implementing fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-security-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cratis/AI --skill cratis-security-review
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cratis-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-security-review/github.svg)](https://agentmods.dev/skills/cratis/ai/cratis-security-review)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-security-review"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-security-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cratis-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-security-review"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01200
Opus 5.5 $0.00016 $0.00480
Sonnet 5.5 $0.00008 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured today against content hash e0d32cab6765, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-security-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cratis/ai/skills/cratis-security-review/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cratis security review

Event sourcing changes the shape of a security review. A mistake in an ordinary application is a bug you fix; a secret written into an append is a fact that lives in the log forever and cannot be edited out. The event-sourcing section below is the one that is specific to this stack, and it is the one worth reading first.

Packages covered

Package Purpose
Cratis.Arc.Chronicle [NotAudited] in Cratis.Arc.Chronicle.Commands; the ARCCHR0009 analyzer
Cratis.Chronicle [PII], [Subject], redaction, namespace isolation
Cratis.Chronicle [Encrypted] in Cratis.Chronicle.ProtectedValues; analyzers CHR0052, CHR0053
Cratis.Arc.Core Authorization filters, CommandResult.Unauthorized

Reverify against the owning product repository before asserting a framework guarantee this file does not already state.

When to run this review without being asked

In an orchestrated or PR review, always run security as the final review gate. When working directly, run it before committing whenever the diff adds or removes a line carrying any of: [Roles], [Authorize], [AllowAnonymous], [ExecuteCommandsAsSystem]; [PII], [Subject], [NotAudited]; useIdentity; or a secret-shaped identifier (ConnectionString, PrivateKey, Bearer, Password, ApiKey, AccessToken). Added or removed matters: a deleted [PII] or [Roles] is the change most worth a second pair of eyes. Match changed lines, not whole files — every slice contains a [Command] and an [EventType], and a trigger that fires on every commit is a trigger that gets skipped. A name-based list has the same blind spot as ARCCHR0009: a secret with an innocuous property name passes it, so read the command's properties as well as grepping them.

Route near misses

  • General correctness and maintainability: use cratis-code-review.
  • Scalability and resource use: use cratis-performance-review.
  • Implementing request authorization or tenant isolation: use cratis-arc-authorize-request or cratis-arc-isolate-tenant from cratis/application.
  • Implementing personal-data protection or erasure: use cratis-chronicle-protect-personal-data from cratis/application.

Read the full file on GitHub · 98 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -67 lines · +1 tokens per session e0d32cab6765
  2. 1mo ago Changed · -35 tokens per session 1c586964d6fe
  3. 1mo ago Changed · -3 lines e81d844f4f79
  4. 1mo ago Changed · -2 lines a8af18abd97a
  5. 1mo ago Changed · +6 lines 8fdfd6e32bb7
  6. 1mo ago Changed · +5 lines 9bd5c6cb3dfc
  7. 2mo ago Changed · +17 lines 3b93a4fa4c37
  8. 2mo ago First seen · 142 lines · 74 tokens per session scan A ee7f526f3a8b

Subscribe to this mod's changes

cratis-security-review is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,200 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-08.

Related

cratis-security-review compared with skills from other repositories

cratis-security-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-security-reviewCratis/AISkill4todayMITA40Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code