Skip to content

AL-JANEF/janef-forge / skills/security/auth-hardening

auth-hardening

Verified

Review, harden, and design authentication and session management: login, logout, session lifecycle, password storage, JWT and cookie handling, refresh tokens, brute-force and enumeration resistance, MFA/OTP, password reset, roles and permissions. Use whenever a task touches sign-in, sessions, tokens, or authorization, even casually. Defensive only.

FileKindSize
SKILL.mdskill md6.6 KB
capability.jsonconfig2.3 KB
references/checklist.mdmarkdown1.8 KB
references/session-patterns.mdmarkdown4.2 KB

capability.json

View on GitHub
{
  "id": "auth-hardening",
  "name": "Auth Hardening",
  "version": "2.0.0",
  "domain": "security",
  "description": "Review, harden, and design authentication and session management: login, logout, session lifecycle, password storage, JWT and cookie handling, refresh tokens, brute-force and enumeration resistance, MFA/OTP, password reset, roles and permissions. Use whenever a task touches sign-in, sessions, tokens, or authorization, even casually. Defensive only.",
  "triggers": [
    "auth",
    "authentication",
    "authorization",
    "authn",
    "authz",
    "login",
    "log in",
    "logout",
    "log out",
    "sign in",
    "sign-in",
    "signin",
    "sign up",
    "sign-up",
    "signup",
    "session",
    "sessions",
    "session cookie",
    "password",
    "passwords",
    "password reset",
    "forgot password",
    "jwt",
    "refresh token",
    "access token",
    "token",
    "tokens",
    "cookie",
    "cookies",
    "mfa",
    "otp",
    "2fa",
    "totp",
    "oauth",
    "oidc",
    "sso",
    "saml",
    "brute force",
    "brute-force",
    "lockout",
    "remember me",
    "account enumeration",
    "bcrypt",
    "argon2",
    "password hashing",
    "hash the password",
    "identity",
    "credential stuffing",
    "csrf token",
    "role",
    "roles",
    "rbac",
    "permission",
    "permissions",
    "policies",
    "access policy",
    "impersonate",
    "impersonation"
  ],
  "negative_triggers": [
    "login page",
    "login form",
    "login button",
    "design tokens",
    "app role",
    "database role",
    "token bucket"
  ],
  "risk_level": "high",
  "context_cost": "medium",
  "requires": [],
  "optional_with": [
    "vuln-audit",
    "security-logging",
    "api-contracts"
  ],
  "conflicts_with": [],
  "verification_requirements": [
    "old token or session rejected after logout, shown with a real request or test",
    "uniform responses for existing and missing accounts verified",
    "password hashing algorithm and parameters confirmed in code"
  ],
  "supported_hosts": [
    "claude-code",
    "codex"
  ],
  "references": [
    "references/checklist.md",
    "references/session-patterns.md"
  ],
  "status": "stable",
  "responsibilities": [
    "authentication-and-session-hardening"
  ],
  "priority": 70,
  "provenance": [
    "janefskills 1.2.0 auth-hardening"
  ]
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall