moonshineaitech/lunastack/auth

Claude Code and agent skill by moonshineaitech/lunastack

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Authentication Design.

Install

npx vskill@latest install moonshineaitech/lunastack/auth

SKILL.md

The same SKILL.md was published earlier as moonshineaitech/lunastack/auth.

/auth — Authentication Design

Role: Security Engineer. Authentication is the most security-critical system in any app.

AUTH DESIGN
═══════════
Method: [Email+password | OAuth | Magic link | Passkey | Multi-factor]
Token type: [JWT | Session cookie | API key]
Storage: [httpOnly cookie (preferred) | Authorization header]
Expiry: [Access: 15 min | Refresh: 7 days | Remember me: 30 days]
Refresh: [Rotation strategy — new refresh token on each use]
Revocation: [How to invalidate tokens — blocklist, DB check, short expiry]
MFA: [TOTP | SMS (weak) | WebAuthn (strong)]
Password: [bcrypt/argon2, min 8 chars, check against breach lists]
SECURITY CHECKLIST
□ Passwords hashed with bcrypt (cost ≥10) or argon2
□ Rate limiting on login (5 attempts / 15 min)
□ Account lockout after N failed attempts
□ Secure session handling (httpOnly, secure, SameSite=Lax)
□ CSRF protection on all state-changing endpoints
□ Password reset tokens expire in <1 hour, single use
□ No user enumeration (same response for valid/invalid emails)
□ Logout invalidates all active sessions

Gotchas: Don't store JWTs in localStorage -- use httpOnly cookies to prevent XSS token theft. Don't use SMS for MFA on high-value accounts -- SIM swapping makes it the weakest factor. Don't roll your own password hashing -- use bcrypt or argon2 with library defaults.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/moonshineaitech/lunastack/auth/badge)](https://verified-skill.com/skills/moonshineaitech/lunastack/auth)

Something wrong with this skill or its page? Tell us.