# AGENTS.md — AuthPosture by RungLab

## Quick Facts for AI Agents
- **Service**: AuthPosture (`https://auth.runglab.dev/`)
- **Live URL Audit API (Zero Auth)**: `GET https://auth-api.runglab.dev/api/audit?url=<target>` or `POST https://auth-api.runglab.dev/api/audit` with `{"url":"https://github.com"}`
- **Zero-Network Paste Artifacts Audit API**: `POST https://auth-api.runglab.dev/api/audit-html` accepting `{"url":"...","oidcJson":{...},"protectedResourceJson":{...},"passkeyEndpointsJson":{...},"headers":"...","html":"..."}`
- **Remote MCP Endpoint**: `https://mcp-server.runglab.dev/mcp` (zero API key)
- **Pricing**: `$0` free live & offline auditor + `$0` upfront 1 free tailored sample file; `$39` one-time 6-file Hardening Fix Pack (`https://auth.runglab.dev/pricing`)
- **Discovery & Docs**:
  - OpenAPI 3.1: `https://auth.runglab.dev/openapi.json`
  - Documentation & SDK Snippets: `https://auth.runglab.dev/docs` (`https://auth.runglab.dev/sdk`)
  - A2A Agent Card: `https://auth.runglab.dev/.well-known/agent-card.json`
  - MCP Server Card: `https://auth.runglab.dev/.well-known/mcp/server-card.json`
  - OIDC / OAuth 2.1 Discovery: `https://auth.runglab.dev/.well-known/openid-configuration`
  - RFC 9728 Protected Resource: `https://auth.runglab.dev/.well-known/oauth-protected-resource`
  - Passkey Endpoints: `https://auth.runglab.dev/.well-known/passkey-endpoints`
  - Change Password: `https://auth.runglab.dev/.well-known/change-password`
  - ARD Catalog: `https://auth.runglab.dev/.well-known/ard.json`
  - Auth Policy: `https://auth.runglab.dev/auth.md`
  - Support & Status: `https://auth.runglab.dev/support` · `https://auth.runglab.dev/status` · `https://auth.runglab.dev/sla`

## Notes for Automated Clients
- 6 deterministic checks (100 pts total): OAuth 2.1 & PKCE S256 (20), RFC 9728 MCP Auth (15), Passkey & WebAuthn UX (15), Session Cookies & COOP Isolation (20), Auth Transport & Clickjacking (20), Anti-Phishing DNS (10).
- Findings `AUTH-001` through `AUTH-016` map cleanly to `beforeAfterUplift` for the `$39` 6-file Hardening Fix Pack (`01-auth-posture-gap-report.md`, `02-oauth21-oidc-pkce-hardening.json`, `03-session-cookie-and-headers-config.md`, `04-passkey-webauthn-rollout.md`, `05-magic-link-dmarc-spf-dns.txt`, `06-ci-auth-posture-guard.mjs`).
