Skip to content
ORDINUM

AI agent security, section 03

Test what agents do with their permissions.

Ordinum checks that an agent's actions stay inside the permissions it was granted, including after they change or a task is cancelled, judged on what actually changed.

Built, experimental · our reference applications

TWO MEANINGS

Testing agents is built. Agents doing security work is the vision.

  • Today

    A. Testing the security of AI agents

    Ordinum checks what an agent does with its tools, credentials and permissions, including after they change or a task is cancelled. Built, and tested on our own reference applications.

  • Planned

    B. Agents that do security work

    Agents that build test harnesses, choose techniques and propose fixes inside Ordinum. Planned: today only an interface for seed suggestions is in development, and there is no language model in the loop.

WHO IT IS FOR, section 001

Teams giving agents tools and write access.

For teams whose agents call tools, delegate to sub-agents, hold credentials or change real records.

Failures it tests for

  • A retried call that runs on the old authorization instead of the current one.
  • Cancel not honored: work keeps running after a cancel.
  • Stale authorization: an action allowed by a permission that was already revoked.
  • A change outside the agent's permissions, as recorded by the harness.

EXAMPLE FAILURE, section 002

A cancel that missed an in-flight call.

While checking a planted defect, Ordinum found a real bug in the hardened build of our own reference agent: cancelling delegated work did not reach a sub-agent call already in flight. Confirmed 5/5, then fixed test-first.

Evidence classification: Our own reference application · real, unplanted bug · release candidate

Sequence · 4 participants

Conceptual
  1. 01

    Ordinum to Agent (hardened)

    Start task

  2. 02

    Agent (hardened) to Sub-agent

    Delegate work

  3. 03

    Sub-agent

    Tool call in flight

  4. 04

    Ordinum to Agent (hardened)· Fault

    Cancel delegated work

  5. 05

    Sub-agent to Checks· Violation

    Call still runs after cancel

  6. 06

    Checks to Ordinum· Verdict

    stale_authorization_on_retry_or_cancel

Simplified from the finding in our own reference agent. Not a recorded trace.

WHAT YOU CONNECT, section 003

Your agent, its tools and its permissions.

  • The agent

    Its tool calls run through ordinum.agents, which records each call and its effect.

  • Resources

    The files, records or services it can touch.

  • Permissions

    What it may do, and when that changes.

WHAT ORDINUM RUNS, section 004

Tasks, cancels and permission changes.

  • Scenarios

    Agent tasks with tool calls, delegation, retries and cancels.

  • Faults

    Permission changes and cancels, timed against calls already in flight.

  • Checks

    Rules such as stale_authorization_on_retry_or_cancel, judged on what the harness recorded.

  • Fix verification

    A defective build and a fixed build compared run by run.

EVIDENCE YOU GET, section 005

Verdicts and regression cases.

  • Verdicts

    Pass, fail or Unresolved for each rule.

  • Reduced failures

    Each failure confirmed and cut down to its cause.

  • Regression cases

    JSON cases that replay with ordinum ci.

WHAT WORKS TODAY, section 006

Our own reference applications. No third-party agent tested.

  • Agent reference application (ours)

    Built, experimental · 9 planted defectsRelease candidate

    Every planted case passes as fixed on the fixed build (9/9 PASS FIXED), and ordinum ci replays them: 9 PASS.

  • A real bug in our hardened build

    Built, experimental · our own applicationRelease candidate

    Unplanted: a cancel of delegated work missed an in-flight sub-agent call. Confirmed 5/5, fixed test-first in commit 9a70c5c.

    Read the case study
  • A local-model agent

    Built, experimental · one small modelRelease candidate

    qwen2.5:1.5b through Ollama and LangGraph: PASS FIXED, violations in 14/20 runs before the fix and 0/20 after. A strict re-recording is still to do.

Not yet

  • No third-party agent application has been tested.
  • After the fix, the strict verdict for the reference agent is CANNOT_VERIFY: evidence for sibling defects was inconclusive.
  • No network isolation is claimed for the agents kit.

HOW TO EVALUATE, section 007

Start with one agent and one rule.

  1. Request an evaluation. Tell us about the system and the failure you care about.
  2. We start with a short discussion and a demo.
  3. Then we agree on a suitable system and testing scope with you.

Ordinum runs on your machines as a CLI with Python integrations. Evaluations are guided by the founders.

Request an evaluation

EVALUATIONS

Giving agents real permissions?

Request an evaluation and tell us what your agents can touch.

Research-stage. Runs on your machines; evaluations are guided by the founders.