jcorpac/ai-skills-library/flask-auth-security

Claude Code and agent skill by jcorpac/ai-skills-library

Trust tier 3
  • community
Source check pending

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

Implementing professional session-based and token-based authentication.

Install

npx vskill@latest install jcorpac/ai-skills-library/flask-auth-security

SKILL.md

The same SKILL.md was published earlier as jcorpac/ai-skills-library/flask-auth-security.

Flask Auth & Security

Protecting user data and restricting access to critical endpoints.

Session-based Auth (Flask-Login)

  • The UserMixin: Simplified implementation of login/logout states.
  • decorators: @login_required to protect views.

Token-based Auth (JWT)

Use Flask-JWT-Extended for stateless APIs.

  • Claims: Storing user identity and roles in the token.
  • Refresh Tokens: Managing long-term sessions securely.

General Security

  • Hashing: Use pbkdf2:sha256 or bcrypt for storage.
  • Headers: Implement HSTS, Content-Security-Policy, and common security headers (using Flask-Talisman).
  • Secrets: Never commit SECRET_KEY to version control.

Best Practices

  • Rate Limiting: Protect authentication endpoints from brute-force attacks.
  • Principle of Least Privilege: Use Role-Based Access Control (RBAC).

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/jcorpac/ai-skills-library/flask-auth-security/badge)](https://verified-skill.com/skills/jcorpac/ai-skills-library/flask-auth-security)

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