auth-tester

auth-tester is an agent for Claude Code from TyrusRC/praetor. It costs 30 tokens per session (632 once invoked), scanned A, original, Apache-2.0.

A security-testing agent for checking whether users can access actions or data belonging to other roles. Authorization controls what an already signed-in or anonymous user is allowed to do, while an IDOR is an access flaw caused by changing an object identifier.

In plain words
What is it for?
Use it to test endpoint access across roles, investigate IDOR and BFLA issues, check JWT handling, test race conditions and parameter pollution, and save confirmed findings.
Why use it?
It compares at least two user or session states to expose missing permission checks, cross-user data access, and authentication or token-related bypasses.

Agent for Claude Code

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/tyrusrc/praetor/auth-tester
Clone the repo
git clone --depth 1 https://github.com/TyrusRC/praetor

Made for: Claude Code.

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 auth-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/tyrusrc/praetor/auth-tester.svg)](https://agentmods.dev/agents/tyrusrc/praetor/auth-tester)
Your own site
<a href="https://agentmods.dev/agents/tyrusrc/praetor/auth-tester"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/auth-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00030 $0.00632
Opus 5 $0.00015 $0.00316
Sonnet 5 $0.00006 $0.00126
Haiku 4.5 $0.00003 $0.00063

Measured 5d ago against content hash 38146c336164, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

auth-tester 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 5d 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/agents/auth-tester.md · 59 lines

How it starts

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

auth-tester

You test authorization (not authentication). You need ≥2 sessions to compare across — typically admin + user + anon.

Inputs

  • domain (required)
  • sessions (required) — list of session_names representing distinct roles
  • endpoints (required) — list of endpoints to test across the matrix

Tools You Use

test_auth_matrix, compare_auth_states, test_race_condition, test_parameter_pollution, test_jwt, session_request, assess_finding, save_finding, harvest_identifiers

Workflow

  1. Validate: len(sessions) >= 2 (else abort — auth-matrix needs ≥2 states)
  2. test_auth_matrix(endpoints, sessions) — highest ROI; identifies state-bypass cases
  3. For each endpoint flagged: compare_auth_states for evidence diff
  4. ID enumeration (per R6 scope clarification: IDOR/BOLA is in scope):
    • harvest_identifiers from prior findings + intel
    • For sequential / predictable IDs: walk the range across sessions
    • Distinct PII / cross-app data across IDs = HIGH-impact IDOR
  5. JWT testing if JWTs are in scope: test_jwt (alg=none, weak HMAC, claim mutation)
  6. assess_findingsave_finding for each

Returns

{
  "idor_confirmed": [<ids>],
  "bfla_confirmed": [<ids>],
  "auth_bypass": [<ids>],
  "race_findings": [<ids>],
  "matrix_results": {<endpoint>: {<session>: <status>}}
}

Constraints

  • R6 credential brute-force is out of scope. ID enumeration IS in scope.
  • IDOR PoC: READ access proof only; never WRITE to another user's data (R8).
  • For sequential IDs: include "sequential"/"predictable"/"enumeration" in evidence so assess_finding boosts impact.

Status Report (return this JSON)

Your final output is one status object per AGENTS.md (Agent Status Schema section) — no surrounding prose. The matrix_results + ID lists stay in ## Returns:

{"agent":"auth-tester","domain":"<domain>","phase":"authz","status":"done","findings_confirmed":0,"findings_suspected":0,"coverage_note":"<idor/bfla/bypass across N endpoints x M roles>","next_action":"<e.g. verify idor f-XXXX>","blockers":[]}

Read the full file on GitHub · 59 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. 5d ago First seen · 59 lines · 30 tokens per session scan A 38146c336164

Subscribe to this mod's changes

auth-tester is an agent published in the GitHub repository TyrusRC/praetor (5 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 632 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.

Related

Other agents, from other repositories

senior-pentester

20+ year offensive security reviewer. Receives one logical firewall's normalized ruleset (already through deterministic detectors) and flags semantic concerns detectors can't catch — business-logic gaps, trust-boundary violations, unusual service combos. 2-4 instances dispatched in parallel during /launch.

transilienceai/communitytools · 62 tokens

core-tester

Black-box acceptance tester that validates the running application as a real user would. Use after implementation and review are complete to verify that UATs pass, flows work end-to-end, and the experience makes sense. Does not read code.

LukeRenton/explore-claude-code · 51 tokens

ciso-reviewer

Business-impact gate. Adjusts severity based on asset criticality, engagement regulatory overlay, and compensating controls. Does NOT veto findings.

transilienceai/communitytools · 32 tokens

citation-verifier

Deterministic (not LLM). Greps every finding's quoted rule text in its cited source file and verifies framework citation versions match the pinned set. Mismatches → quarantine.

transilienceai/communitytools · 41 tokens

qa-reviewer

Editorial gate. Final pass on phrasing, framework-citation-version accuracy, cross-finding consistency. Flags (never blocks) findings that need author attention.

transilienceai/communitytools · 35 tokens

agent-evidence-gatherer

Role brief for the evidence-gatherer agent — collects source-code and documentation evidence for a PCI SSS v2.0 Test Requirement (Examine / static-analysis methods), writing verbatim file+line+quote evidence to the per-requirement evidence dir. Mounted by the workflow Gather phase.

transilienceai/communitytools · 67 tokens