RiskWrenv0.10.1
GitHub

Open-source governance, risk, and compliance

Risk and compliance people actually keep current

RiskWren is one connected register of what an organization has, what could go wrong, what it must comply with, what it does about both, and the proof. It is built first for the security team: frameworks, assessments, findings, and exceptions are the path it gets right before anything else.

The compliance dashboard: six figures for the security leader, then readiness by scope against each framework in six statesThe compliance dashboard: six figures for the security leader, then readiness by scope against each framework in six states

Test once, satisfy many

A control is described once, mapped to every requirement it answers, and tested once. The result shows in every framework and every scope that relies on it.

Worked out, never typed in

Readiness comes from tests and evidence that still count. Saying a control is in place never makes it verified, and what was verified decays by itself.

Nobody marks their own work

A second person confirms a test result, the closure of an issue, and an exception. The server refuses anything else, whatever the role.

Passive by design

No scanners, collectors, or agents, and no access to anything else on the network. It records what people know and decide.

Readiness

Where you stand against a framework, with the reason

A scope is a boundary held to one or more frameworks. Each requirement that applies in it is in exactly one of six states: verified, in place, excepted, planned, gap, or failing.

Each control that answers it carries a sentence saying how it came to be there. When a central team's control fails a test, every scope that inherits it shows the failure the same day.

How readiness is worked out

A scope's requirements narrowed to those failing: each names the inherited control a test found partly effective, and whenA scope's requirements narrowed to those failing: each names the inherited control a test found partly effective, and when

Assessments

A result counts when a second person confirms it

An assessment plans a test for each control a scope does itself. Nobody records or reviews a result for a control they own, and whoever recorded a result cannot confirm it.

Once confirmed, the result becomes the control's rating, moves every requirement the control answers in every scope that relies on it, and moves the residual rating suggested for every risk it reduces.

Assessments and tests

An assessment in progress: how many results count, await review, and are still to do, then each test and what it foundAn assessment in progress: how many results count, await review, and are still to do, then each test and what it found

Issues

Every finding in one register, each with a date

A failed test opens an issue for the control's owners without anyone asking. Penetration tests, audits, incidents, and gaps go in the same register.

Severity sets the date. Moving it needs a reason and stays on the record. An issue closes only when someone who does not own it confirms it was put right.

Issues, from raised to closed

An issue whose owner says it is put right, waiting for someone who does not own it to confirm closureAn issue whose owner says it is put right, waiting for someone who does not own it to confirm closure

Exceptions

Exceptions that end by themselves

When a requirement cannot be met yet, the honest answer is an exception: why, what is done meanwhile, and the dates it runs between. Whoever asked does not decide.

While it is in force the requirement shows as excepted, with the state underneath beside it. The day after it ends, that state is back. Nothing has to run for that to happen.

Asking, deciding, and what follows

An approved exception that ends soon: what it is an exception to, why it is needed, what makes up for it meanwhile, and its datesAn approved exception that ends soon: what it is an exception to, why it is needed, what makes up for it meanwhile, and its dates

Incidents

Something went wrong: reported in a minute, handled on the record

Anyone signed in reports an incident, a near miss, or a concern in one short form. Where the organization opens it, anyone can without giving a name, and follows it up with a code. Triage names the systems, information, and third parties involved, and who handles it; the reporter sees where it stands, not the handling.

What it taught stays: the risks it realized, the controls that failed or held, and what it cost, shown on each risk and control. A sensitive case is kept to those named on it, and nobody else learns it exists.

Incidents

A near miss on a cluster login node, closed: what happened, the risk and the systems it concerns, and who sees itA near miss on a cluster login node, closed: what happened, the risk and the systems it concerns, and who sees it

Breach assessment

Must we notify anyone, and by when?

An incident involving protected information is assessed on its factors, and what follows is worked out from the rules that apply: the HIPAA Breach Notification Rule, the FTC Safeguards Rule, DFARS 252.204-7012, a state's law, or a contract. Each says to whom, within how long, and by what day, from the moment the incident was discovered.

Each notification is recorded as it is sent, and what is still due waits on the handler's home page until it is.

Breach assessment

