Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
/** Pino `redact.paths` covering JWTs and token-bearing headers. */
export const TOKEN_LEAK_REDACT_PATHS: readonly string[] = [
'req.headers.authorization',
'req.headers.cookie',
"req.headers['x-service-token']",
"req.headers['x-user-session-token']",
'headers.authorization',
'headers.cookie',
'token',
'accessToken',
'access_token',
'refreshToken',
'chatgptAccountId',
'accountId',
'voucher',
'password',
'password_hash',
'passwordHash',
'claim_token',
'claimToken',
'client_secret',
'clientSecret',
'code_verifier',
'codeVerifier',
'executionTicket',
'attemptReceipt',
'id_token',
'idToken',
'pkceVerifier',
'refresh_token',
'registration_access_token',
'registrationAccessToken',
'deviceCode',
'device_code',
'userCode',
'user_code',
'accountSubject',
'account_subject',
'*.access_token',
'*.refresh_token',
'*.id_token',
]
/** Asserted by unit tests so redactions can grow but never shrink. */
export const REQUIRED_REDACT_PATHS: readonly string[] = [
'req.headers.authorization',
"req.headers['x-service-token']",
'headers.authorization',
'accessToken',
'access_token',
'refreshToken',
'chatgptAccountId',
'accountId',
'claim_token',
'claimToken',
'client_secret',
'clientSecret',
'code_verifier',
'codeVerifier',
'executionTicket',
'attemptReceipt',
'id_token',
'idToken',
'pkceVerifier',
'refresh_token',
'registration_access_token',
'registrationAccessToken',
'deviceCode',
'device_code',
'userCode',
'user_code',
'accountSubject',
'account_subject',
'*.access_token',
'*.refresh_token',
'*.id_token',
]