| 312 | // ─── Attack logging ────────────────────────────────────────── |
| 313 | |
| 314 | export 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 | |
| 324 | const SECURITY_DIR = path.join(os.homedir(), '.gstack', 'security'); |
| 325 | const ATTEMPTS_LOG = path.join(SECURITY_DIR, 'attempts.jsonl'); |
nothing calls this directly
no outgoing calls
no test coverage detected