Skip to content

Gen AI Browser Integration for Prompt Security (Safari)¶

Safari logo

The AccuKnox Prompt Firewall browser plugin intercepts prompts and responses directly in ChatGPT, Claude, GitHub Copilot, and Gemini before they leave your browser session. This includes blocking prompt injection attacks, where a malicious input tries to override the model's behavior. Blocked prompts show a red banner. Allowed ones pass through silently.

Red banner - Prompt blocked

The same plugin covers all four apps at once, no separate install needed per app. This guide covers installation for Safari. For other browsers, see the Chrome, Edge, Firefox, and Brave guides.

Prerequisites¶

  • An active AccuKnox account with AI Security enabled
  • Access to the Integrations section (to generate a token)
  • A Mac with macOS 26.5 or later
  • Safari browser

Step 1: Install the Extension¶

The Safari extension ships inside the AccuKnox Prompt Firewall app on the Mac App Store.

  1. Open the AccuKnox Prompt Firewall page in the Mac App Store.
  2. Click Get, then click Install.
  3. Open the AccuKnox Prompt Firewall app once from your Applications folder.
  4. In Safari, go to Safari > Settings > Extensions and select the checkbox next to AccuKnox Prompt Firewall.
  5. Allow the extension on ChatGPT, Claude, GitHub Copilot, and Gemini when Safari asks for website access.

Step 2: Create a New Integration¶

New Integration modal

Go to AI Security > Integrations and click New Integration.

Fill in the following fields:

Field Value
Integration Name Any descriptive name (e.g. safari-browser-prod)
Tags Add relevant tags (e.g. llmguard)

Click Add to save.

Step 3: Copy Your Token¶

Token Created Successfully modal

After saving, the token is displayed once in a confirmation modal.

Save your token now

This token will not be shown again after you close the modal. Copy it immediately and store it in a secure location such as a password manager.

Step 4: Configure the Extension¶

AccuKnox Prompt Firewall Settings panel

Click the AccuKnox icon in the Safari toolbar and open Settings.

Fill in the following field:

Field Value
API Key Paste the token from Step 3

Click Save Settings, then Test Connection.

Step 5: Verify the Connection¶

Extension popup showing connected status and scan counts

Once connected, the extension popup shows a green status dot next to AccuKnox Prompt Firewall along with a running count of scanned, allowed, blocked, and warned prompts. Click View Logs to see the full request log.

Open ChatGPT, Claude, GitHub Copilot, or Gemini and send a test prompt. Depending on your active policy, you will see one of the following:

Red banner - Prompt blocked Green banner - Prompt cleared

Request Log¶

All intercepted prompts and responses are visible under AI Security > Request Log.

Each entry shows:

  • Timestamp
  • Direction (PROMPT or RESPONSE)
  • Verdict (ALLOW or BLOCK)
  • Content preview
  • Latency

You can filter by verdict or direction, search by content or reason, and export the full log as JSON.

Request Log table