# Fail-open by design

> Why AntiBurner can never break your sign-up form: timeouts, errors and outages all let the sign-up through. Plus how to log every time it fails open.

Source: https://antiburner.com/docs/fail-open  
Markdown: https://antiburner.com/docs/fail-open.md  
Section: Guides

A spam filter must never stop real customers. Every failure path ends in "let them in".

- The SDK gives up after 300 ms and returns allow with unknown: true.
- Network errors, 429, 401 and 5xx responses also return allow with unknown: true and call your onError hook.
- When live DNS times out the API itself answers unknown, which is never billed.

```typescript title="fail-open.ts"
const ab = new AntiBurner({
  apiKey: process.env.ANTIBURNER_KEY!,
  timeoutMs: 300,
  onError: ({ reason, status }) => logger.warn("antiburner fail-open", { reason, status }),
});
```
