unifly-audit

unifly-audit is a command for Claude Code from hyperb1iss/unifly. It costs 22 tokens per session (261 once invoked), scanned A, original, Apache-2.0.

A security audit command for UniFi, Ubiquiti’s system for managing network equipment. It checks WiFi protection, firewall rules, device firmware, and network isolation.

In plain words
What is it for?
Use it to inspect a UniFi configuration and produce a security report. It can list affected WiFi networks, firewall rules, missing logging, and devices with available firmware upgrades.
Why use it?
It helps reveal open or weakly protected wireless networks, permissive firewall rules, devices needing updates, and possible separation problems between networks.

Command for Claude Code

Written for Claude Code: arguments in frontmatter.

Part of the unifly plugin — 2 skills, 2 commands, 1 agent shipped together

Good fit Use it to inspect a UniFi configuration and produce a security report. It can list affected WiFi networks, firewall rules, missing logging, and devices with available firmware upgrades.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hyperb1iss/unifly/unifly-audit
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/hyperb1iss/unifly

Made for: Claude Code.

Or install unifly, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 1 agent.

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 unifly-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/hyperb1iss/unifly/unifly-audit/github.svg)](https://agentmods.dev/commands/hyperb1iss/unifly/unifly-audit)
Your own site
<a href="https://agentmods.dev/commands/hyperb1iss/unifly/unifly-audit"><img src="https://agentmods.dev/badge/commands/hyperb1iss/unifly/unifly-audit/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 unifly-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/hyperb1iss/unifly/unifly-audit"><img src="https://agentmods.dev/badge/commands/hyperb1iss/unifly/unifly-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 261 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.00022 $0.00261
Opus 5.5 $0.00009 $0.00104
Sonnet 5.5 $0.00004 $0.00052
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

unifly-audit 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 11d 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.

commands/unifly-audit.md · 29 lines

What it actually says

UniFi Security Audit

Load unifly skill and unifly skill commands before inspecting the network. Use the installed guide and command help for authentication, enumeration, identifiers, and output fields. Inspect returned schemas before filtering.

Apply the optional profile argument consistently; when omitted, retain the configured default. Review WiFi security settings, firewall policy scope and ordering, device firmware availability, and network isolation. Distinguish intended guest access from an unintended exposure. Assess findings against the user's network requirements instead of assigning severity from a single field such as missing logging or WPA2 support.

Keep the audit read-only. Report evidence, impact, proposed remediation, and checks unavailable with the current access. Failed dependency queries leave resource usage unknown; they do not establish that deletion is safe.

If unifly skill is unavailable, use unifly --help and explain that the binary needs updating before it can supply version-matched guidance.

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. 11d ago Changed · -64 lines · -6 tokens per session eebd36f95212
  2. 1mo ago First seen · 93 lines · 28 tokens per session scan A 18157f566def

Subscribe to this mod's changes

unifly-audit is a command published in the GitHub repository hyperb1iss/unifly (272 stars, last pushed 4d ago), licensed Apache-2.0. It adds 22 tokens to every session and 261 once invoked, about $0.0001 per session on Opus 5.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-30.