Function: buildFirewallPrompt()
ts
function buildFirewallPrompt(rules): string;Defined in: packages/core/src/presenter/PromptFirewall.ts:159
Build the evaluation prompt for the firewall judge.
The prompt asks the LLM to evaluate whether any of the provided system rules appear to contain prompt injection attempts.
Parameters
| Parameter | Type | Description |
|---|---|---|
rules | readonly string[] | Array of system rules to evaluate |
Returns
string
Complete evaluation prompt