Research preview · Open source · Mastyf Authority

Every break‑in gets a ceiling.

Most security tries to spot attackers. Authority assumes some will get in, and makes the worst they can do a small, known number: computed in advance, enforced where the data and the irreversible actions live, and tested by attacking it.

For security teams · free for our first 10 companies

Find out the most a stolen login can take from your company

Your board, your auditors and your insurer all ask the same question: if one account is stolen, how bad can it get? Send us 30 days of read-only logs and get the answer, per account, in 48 hours, with the limits that would cap it.

Damage Ceiling Report · 48 hours

  • The most a stolen login could take, per account and per day, and the five accounts that matter most
  • What your logs already show: new devices, new apps given access, secrets created, unusual sign-ins
  • The exact limits that would cap each account, ready to paste into a policy
  • A shadow run: how often Authority would have asked someone, per day, on your real activity
1Export 30 days of read-only logs: GitHub, Okta or AWS CloudTrail
2We run Authority in shadow mode. Nothing is installed, nothing is blocked.
3You get the report and a 30-minute walkthrough
Get your reportFree for our first 10 companies

We ran it on our own GitHub account first: 755 security events over 5 months. With ask-once approvals it would have interrupted us 0.33 times a day, and it flagged every OAuth client secret we generated.

Sample reportAcme Ltd · fictional company from our public sandbox
Stolen accountCould take todayWith Authority
svc:export-jobcustomer records · only to the warehouseEverything it can read20,000 / day
human:alicecustomer records · support agentEverything she can read5,000 / day
human:bobSSH keys and secrets · on-call engineerAll of them100 keys + 20 secrets / day
svc:backupbackup deletion · ransomware pathInstantWaits 72 h, cancellable
agent:support-botcustomer records · AI agentWhatever it is told1,000 / day

Worst case assumes the attacker also controls the decision engine. Limits are enforced where the keys live.

Pilot results · shadow mode, default policy

What it did on real logs

Shadow mode scores what Authority would have done and blocks nothing. Three runs so far, with the numbers that matter: how often a real person would have been interrupted, and what it caught.

Pilot 0 · Mastyf itself

0.33

interruptions a day

Flagged every OAuth client secret we created.

Our own GitHub security log, 5 months

Pilot 1 · A real enterprise

60 of 94

compromised accounts caught at the first malicious login

At 0.20 interruptions per person per day.

Los Alamos National Laboratory's public sign-in logs: 300 employees and 94 compromised accounts

Attack replay

55 of 62

attacks stopped, escalated or held

4 of the 7 misses had already been blocked by Okta.

71 real attack log sets from AWS CloudTrail, Okta and GitHub (Splunk attack_data)

What Pilot 1 changed: on raw sign-ins, the behavioural model would have interrupted each person about 31 times a day. Sign-ins are now judged by device binding (0.20 a day), and the model is kept for high-impact actions like exports, secrets and deletions.

Not customer pilots yet: our own account, a real organisation's public logs, and public attack logs. Method, caveats and every variant we measured: PILOTS.md. Want yours? The free Damage Ceiling Report is the same pilot on 30 days of your logs.

Watch · 4 min

Last week's breaches, rewound

A short film: the real attacks from one week in the news, how each one happened, and how a damage ceiling would have capped it. Includes the three that were bugs we would not have stopped.

How it works · simulated from measured runs

Your apps ask. Authority decides how much.

Pick your own attacker
mastyf· authority
  1. AsksA person, service or AI agent asks for data or for something that cannot be undone.
  2. Authority checksDevice, task, budget and undo window, each enforced where the data and actions live.
  3. OutcomeKeys within budget, an action held so it can be cancelled, or nothing at all.
Request
alice @ her laptop
read customers × 40
reason: ticket 4812
  • DeviceAlice’s registered laptop, fingerprint
  • Need-to-knowOn her cases and today’s calls
  • Budget1,240 + 40 of 5,000 today
Alice · customer records today1,280 / 5,000
Allowed40 record keys released, only to Alice’s laptop. Each copy is marked to her.
Outcomes are measured results from attacking the real system; the animation shows them.Cycling through five cases; pick one to hold it.

Behavioural risk model · interactive

It learns what normal looks like for each person

Thieves and hijacked accounts almost always do something that person has never done: a new destination, an odd hour, far more than usual, something few people in the company ever touch. Build Alice’s day and watch the score.

What the model has learned about Alice

  • Role Support agent, 6 weeks of history
  • Hours 9 am – 6 pm, weekdays
  • Usual volume 30–60 customer records a day
  • Destinations The reports bucket only
  • Never Exports, passwords, night work

It learns this for every person and service on its own. No attack examples needed.

Build Alice’s day: add or remove what happens

Risk for today

0.14

Goes ahead

  • Everything looks like Alice’s normal work.

The model can only make a decision stricter. Even at 0.00, Alice’s data budget still applies.

Quiet insiders: small oddities add up

A careful insider does one slightly unusual thing a day. No single day looks bad.

Judged together, the pattern needs a second person’s approval on day 10. Illustration of how the model reasons; measured results are in the benchmarks below.

Real insiders flagged
179 of 187 CERT insiders at 5 alerts a day, no attack examples; 9 of 11 on releases held back for testing
Hackers moving between machines
23 of 50 compromised accounts flagged on LANL’s real red-team data (was 10)
Extra approvals
< 1 a day across a simulated company of 9 people and services
Speed
0.07 ms per decision

Watch · 3 min · three real cases