A spreadsheet sent to a sponsor, its assessment not yet decided: what a state's law and the sponsor's contract would require, by when, and the one already doneA spreadsheet sent to a sponsor, its assessment not yet decided: what a state's law and the sponsor's contract would require, by when, and the one already done

Connections

What is this connected to?

In an incident or a review the questions are always the same: what does this system support, which scopes is it in, what controls stand in front of it, and what is already known to be wrong with them.

Every record opens to a picture of what it is joined to, with a list beside it that says the same in full. All of it works from the keyboard.

Connections

How a scope is connected: the controls it uses, the records it covers, and its issues and exceptions, with one neighbor expandedHow a scope is connected: the controls it uses, the records it covers, and its issues and exceptions, with one neighbor expanded

Risk

Ratings you can read, decided by named people

Likelihood and impact have five levels, each with a written definition. Inherent, residual, and target ratings are judgments by named people, with reasons.

The controls linked to a risk suggest a residual rating, and the suggestion opens to the arithmetic behind it. When a test moves it past the rating on record, the risk is flagged and its owner is asked to assess again.

What the controls suggest

What the controls suggest for a risk: from critical to high, with the count behind each step for likelihood and for impactWhat the controls suggest for a risk: from critical to high, with the count behind each step for likelihood and for impact

Home

One page of what each person owes

Most people who own a risk, a control, or an action are not risk professionals. Home lists what is theirs to do, each item a short task: a test to record, a result to confirm, an issue to put right, an exception about to end.

A security leader's Home starts with the figures that cannot wait, such as controls failing a test and issues past their date, then the decisions that are theirs to make.

Home

Home for the security leader: figures for what needs attention, then the list of what is waiting on themHome for the security leader: figures for what needs attention, then the list of what is waiting on them

Keeping watch

Ask the owners, and see who has answered

A campaign asks every control owner to attest, every risk owner to look again, or for a named piece of evidence, by a date. Its page shows who has answered, unit by unit, and reminds those who have not.

What an owner says of a control is shown apart from its rating. It never makes a requirement verified, and it takes one out of verified when the owner says the control no longer operates.

Campaigns

An attestation campaign most of the way through: how many have answered, what they said, and coverage by unitAn attestation campaign most of the way through: how many have answered, what they said, and coverage by unit

Early warning

A number that warns before the risk arrives

An indicator is a number someone already reads: servers patched within thirty days, days to remove a leaver's access. Give it a warning level and a limit, and record what it stands at.

Past the limit, its owners and the owners of every risk it warns of are told, and those risks are marked for another look. Nothing is fetched: a person reads the number and records it.

Indicators

An indicator past its limit: the readings charted against its warning level and its limit, and getting worseAn indicator past its limit: the readings charted against its warning level and its limit, and getting worse

The program

See what a change would do before you make it

The matrix, appetite, and the review cadences are edited in the app. A change is held as a draft, and a preview lists every open risk whose rating, standing, or next review would move.

The preview is the change itself, made and undone, so publishing changes exactly the risks it listed. Judgments already made keep the rating they were given.

Shape the program

Before publishing a change to appetite: the seven open risks whose standing would change, each with what it would becomeBefore publishing a change to appetite: the seven open risks whose standing would change, each with what it would become

Risk analysis

Each thing against each threat, with a report

A risk analysis takes what is in a scope and a list of threats, and asks of each pair whether it applies. The answer is that it does not, that a risk on the register covers it, or that a risk is raised for the thing's owner.

It closes when every question has an answer. What it considered, what was decided, and why stay on record as its report.

Risk analyses

A finished risk analysis of a clinic's systems: eighty questions answered, three risks raised, and each thing it looked atA finished risk analysis of a clinic's systems: eighty questions answered, three risks raised, and each thing it looked at

Resilience

What the organization cannot afford to lose, and whether it can get it back

A process's business impact says how its loss hurts over time, how soon it must be back, and how much information it can lose. Everything it relies on (its systems, services, and sites, and the third parties that perform it) is checked against that, and every shortfall is listed.

Continuity plans say what they restore and whom to call, print or download as one file for when the systems are down, and are exercised, with findings that become issues.

Business impact and recovery

