mindrally/segurança-jwt

Diretrizes para implementar autenticação JWT com práticas recomendadas de segurança para criação, validação e armazenamento de tokens.

O que é segurança-jwt?

Esta skill fornece um conjunto abrangente de diretrizes de segurança para implementar autenticação baseada em JWT (JSON Web Tokens) em suas aplicações. Ela cobre as melhores práticas para criação segura de tokens, incluindo algoritmos de assinatura fortes (como HS256 ou RS256), gerenciamento adequado de chaves e prevenção de vulnerabilidades comuns, como injeção de payload. A validação rigorosa de tokens é abordada, com ênfase na verificação de assinatura, expiração (exp), emissor (iss) e público-alvo (aud) para evitar ataques como confusão de algoritmos. Além disso, a skill oferece orientações detalhadas sobre armazenamento seguro de tokens no lado do cliente (como usar cookies HttpOnly em vez de localStorage) e no servidor, protegendo contra ataques XSS e CSRF. Suportada por agentes de IA como Claude Code e Cursor, esta skill é essencial para desenvolvedores que desejam implementar autenticação JWT robusta, seguindo as melhores práticas da indústria para evitar brechas de segurança.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mindrally/skills/tree/main/skills/jwt-security

Installed? Explore more Programação e Desenvolvimento skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que segurança-jwt faz?

Diretrizes para implementar autenticação JWT com práticas recomendadas de segurança para criação, validação e armazenamento de tokens.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mindrally/accessibility-a11y

Implement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces.

mindrally/chrome-extension-development

Expert guidelines for Chrome extension development with Manifest V3, covering security, performance, and best practices. Use when building browser extensions, creating popup UIs, implementing content scripts, working with Chrome APIs, managing extension permissions, or publishing to Chrome Web Store.

mindrally/computer-vision-opencv

Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.

mindrally/data-analysis-jupyter

Expert guidance for data analysis, visualization, and Jupyter Notebook development with pandas, matplotlib, seaborn, and numpy.

mindrally/deep-learning-pytorch

Expert guidance for deep learning, transformers, diffusion models, and LLM development with PyTorch, Transformers, Diffusers, and Gradio.

mindrally/expo-react-native-typescript

Expert in Expo React Native TypeScript mobile development with best practices

mindrally/fastapi-python

Expert in FastAPI Python development with best practices for APIs and async operations

mindrally/framer-motion

Expert guidelines for building performant animations with Framer Motion/Motion library in React applications

mindrally/htmx

HTMX development guidelines for building dynamic web applications with minimal JavaScript using HTML attributes.

mindrally/machine-learning

Machine learning development with JAX, functional programming patterns, and high-performance computing.

mindrally/mysql-best-practices

MySQL development best practices for schema design, query optimization, and database administration

mindrally/nextjs-react-typescript

Expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind

mindrally/nextjs-typescript-tailwindcss-supabase

Full-stack Next.js 14 development with TypeScript, TailwindCSS, and Supabase for building production-ready web applications.

mindrally/odoo-development

Expert guidance for Odoo ERP development including Python ORM, XML views, and module architecture

mindrally/puppeteer-automation

Expert guidance for browser automation using Puppeteer with best practices for web scraping, testing, screenshot capture, and JavaScript execution in headless Chrome.

mindrally/redis-best-practices

Redis development best practices for caching, data structures, and high-performance key-value operations

mindrally/scrapy-web-scraping

Expert guidance for building web scrapers and crawlers using the Scrapy Python framework with best practices for spider development, data extraction, and pipeline management.

mindrally/scss-best-practices

SCSS/Sassy CSS best practices and coding guidelines for maintainable, scalable stylesheets

mindrally/typeorm

Guidelines for developing with TypeORM, a full-featured ORM for TypeScript and JavaScript supporting multiple databases

mindrally/web-scraping

Expert in web scraping and data extraction with Python tools

Habilidades Relacionadas