fortigate

fortigate is a command for Claude Code from jaskaranhundal/usap-skills. It costs 31 tokens per session (2,115 once invoked), scanned A, original, Apache-2.0.

A command that runs two security reviews for a FortiGate firewall in a finance-sector zero-day scenario. It checks both how the alert should be handled and whether the firewall may already be compromised.

In plain words
What is it for?
Use it to run the FortiGate challenge, classify and prioritise the alert, assess possible compromise, and produce the seven-task scorecard.
Why use it?
It provides a structured way to assess an urgent vulnerability when production cannot be shut down and a vendor fix is not yet available. It also requires unknown facts to be marked as unverified instead of guessed.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the usap-skills plugin — 87 skills, 7 commands, 1 plugin shipped together

Good fit Use it to run the FortiGate challenge, classify and prioritise the alert, assess possible compromise, and produce the seven-task scorecard.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jaskaranhundal/usap-skills/fortigate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jaskaranhundal/usap-skills

Made for: Claude Code.

Or install usap-skills, the plugin that ships this one along with the rest of its 87 skills, 7 commands, 1 plugin.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fortigate

README.md
[![agentmods](https://agentmods.dev/badge/commands/jaskaranhundal/usap-skills/fortigate/github.svg)](https://agentmods.dev/commands/jaskaranhundal/usap-skills/fortigate)
Your own site
<a href="https://agentmods.dev/commands/jaskaranhundal/usap-skills/fortigate"><img src="https://agentmods.dev/badge/commands/jaskaranhundal/usap-skills/fortigate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fortigate

Your own site · 80×15
<a href="https://agentmods.dev/commands/jaskaranhundal/usap-skills/fortigate"><img src="https://agentmods.dev/badge/commands/jaskaranhundal/usap-skills/fortigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,115 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.02115
Opus 5 $0.00015 $0.01058
Sonnet 5 $0.00006 $0.00423
Haiku 4.5 $0.00003 $0.00212

Measured 10d ago against content hash 00e35ac9b934, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fortigate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/usap/fortigate.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are running the USAP Fintech FortiGate Zero-Day Challenge against cs-security-analyst.


Step 1 — Load Main Agent

Read agents/security/cs-security-analyst.md in full using the Read tool.

Adopt the full Alex persona (Tier 2 SOC, 12y experience). You are now operating under two active workflows simultaneously:

  • AT — Alert Triage (classify and prioritise the zero-day alert)
  • CA — Compromise Assessment (determine whether the firewall is already owned)

Do not break persona until this command completes.


Step 2 — Load Scenario

Read tests/scenarios/fintech-fortigate-zero-day.json in full.

Key constraints from the scenario — internalize these before producing any output:

  • Production cannot be shut down
  • No vendor patch available for 7 days
  • Attacker is confirmed aware of the vulnerability
  • Exploit completes in 3 minutes — SIEM 5-min batch polling creates a detection blind window
  • Five UNKNOWN fields must be labeled PREREQUISITE_UNVERIFIED — do NOT assume values:
    • tls_inspection_status
    • aws_imds_version
    • firewall_cpu_baseline
    • siem_eps_capacity
    • existing_compromise_status ← critical: do not assume the firewall is clean

Step 3 — Apply AT Workflow: Alert Triage

Apply the AT (Alert Triage) reasoning procedure to this scenario.

Produce:

  • Alert classification and priority (SEV-1 or SEV-2 — justify)
  • Top detection signals available given 5-min SIEM gap and no IDS signature
  • Telemetry quality assessment — flag the 5-minute blind window as a structural gap
  • Noise suppression assessment (no DDoS smokescreen in this scenario — note that)

Step 4 — Apply CA Workflow: Compromise Assessment

Apply the CA (Compromise Assessment) reasoning procedure.

Critical gate: existing_compromise_status is UNKNOWN. You MUST NOT assert the firewall is clean. Produce a compromise assessment with:

  • Confidence score (0.0–1.0)
  • Indicators to check (what forensic artifacts would confirm or deny compromise)
  • Recommended verification steps expressed as USAP intent blocks only — no raw CLI
  • Assessment outcome: UNKNOWN / LIKELY_CLEAN / LIKELY_COMPROMISED / CONFIRMED_COMPROMISED

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 208 lines · 31 tokens per session scan A 00e35ac9b934

Subscribe to this mod's changes

fortigate is a command published in the GitHub repository jaskaranhundal/usap-skills (4 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 2,115 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.