# Class HostileInputFirewall

Orchestrates existing security modules into a configurable pipeline. Each stage is independently toggleable via config.stages.

- Defined in packages/nexus-agents/src/security/firewall/firewall-pipeline.ts:65

##### Index

### Constructors

constructor

### Methods

process
getAuditTrail

## Constructors

### constructor

- new HostileInputFirewall(config: FirewallConfig): HostileInputFirewall

  #### Parameters

  - config: FirewallConfig

  #### Returns HostileInputFirewall

  - Defined in packages/nexus-agents/src/security/firewall/firewall-pipeline.ts:73

## Methods

### process

- process(input: unknown): Result<FirewallResult, FirewallError>

  Processes untrusted input through the firewall pipeline. Returns a structured FirewallResult or a typed FirewallError.

  #### Parameters

  - input: unknown

  #### Returns Result<FirewallResult, FirewallError>

  - Defined in packages/nexus-agents/src/security/firewall/firewall-pipeline.ts:92

### getAuditTrail

- getAuditTrail(): AuditTrail

  Returns the internal audit trail for inspection.

  #### Returns AuditTrail

  - Defined in packages/nexus-agents/src/security/firewall/firewall-pipeline.ts:127