forkstage
v0.21.12
Published
Attack your AI agents inside full copies of your real stack, before anyone else does: the Forkstage command line.
Maintainers
Readme
forkstage
The command line for Forkstage, the attack range for AI agents. It attacks the AI agents inside your product in full copies of your real stack, through the doors they read (stored records, documents, email, web pages, tool output, chat), and reports what actually happened: one verdict per agent, Held, Breached or Needs a look, with evidence and a fix.
npm install -g forkstage
forkstage login
forkstage setup # writes forkstage.yaml, bakes the stack, drafts agents: and wiring: from the code
forkstage attack support # or every agent: forkstage attackforkstage attack [agent] [--depth quick|standard|deep] [--strict] [--json]: quick is 6 attacks × 2 runs, standard (the default) 12 × 3, deep 24 × 5, every run on a fresh copy. Attacks come from Forkstage's own versioned library; withwiring:declared, no model is involved. Attacks run on Forkstage's hosts.--strictexits 2 unless every agent held (1 when breached).forkstage setupdrafts each agent whose code calls a model underagents:, with itswiring:and a question for every guess. It never makes up test users: add the victim and the attacker underidentities:.- The copies are yours to use too:
forkstage up/forkstage downfor a copy of your own,forkstage mailfor the mail a copy tried to send,forkstage verifyto check a code change on a fresh copy,forkstage datafor an anonymised slice of your database built on your machine.
Every command and flag: https://docs.forkstage.com/reference/cli. The agent format: https://docs.forkstage.com/attack/agents.
