Language
Stoa

Prizma

Shipping

Static analysis you can prove: one commit, one rule set, one answer.

Open the demo ↗ demo.stoasuite.com/prizma placeholder address
01

What it does

A scanner that reports “no findings” when it never really ran is worse than no scanner at all. Prizma is built the other way around: every answer carries its own provenance — the commit that was scanned, the rule set that was used, and whether the run actually finished.

  • Accepts a scan for a repository at a full commit id, runs the engine as a separate sandboxed process against the given rule set, and returns the findings.
  • Records the identity of the rules in three fields — rulesSource, rulesRef as the caller declares it and rulesDigest as computed here — so which rule set produced a finding is never a matter of memory.
  • Never reports a failed scan as a clean one: coverage.complete goes false and a reason names what happened — TIMEOUT, REPO_TOO_LARGE, ENGINE_CRASH, SECRET_UNRESOLVED and the rest.
  • Separates two boundaries: the tenant is the resource and fairness boundary, the project is the access boundary. A key's scope and a per-project repository allowlist both have to agree before a repository is cloned.
  • Returns the existing scan instead of starting a second one when the same input digest or the same Idempotency-Key arrives again — 202 means fresh work, 200 means a row that already existed.
02

How it works

  1. 01

    Admit

    The key, the project, the repository allowlist and the commit id are checked. A branch name or a shortened sha is refused before anything is queued.

  2. 02

    Queue

    The scan is ordered by tenant quota and priority — interactive work ahead of batch.

  3. 03

    Scan

    A worker fetches that one commit, writes the rule set to an ephemeral disk and runs the engine under cgroup limits. The worker is not an HTTP client, so there is no outbound path to open.

  4. 04

    Return

    Findings and the coverage of the run are stored, and the caller is told over its registered callback host, signed with that tenant's secret.

03

What it does not do

  • It does not write the rules. The rule set arrives from a repository at a sha, or inline in the request — never both, and never fetched from a URL of its own accord.
  • It does not decide what a finding means. It returns findings; Tessera turns them into a decision.
  • It does not run tests — that is Probix's job — and it does not review pull requests, which is Tessera's.
  • It does not accept a branch name or a shortened commit id: a scan has to name an exact revision, or the result would be tied to an uncertain one.
04

At a glance

FormService — one image, three roles: api, worker, callback
EngineSemgrep, as a subprocess under cgroup limits
IsolationTenant for quota, project for access — key scope plus repository allowlist
StorePostgreSQL, its own schema
DeploymentOn-prem; the admin API stays closed unless a key is configured

Talk to us

Tell us which environment you have to defend, or which delivery chain you have to prove. We answer with specifics.

Open the demo ↗ demo.stoasuite.com/prizma placeholder address