A process's business impact: what it needs, how much its loss hurts over time, and a shortfall in what it relies onA process's business impact: what it needs, how much its loss hurts over time, and a shortfall in what it relies on

Policies

Approved by named people, and never altered

A policy, standard, procedure, or guideline is written here, linked to where it is kept, or attached as a file. A new version goes to the people who must approve it, none of whom wrote it, and is published once every one of them has.

A published version is never changed. Its fingerprint is in the history, and riskwren verify checks it. Any two versions compare side by side, and each document comes up for review on a cadence.

Policies

The president is asked to approve a new version of the information security policy: approve it, or return it with what needs to changeThe president is asked to approve a new version of the information security policy: approve it, or return it with what needs to change

Acknowledgment

Read by the people it applies to, and acknowledged

Everyone has a library of the documents that apply to them, readable on a phone. A document that asks to be acknowledged stays on each person's Home until they have; a new version asks again, unless its author says the change does not need it.

Who has and who has not is shown by unit and by person, and a campaign chases the rest by a date.

Acknowledgment

Who has acknowledged the incident response procedure: most of those it applies to, by unit, with the button to ask the restWho has acknowledged the incident response procedure: most of those it applies to, by unit, with the button to ask the rest

Agreements

What you promised others, with its dates

An award, a data use agreement, a business associate agreement: each with its parties, its dates, and its notice period. The terms it imposes reach every scope that holds what it covers, which says why it holds them.

Its owners are told before the last day to give notice and before it ends. One that has ended stays open until it is renewed or closed.

Agreements

An agreement: what it covers, the framework it imposes, and the scope held to that framework because the agreement covers what the scope holdsAn agreement: what it covers, the framework it imposes, and the scope held to that framework because the agreement covers what the scope holds

Framework updates

A new version beside the old, and what changed

A framework's new version is loaded beside the one in use, and nothing that uses the old one changes. What changed is listed by code, with the words that differ, and where the publisher says each withdrawn requirement went.

A scope moves when its keepers say so, taking its decisions and exceptions with it where the code is unchanged.

Framework versions

What changed from SP 800-53 Rev. 4 to Rev. 5: requirements changed, added, and withdrawn, and the scope still on Rev. 4 with the button to move itWhat changed from SP 800-53 Rev. 4 to Rev. 5: requirements changed, added, and withdrawn, and the scope still on Rev. 4 with the button to move it

Internal audit

Internal audit on the same record, with its independence kept

The universe ranks everything worth auditing from the register, with its working shown. Engagements are planned, approved, and carried out with workpapers signed off by someone other than their preparer, and until the report is issued, the work is the audit team's alone.

Findings land in the one issue register, with management's action plan, and internal audit confirms them closed. An outside auditor can be given one engagement, read-only, with every look recorded.

Internal audit

An approved audit plan: each engagement with what it audits, why, when, and where it standsAn approved audit plan: each engagement with what it audits, why, when, and where it stands

Leadership reports

A report to leadership that can be shown to be the one given

The top risks and how each moved since the last report, appetite, posture by framework, the suppliers with most at stake, the measures against last time, and what is overdue, with the issuer's own summary.

Issued, it is frozen with a fingerprint the history records. It reopens exactly as it was, whatever has happened since, and says whether it still verifies.

Leadership reports

A leadership report as it was issued: the fingerprint verifies, then the summary and the top risks with how each movedA leadership report as it was issued: the fingerprint verifies, then the summary and the top risks with how each moved

Risk in numbers

What a year of a risk could cost, and how sure that is

For the risks worth a figure, how often a year and what each time costs, as ranges with what they assume. A simulation of ten thousand years says the average, the loss exceeded one year in ten, and the chance of passing each figure, the same every time it is run.

A scenario adds up the risks it touches, and every risk's bow-tie shows which controls stand before the event and which after.

Estimates in ranges

A risk in numbers: its estimate, and what a simulation says a year's loss is likely to beA risk in numbers: its estimate, and what a simulation says a year's loss is likely to be

Committees

A committee's decision, on the record it was about

A session's agenda is drawn from the register: the risks above appetite, an exception, a policy waiting for approval. The decision on each item is recorded with it, shows on the record it was about, and is told to that record's owners.

