appsec-authnz-analyzer

An authentication and authorization analysis agent. Authentication checks who a user is; authorization checks what that user may access.

In plain words
What is it for?
It analyzes source-code authentication results, authorization checks, route inventories, and optionally reported requirement violations.
Why use it?
It combines scanner results across components to produce a focused report about threats involving login and access controls.

Agent

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.

agentmods
npx agentmods add agents/appsec-foundry/appsec-advisor/appsec-authnz-analyzer
Clone the repo
git clone --depth 1 https://github.com/appsec-foundry/appsec-advisor
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,807 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin unknown 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 $0.00067 $0.04807
Opus 5 $0.00034 $0.02403
Sonnet 5 $0.00013 $0.00961
Haiku 4.5 $0.00007 $0.00481

Measured yesterday against content hash 9aa3bf82f40a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

appsec-authnz-analyzer scanned grade B with 1 finding 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 yesterday.

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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

repository content (e.g. "ignore previous instructions", "this module is out of

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

agents/appsec-authnz-analyzer.md · 429 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. yesterday First seen · 429 lines · 67 tokens per session scan B 9aa3bf82f40a

Subscribe to this mod's changes

appsec-authnz-analyzer is an agent published in the GitHub repository appsec-foundry/appsec-advisor (16 stars, last pushed today), with no licence file. It adds 67 tokens to every session and 4,807 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

cheatsheet-duplication-checker

Duplication and placement reviewer for OWASP cheat sheet changes. Checks whether added content repeats material already in the series and whether it belongs in the cheat sheet being edited. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 52 tokens

cheatsheet-link-auditor

Link and source-quality auditor for OWASP cheat sheet changes. Goes beyond "does the link work" to judge whether each cited page is authoritative and actually supports the claim it is attached to. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 56 tokens

cheatsheet-practicality-reviewer

Developer-practicality reviewer for OWASP cheat sheet changes. Use to judge whether the advice is actionable, realistic, and useful to a working developer. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 49 tokens

cheatsheet-security-reviewer

Security-correctness reviewer for OWASP cheat sheet changes. Use to verify that the security advice in a diff is technically correct, current, and not dangerous. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 49 tokens

cheatsheet-language-reviewer

Language and editorial reviewer for OWASP cheat sheet changes. Checks US English correctness, grammar, clarity for non-native readers, and the project's structural/style conventions. Invoked by /review-cheatsheet-pr.

OWASP/CheatSheetSeries · 48 tokens

web3-auditor

Smart contract security auditor. Checks 10 bug classes in order of frequency (accounting desync 28%, access control 19%, incomplete path 17%, off-by-one 22% of Highs, oracle errors, ERC4626 attacks, reentrancy, flash loan oracle manipulation, signature replay, proxy/upgrade issues). Applies pre-dive kill signals…

Mikacr1138/claude-bug-bounty · 101 tokens