Risk Register logo

Risk Register

Community
arozumenko
risk-register

Use when recording, accepting, expiring, closing, superseding or ticketing residual security risks in the append-only register, or reading its exposure and approval counts; provides register.mjs.

Overview

Publisherarozumenko
Repositorysdlc-skills
Skill namerisk-register
Stars
26
Forks
10
Bundled files
10
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by arozumenko on GitHub. Read the source before you install it.

Installation

Install the Risk Register AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/arozumenko/sdlc-skills/tree/main/bundles/security-testing/skills/risk-register
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/bundles/security-testing/skills/risk-register .claude/skills/risk-register
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Risk Register in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Risk Register on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Risk Register is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Risk register

One append-only log, .agents/security-testing/register/events.jsonl, rows R-nnnn. Every command re-folds the whole log through lib/transitions.mjs's closed table and appends at most one line; a (event, from) pair outside the table is refused, nothing is written.

A row

json
{"id": "R-0001", "finding_id": "<64-hex sha256>", "title": "…",
 "priority": "p1", "status": "open", "owner": "…", "ticket_url": "",
 "accepted_until": "", "approvals": [], "superseded_by": ""}

status is one of open, fixed, regressed, accepted, false-positive, superseded. approvals is append-only — every accept, revoke and close-false-positive event pushes one record onto it; nothing is ever removed from it. accepted_until is cleared on every transition that leaves accepted (including supersede).

The ten events, from → to

  • add: no row → open — --finding <64-hex sha256> --priority <p0..p3> --title "<t>" [--owner <o>]; sets finding_id, title, priority, owner. You run it.
  • accept: open → accepted, regressed → accepted — appends an approval record to approvals and sets accepted_until. You run it.
  • revoke: accepted → open — appends an approval record; accepted_until is cleared. You run it.
  • acceptance-expired: accepted → open — fired by register.mjs check for every accepted row whose accepted_until is strictly before today (UTC); the acceptance still stands on that day itself and lapses at 00:00 UTC the next day. accepted_until is cleared. Emitter-only.
  • fixed: open → fixed, regressed → fixed, accepted → fixed — fired by verify.mjs's VERIFIED verdict; accepted_until is cleared if the row was accepted. Emitter-only.
  • regressed: fixed → regressed — fired by verify.mjs's REGRESSED verdict; only a fixed row can regress. Emitter-only.
  • close-false-positive: open → false-positive, regressed → false-positive — appends an approval record. You run it.
  • reopen: fixed → open, false-positive → open — status only; the prior close-false-positive record stays in approvals' history, it is not erased. You run it.
  • supersede: open → superseded, fixed → superseded, regressed → superseded, accepted → superseded — sets superseded_by; accepted_until is cleared if the row was accepted. You run it.
  • ticket: open → same, fixed → same, regressed → same, accepted → same (status unchanged) — sets ticket_url. You run it. Threats are not ticketed in v1: ticket is for finding rows.

Approvals — one shape, unauthenticated everywhere

accept, revoke and close-false-positive each append an approval record:

json
{"recorded_by": "<actor>", "approved_by": "<who --approved-by named>",
 "approval_ref": "<--approval-ref>", "authenticated": false}

accept adds until. authenticated: false always — the fold refuses any other value, and there is no confirmed state: nothing in this bundle can produce an authenticated record, and the register never claims one. register.mjs status reports the count as UNAUTHENTICATED-APPROVALS <n> — one bucket, rows whose status is accepted or false-positive; say the number, never split it into "approved" and "pending".

Open exposure is never reduced by an approval

register.mjs status's OPEN-EXPOSURE p0=<n> p1=<n> p2=<n> p3=<n> counts, by priority, every row whose status is open, regressed or accepted. An accepted risk is still counted — an acceptance is a record that someone said so, not evidence the risk is gone. The number goes down only when a row becomes fixed (a verified fix) or superseded (its exposure moves to the target row). A false-positive closure removes the row from this count — it is a disposition (a claim the finding is not real), not an approval of ongoing exposure, so it is not counted as open risk; it still shows in UNAUTHENTICATED-APPROVALS because the claim itself is unauthenticated. If asked to "bring exposure down" by accepting rows: you can record the acceptances, and the number will not move — say so before you run the command.

register.mjs status

COUNT <status>=<n> per status, OPEN-EXPOSURE …, UNAUTHENTICATED-APPROVALS <n>, then FINGERPRINT <engagement_id>:<seq>:<sha256(events.jsonl)>. Pass --expect <FINGERPRINT-line-or-value> (from a previous sign-off) to get one more line: MATCH (identical), ADVANCED (same engagement, higher seq — exit 0), or DIVERGED (anything else — exit 4, history moved or was rewritten). --json prints one JSON document, then the --expect line if given — parse everything but the last line.

register.mjs render

register.mjs render writes .agents/security-testing/risk-register.md — RENDERED <path> — the table a stakeholder reads next to a sign-off statement. Run register.mjs check first so an expired acceptance shows as open, not stale.

Commands

node scripts/register.mjs --help:

usage: register <command> [options]

commands:
  add
  accept
  revoke
  close-false-positive
  reopen
  supersede
  ticket
  fixed
  regressed
  check
  status
  render

Result lines: ROW <id> <status> (row verbs) · EXPIRED <id> (check, one per lapsed acceptance) · the status/render lines above · REFUSED <why> (2) · USAGE(<sub>: <why>) (2) · CORRUPT events.jsonl:<n> <why> (5) · ENGAGEMENT-* (2). One writer at a time: a duplicate-seq log (two concurrent invocations) is repaired by deleting the later line, never by hand-editing an event in place.

References

references/transitions.md — every (event, from) pair, its flags, its emitter. references/approvals.md — the approval record's fields, where it lives on a row, expiry, and what to say about it.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Risk Register AI skill do?

Use when recording, accepting, expiring, closing, superseding or ticketing residual security risks in the append-only register, or reading its exposure and approval counts; provides register.mjs.

Why use Risk Register on TypingMind?

Because you install it once and use it with any model. Risk Register is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Risk Register in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/arozumenko/sdlc-skills/tree/main/bundles/security-testing/skills/risk-register. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Risk Register?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Risk Register?

As many as you like. As long as a model supports skills, you can use Risk Register with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Risk Register AI skill free?

Yes. It is published on GitHub by arozumenko under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