Strategic objectives connect the register to the plan: each lists exactly the risks that threaten it.

Committee sessions

A held session: the agenda drawn from the register, and the decision recorded on each itemA held session: the agenda drawn from the register, and the decision recorded on each item

Third parties

Every supplier tiered by your own rules, with the reasons

A supplier's services say what it reaches and handles. A few questions, answered mostly from the inventory, give its tier by the program's rules, and every reason that applied is shown.

The tier is a judgment by a named person: a different one from the rules' needs a reason, and both are kept. The tier sets how often the supplier is reviewed.

Tiering

A cloud provider's page: Tier 1, with the three reasons that put it there, and the services it providesA cloud provider's page: Tier 1, with the three reasons that put it there, and the services it provides

Due diligence

A security questionnaire, without giving anyone an account

The questionnaire the tier names goes to the supplier's contact through a link that expires. Only a digest of it is kept, it travels where no server logs it, and it opens that one form and nothing else.

The answers that are concerns are listed first, and the reviewer records what was concluded. A concern becomes a finding, followed up with the supplier's own people.

Due diligence

A survey host's answers: five concerns listed first, then every answer as it was askedA survey host's answers: five concerns listed first, then every answer as it was asked

Assurance

What a SOC 2 report actually covers

Reports and certificates are kept with their period and expiry, and read for what they cover: the services in scope and those not, the carve-outs, the exceptions noted.

What a report leaves to the organization is joined to the control that does it, and that control's page says a supplier's assurance leans on it.

Reviewing a report

A supplier's SOC 2 report relied on with gaps: a service it does not cover, the data centres carved out, and the exceptions notedA supplier's SOC 2 report relied on with gaps: a service it does not cover, the data centres carved out, and the exceptions noted

Coverage

A stop wherever the paper is missing

The program says which agreements shared information needs: a business associate agreement for patient records handled for you, a data use agreement for controlled-access data.

Where information is shared and no such agreement with that supplier covers it, the information, the supplier, and the service each show a stop, until one does.

Coverage

A pharmacy supplier that handles patient records with no business associate agreement, and the stop at the top of its pageA pharmacy supplier that handles patient records with no business associate agreement, and the stop at the top of its page

Production

From a laptop to production, and told what stands in the way

It runs as a container with PostgreSQL or as a locked-down service, backs up to one file that restores into either database, and starts from a program written for a research institute, an academic medical center, a university, or a nonprofit. riskwren doctor --production and the operations page say what is not yet ready.

Other systems come in with tokens that act as a role, never as a person, and hear what happens through signed webhooks that carry references, never contents. It was reviewed against the OWASP Application Security Verification Standard at level 2.

Deployment

The operations page: the installation's version, database, data home, and last backup, and what stands between it and productionThe operations page: the installation's version, database, data home, and last backup, and what stands between it and production

Connected

Other systems tell it, or ask it; it never goes looking

A scanner reports a failed check onto the control it tests, and it counts once someone who does not own the control confirms it. A purchasing process asks whether a supplier is in good standing and learns yes or no, and the kind of reason, never what the review found. A service desk or a chat channel hears when an issue is raised.

An assistant reads what its token may and drafts risks, issues, and controls that a person opens in the ordinary form and saves. The assistant inside RiskWren is off until you turn it on, can use a model on your own machines, is sent nothing restricted, and records every exchange.

Connecting other systems

Checks and evidence a patch scanner has reported onto controls, waiting for an assessor to confirm or set them asideChecks and evidence a patch scanner has reported onto controls, waiting for an assessor to confirm or set them aside

Also in it

Frameworks as published

NIST CSF 2.0, SP 800-53 Rev. 5 with its baselines, SP 800-171 Rev. 3, and the HIPAA Security Rule arrive loaded, and SP 800-53 Rev. 4 is there for programs that still name it. An agreement's terms or an internal standard is entered as a framework of your own.

Inherited controls

A central team runs backup and identity once. Other scopes inherit those controls, and see a failure the day the provider's test finds it.

Evidence that stops counting

Evidence is collected once and attached to everything it supports. Past its date it stays on the record and counts toward nothing.

Working on the first day

