Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / MemoryModificationGuard

Interface: MemoryModificationGuard

Defined in: packages/security/src/guard/types.ts:85

Per-tool guard interface. Each tier returns its own implementation via the createGuard(...) factory.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
snapshotreadonly(reader) => Promise<MemorySnapshot>Snapshot the relevant regions before tool execution.packages/security/src/guard/types.ts:88
tierreadonlyMemoryGuardTier-packages/security/src/guard/types.ts:86
verifyreadonly(pre, reader) => Promise<GuardVerifyResult>Verify that the post-execution state matches the pre-execution snapshot.packages/security/src/guard/types.ts:90