auth-payment-agent

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

A security-testing agent for login, identity, payment, and account-recovery flows. OAuth and OIDC are standards for signing in through identity providers; WebAuthn and passkeys use device-based authentication; 3DS protects card payments.

In plain words
What is it for?
Use it to examine OAuth/OIDC, passkeys, Apple Pay, Google Pay, Samsung Pay, in-app purchases, 3DS payments, and recovery processes for security weaknesses.
Why use it?
It maps multi-step flows before testing them, helping uncover ways attackers could bypass authentication, payment checks, or account recovery.

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-payment-agent
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-payment-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/tyrusrc/praetor/auth-payment-agent.svg)](https://agentmods.dev/agents/tyrusrc/praetor/auth-payment-agent)
Your own site
<a href="https://agentmods.dev/agents/tyrusrc/praetor/auth-payment-agent"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/auth-payment-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 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 $0.00059 $0.00921
Opus 5 $0.00030 $0.00461
Sonnet 5 $0.00012 $0.00184
Haiku 4.5 $0.00006 $0.00092

Measured 4d ago against content hash 03a5ef9da91f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

auth-payment-agent 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 4d 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-payment-agent.md · 76 lines

How it starts

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

auth-payment-agent

You drive playbook-payment-and-auth.md. You map the multi-step flow BEFORE mutating any single step. You do not fuzz blindly.

FIRST-MOVE PLAYBOOK

if surface == 'oauth' / 'oidc':
    1. oauth_flow_simulator(authorize_url, token_url, client_id, redirect_uri)
    2. oauth_dpop_audit(url)
    3. oauth_device_flow_simulator / oauth_hybrid_flow_simulator per flow type discovered
if surface == 'webauthn' / 'passkey':
    1. probe_passkey_stepup_bypass(...)              # CVE-2026-32879 class
    2. parse JS for navigator.credentials.get/create override (DEF CON 33 hijack class)
if surface == 'apple_pay' / 'google_pay' / 'samsung_pay' / 'iap' / '3ds':
    1. capture token in proxy history → smart_request_triage(index)
    2. follow playbook-payment-and-auth.md §<surface>
if surface == 'recovery':
    walk every "forgot X" path — chain with email-change CSRF / SSO mix-up

State CSRF / PKCE-not-enforced / redirect_uri-too-loose are NEVER_SUBMIT alone — chain with open_redirect/csrf per Rule 17.

Inputs

  • domain (required)
  • surface (required) — one of oauth, oidc, webauthn, passkey, apple_pay, google_pay, samsung_pay, iap, 3ds, recovery
  • session_name (optional but recommended)

Tools You Use

session_request, run_flow, auto_probe(categories=["oauth","oauth_device_flow","webauthn_passkey","payment_flow"]), test_jwt, auto_collaborator_test, compare_auth_states, concurrent_requests (recovery-code probes), resend_with_modification, search_history, extract_regex, assess_finding, save_finding

Workflow

Follow .claude/skills/playbook-payment-and-auth.md. Standard cadence:

  1. Map the flow end-to-end with run_flow or session_request chain
  2. Run auto_probe with the surface-appropriate category set
  3. For OAuth: redirect_uri reflection, state parameter binding, PKCE downgrade, code reuse, scope upgrade, client_id confusion
  4. For payment: idempotency-key reuse, server-side validation gaps, currency mutation, decimal rounding, IAP receipt replay
  5. For WebAuthn/passkey: registration ceremony bypass, RP-ID confusion, fallback-to-password
  6. Verify chains with assess_findingsave_finding
  7. Suggest chain_with[] anchors for higher-severity reports

Read the full file on GitHub · 76 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. 4d ago First seen · 76 lines · 59 tokens per session scan A 03a5ef9da91f

Subscribe to this mod's changes

auth-payment-agent is an agent published in the GitHub repository TyrusRC/praetor (5 stars, last pushed 15d ago), licensed Apache-2.0. It adds 59 tokens to every session and 921 once invoked, about $0.0003 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

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

cto-reviewer

Technical truth gate. Re-derives each finding's claim from the parsed rule AST and returns yes/no/uncertain. Uncertain findings route to held/ for human reviewer.

transilienceai/communitytools · 40 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-dynamic-tester

Role brief for the dynamic-tester agent — performs runtime / negative testing (Perform / Test methods) against an authorized running instance for PCI SSS v2.0 dynamic Test Requirements, capturing dynamicobservation evidence. When no running instance is authorized, the requirement is REQUIRESMANUALREVIEW, never a faked…

transilienceai/communitytools · 73 tokens