A risk taxonomy, a scoring method, 57 common risks, and 75 common controls come with a new installation. The security controls among them arrive mapped to about three quarters of each framework.

A history that holds

Every change is in an append-only, hash-chained log, with who made it. An auditor reads everything and changes nothing.

Rating and standing

How much is at stake, and whether it is in order, are always two signals. Neither is told by color alone.

In and out

Every list exports as CSV or JSON. Records come in from a spreadsheet, with a dry run that reports every problem by row.

Who sees what

Roles are held over units. A figure never counts a record its reader could not open, and evidence is more closely held than the register.

Sign in your way

Local accounts out of the box. Optional single sign-on by OpenID Connect, built to work with Microsoft Entra ID, with roles and units taken from the provider.

It knows what is due

Whoever a thing is waiting on is reminded before its date and when it passes, then their steward, then their leader. Email is optional.

Found, and kept in order

One search across every kind of record, saved views of any list, what each record is missing, and likely duplicates. When someone leaves, nothing is left without an owner.

Open and yours

Apache 2.0 with no paid edition. SQLite on a laptop or PostgreSQL on a server, five runtime dependencies, and your own name and colors.

Try it

You need uv, which provides the right Python. Clone the repository and build the demo organization: a fictional research institute with a clinic, two years of history, four scopes held to frameworks, an assessment in progress, evidence going stale, issues and exceptions at every stage, policies being read and acknowledged, agreements with their dates, a risk committee, and suppliers tiered, questioned, and covered, or not.

git clone https://github.com/robert-mcdermott/riskwren.git
cd riskwren
uv sync
uv run riskwren demo
uv run riskwren --config demo/riskwren.toml serve

Open http://127.0.0.1:8020. The sign-in page offers ten sample people and asks for no password. Start as the security leader. Explore the demo organization says who to try next, and Getting started sets up an installation of your own.

The guides

New to RiskWren? Read How RiskWren works first, then Your part in it. All the guides lists them in reading order, with the questions each answers.

How RiskWren worksStart here: the pieces, how they fit, the rules it keeps, and the words it uses Your part in itWhat each role does, the first week, and which role to give whom Getting startedInstall, first sign-in, the demo, units and people Adopting RiskWrenDecide, bring in what you have, pilot, roll out, and go live The program handbookThe first month and quarter, the yearly rhythm, and what to watch The registerThe inventory, risks and their ratings, controls, plans, and acceptance ComplianceFrameworks, mappings, scopes, inherited controls, readiness, the dashboard Evidence and testingEvidence and its dates, assessments, independence, what a result changes Issues and exceptionsSeverity and dates, closure, exceptions, the plan of action PoliciesWriting, approving, publishing, and acknowledging the organization's documents Third partiesTiering, due diligence through a link, reports and certificates, coverage Internal auditThe universe, the plan, engagements, findings, and the committee report IncidentsReporting, triage, restricted cases, breach assessment, and what it taught Running the programRoles, who sees what, the program, campaigns, reminders, insight, the history Other systems and assistantsTokens, webhooks, reported results, good standing, drafts, and the assistant ConfigurationThe settings file, sign-in, email, PostgreSQL, backups, the assistant DeploymentA container or a service, the proxy, backups, and going to production When something goes wrongChecking the installation, sign-in, refusals, and where to get help The APITokens, webhooks, reporting onto controls, recipes, and every route

Where it stands

These pages describe version 0.10.1: the register, compliance, the means of keeping both current, the organization's policies and agreements, its third parties, the record read back as measures, reports, and packages that prove themselves, internal audit's own work on it, incidents and resilience, what an organization needs to adopt it (deployment, backups, starter programs, tokens and webhooks, and a security review), and its connections: results from other systems, a reference others can check, a tool server for assistants, and an optional assistant. It signs in with local accounts or, if you set it up, single sign-on, sends email only if you ask it to, and asks an assistant nothing unless you turn one on. Version 1.0 waits for what the first organizations to adopt it ask for. The roadmap says what comes in what order, and the changelog lists what is in each release.

Describes RiskWren 0.10.1. Apache License 2.0. Screenshots show an invented organization; every person and record in them is fictional.