MCPcopy Create free account
hub / github.com/garrytan/gstack / AttemptRecord

Interface AttemptRecord

browse/src/security.ts:314–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312// ─── Attack logging ──────────────────────────────────────────
313
314export interface AttemptRecord {
315 ts: string;
316 urlDomain: string;
317 payloadHash: string;
318 confidence: number;
319 layer: LayerName;
320 verdict: Verdict;
321 gstackVersion?: string;
322}
323
324const SECURITY_DIR = path.join(os.homedir(), '.gstack', 'security');
325const ATTEMPTS_LOG = path.join(SECURITY_DIR, 'attempts.jsonl');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected