/** * Six attacks a valid principal can make, run for real rather than described. * * `BoundaryTest` sends requests at a synthetic target and shows what reaches * it. These are the attacks that live inside the lifecycle instead: they need * an authority to have been issued before they can be attempted, so no * request at a target can express them. Each one is executed here, against a * fixture authority on no network at all, and each must be refused. * * Nothing here is a mock of the refusal. The intents are captured by * `IntentCapture`, the decisions come from the fixture authority pair, the * grants are claimed by its verifier, and the refusals are `SafeExecutor`'s * own. What the report shows is what the shipped code did. */ export declare const ATTACK_VERSION = "agent-safe.authority-attacks/1"; export interface AttackResult { readonly id: string; readonly title: string; /** What the attack tries to make happen, in one line an operator can read. */ readonly attempt: string; /** What must happen instead. */ readonly expected: string; /** The refusal code the shipped code produced, or null if nothing refused. */ readonly refusal: string | null; readonly held: boolean; } export interface AttackReport { readonly version: typeof ATTACK_VERSION; readonly results: readonly AttackResult[]; readonly attempts: number; readonly executions: number; readonly held: boolean; } /** * Runs all six and reports what each produced. It reaches nothing: no * network, no file, no clock beyond the intent's own expiry. */ export declare function runAuthorityAttacks(): Promise; //# sourceMappingURL=AuthorityAttacks.d.ts.map