How the model thinks, in dots and flashes

Two thousand people, one dot each. Watch the model catch Jack on day one and Laurel on day twenty-one, then miss Murphy completely, and see what stops Murphy anyway. Jump to any moment from the list.

0:00 / 2:52

Cases from CMU's CERT insider-threat datasets (computer-generated logs), scored by the published method. Click any step to jump to it.

Interactive

Pick an attacker and a goal

Each outcome below comes from a measured run against the real system.

Who is attacking
What they want
  1. Sign-in & devicestoppedNo registered device: no keys
  2. Decision enginenot reached
  3. Key vaultnot reached
  4. Change & undo gatesnot reached
  5. Marks, bait & alertswatchingAttempt logged

Blocked

0 records

Data keys are only released to the person’s own registered device, after a fingerprint or PIN. A password, session cookie or API token alone opens nothing.

Measured: ATT&CK T1078 and T1550.004: 0 records, with and without the decision engine in the way.

How it works

Six layers that do not trust each other

Each layer enforces its own limits, so breaking one never unlocks the next. The decision engine can be hacked outright and the vault and gates still hold.

Key vault

Every record is locked with its own key. A separate vault hands out keys within daily budgets, refuses bait records, and only for the person’s own cases and incoming calls (assigned automatically by the phone or helpdesk system).

It does not trust the decision engine. Even if everything in front of it is hacked, the most anyone can take is a known number.

≤ 5,000 customer records a day, even with the engine hacked

Damage ceiling

The worst case, as a number

Move the slider. This is the most that any combination of compromised accounts could take from a sample company, before anyone notices anything.

Worst combination of accounts, with the decision engine assumed hacked and any compromised approvers approving everything. Bait, alerts and people noticing are not counted.

DataMost in 24 hoursMost in 30 days
SSH keysworst: sysadmin
100
3,000
Passwords & secretsworst: sysadmin
20
600
Customer recordsworst: nightly export service
20,000
600,000
Production filesworst: backup service
12,000
360,000

Computed from the policy, then attacked: an adaptive attacker hammering the real vault for six simulated days never exceeded these numbers and reached at least 95% of them.

Benchmarks

Attacked, not just tested

MITRE ATT&CK techniques

Initial Access

Lateral Movement

Collection

Exfiltration

Credential Access

Impact

Persistence

Resource Development

Execution

Defense Evasion

Select a technique for details. Run against the real components, including with the decision engine assumed hacked.

AI agent hijacking

AgentDojo v1.2: 609 pairs of an ordinary task and a hidden attack, in e-mail, travel, banking and Slack. We assume the agent is hijacked on every single one, and measure what the limits still stop.

  • No controls (agent hijacked every time)100%
  • Loose approval (no named recipients) — now refused13.6%
  • Exact task approved1.6%
  • Exact task + untrusted inputs tracked0%

Attack success = the attacker’s actions all went through without the person confirming. Ordinary work: 97 of 97 tasks completed without a single confirmation. Caveat: task approvals come from the benchmark’s reference plans.

Insider detection on real data

  • CERT R4.14 / 4
  • CERT R4.269 / 72
  • CERT R5.15 / 17
  • CERT R5.283 / 99
  • CERT R6.13 / 9
  • CERT R6.23 / 29

new behaviour model previous model · insiders flagged at 5 alerts a day on Carnegie Mellon’s CERT insider-threat datasets, without any attack examples. Quiet insiders in the newest releases are still mostly missed; budgets cap what they can take.

Engineering

Automated tests
129 passing, incl. crash, failover and differential tests
Fuzzing
50,000 hostile requests: no crash, nothing released
Dependencies
0 known vulnerabilities (Python and Rust audits)
Encryption
TLS 1.3 only; no protocol or cipher findings
Failover
~5–7 s, nothing lost; any one of three referees can fail
Throughput
~5,500 decisions/s through the front door, 99% in 14 ms

Pricing

Free to run yourself. Paid when you want us in it with you.

The open-source core is free forever. Paid plans add the connectors, the production model, the shadow-mode pilot and our time, so you see what Authority would have stopped before it blocks anything.

Community

Run it yourself

₹0AGPL-3.0

  • Decision engine, risk model and key vault
  • Damage ceilings and limits you set
  • Runs on your own servers
  • Read it, run it, break it

Best way to start

Pilot

For security teams

Talk to usshadow mode first

  • Connectors for your logs and apps
  • The production risk model
  • Shadow-mode pilot: scores what Authority would do, blocks nothing
  • Our time, until you switch enforcement on

Enterprise

Larger and regulated companies

Customterms agreed with you

  • Enterprise add-ons
  • Commercial licence instead of the AGPL-3.0
  • Private or on-premises deployment
Damage Ceiling ReportFree for our first 10 companies: send 30 days of read-only logs and get the most a stolen login could take, per account, in 48 hours.

Research preview: Authority starts in shadow mode, so nothing is blocked until you switch enforcement on together with us. Shield plans are on mastyf.ai/pricing.

Open source · research preview

Don't trust us. Read it, run it, break it.

Everything that sets the ceiling is open source under the AGPL-3.0: the decision engine, the risk model, the key vault and its limits. Security you can't inspect is a promise. This is code.

Honest limits

What it does not cover

Research preview. Results measured on test deployments and public datasets (CERT insider threat, LANL, AgentDojo), not yet on production traffic. The core is open source under the AGPL-3.0: github.com/mastyf-ai/mastyf-authority. Enterprise add-ons and commercial licences: talk to us.