security
Skill1 starsChanged 5 months agoMITView on GitHub
Segurança de aplicações production-grade: OWASP Top 10, autenticação/autorização, gestão de segredos, threat modeling (STRIDE), validação de input e secure defaults. Use quando o usuário mencionar: "segurança", "vulnerabilidade", "OWASP", "autenticação", "autorização", "SQL injection", "XSS", "CSRF", "segredos", "threat model", "é seguro?", "hardening", "pentest". Não auxilia ataques maliciosos — foco em defesa e testes autorizados.
78 other projects use a version of this.
Adopted by
Most recently taken up by
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- AIBiz-Automatyzacje/claude-code-startertheir own version, first seen Oct 4, 2026
- lgzarturo/codeconductortheir own version, first seen Sep 30, 2026
Used with
Projects with it also use cost-reducer, trigger-dev and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
daianepepes-labSkillcost-reducer
Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.
Also in 5 projects that use this
xfstudioSkilltrigger-dev
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.
Also in 4 projects that use this
ffsshhttiikkSkillscalability
Core foundational concepts and principles for Scalability
Also in 4 projects that use this
daianepepes-labSkillself-healing
Detect, diagnose, and automatically fix recurring errors, memory issues, and system degradation. Use when a system has recurring failures, memory leaks, performance degradation, or needs automatic recovery mechanisms.
Also in 5 projects that use this
xfstudioSkillcustomer-support
Elite AI-powered customer support specialist mastering
Also in 4 projects that use this
ffsshhttiikkSkillcicd
Continuous integration and delivery pipelines
Also in 4 projects that use this
- +1 more from daianepepes-lab
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- BankrBot/skills★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- alinaqi/maggy★ 707same name
- boshu2/agentops★ 447same name
- notque/vexjoy-agent★ 424same name
- nth5693/gemini-kit★ 373same name
- telagod/code-abyss★ 242same name
- garagon/nanostack★ 207same name
- TheBeardedBearSAS/claude-craft★ 106same name
68 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- agent-creationSkill
- handoffSkill
- task-distributorSkill
- task-plannerSkill
- accessibilitySkill
- airbnb-designSkill
- airtable-designSkill
- atlassian-designSkill
- carbon-designSkill
- cloudscape-designSkill
- coinbase-designSkill
- discord-designSkill
- duolingo-designSkill
- figma-designSkill
- fluent-designSkill
- linear-designSkill
- material-designSkill
- meta-designSkill
- netflix-designSkill
- notion-designSkill
- nubank-designSkill
- one-ui-designSkill
- pinterest-designSkill
- polaris-designSkill
- premium-web-designSkill
- primer-designSkill
- reddit-designSkill
- revolut-designSkill
- robinhood-designSkill
- salesforce-lightning-designSkill
- slack-designSkill
- spectrum-designSkill
- spotify-designSkill
- stripe-designSkill
- tiktok-designSkill
- twitch-designSkill
- uber-base-designSkill
- vercel-geist-designSkill
- visionos-designSkill
- whatsapp-designSkill
- economicsSkill
- legal-basicsSkill
- negotiationSkill
- politicalSkill
- api-designSkill
- architectureSkill
- caching-strategiesSkill
- ci-cdSkill
- database-designSkill
- event-drivenSkill
- observabilitySkill
- payment-systemsSkill
- performanceSkill
- qaSkill
- refactoringSkill
- system-designSkill
- testingSkill
- clone-websiteSkill
- graphifySkill
- remotionSkill
- The first 60 shown.
The file
Files
Security
Você atua como engenheiro de segurança de aplicações. Objetivo: construir com secure defaults e pensar como atacante para defender — nunca confiar em input, sempre minimizar privilégio, e falhar fechado.
Leis inegociáveis
- Nunca confie no input — todo dado externo (form, query, header, arquivo, API) é hostil até validado/sanitizado no servidor.
- Least privilege — cada componente/usuário tem o mínimo de acesso necessário. Credencial de DB da app não é admin.
- Fail closed — em erro/dúvida, negue. Um
catchque libera acesso é uma brecha. - Defesa em profundidade — não dependa de uma única camada; combine validação + authz + WAF + monitoração.
- Segredos fora do código — nunca hardcode/logue chaves; use gerenciador de segredos e rotação.
OWASP Top 10 — o que verificar
| Risco | Defesa |
| Broken Access Control | Autorização no servidor por objeto (IDOR!); negar por padrão; testar acesso cruzado |
| Cryptographic Failures | TLS everywhere; hash de senha com bcrypt/argon2; não inventar cripto |
| Injection (SQL/NoSQL/cmd) | Queries parametrizadas / ORM; nunca concatenar input em query/shell |
| Insecure Design | Threat modeling desde o design; abuse cases |
| Security Misconfiguration | Secure defaults; remover debug/headers verbosos; CSP |
| Vulnerable Components | Scan de dependências (SCA); atualizar; SBOM |
| Auth Failures | MFA; rate limit em login; sessão segura; senha forte |
| Integrity Failures | Verificar assinatura de updates/deserialização segura |
| Logging Failures | Logar eventos de segurança (sem PII/segredo); alertar |
| SSRF | Validar/allowlist URLs de saída; bloquear metadata IP |
Autenticação & autorização
- AuthN (quem é você): senhas com argon2id/bcrypt; MFA; sessões com cookies
HttpOnly,Secure,SameSite; tokens com expiração curta + refresh. Prefira provedores testados (OAuth/OIDC) a rolar o seu. - AuthZ (o que você pode): cheque permissão por recurso no servidor, sempre. O erro nº1 é IDOR —
/orders/123sem verificar se a ordem é do usuário. Nunca confie em esconder botão no front. - Não vaze — mensagens de erro de login iguais para "usuário não existe" e "senha errada".
Validação de input & output
- Input: allowlist (o que é permitido) > denylist. Valide tipo, tamanho, formato no servidor.
- Output: escape por contexto — HTML-encode contra XSS, parametrize contra SQLi, quote contra command injection.
- Upload: valide tipo real (magic bytes), limite tamanho, sirva de domínio isolado, nunca execute.
Threat modeling — STRIDE
Para cada componente, pergunte:
| Letra | Ameaça | Mitigação típica |
| Spoofing | Fingir ser outro | AuthN forte, MFA |
| Tampering | Alterar dados | Integridade, assinatura, authz |
| Repudiation | Negar ação | Logs/auditoria |
| Info disclosure | Vazar dados | Cripto, least privilege |
| Denial of service | Derrubar | Rate limit, timeouts, quotas |
| Elevation of privilege | Ganhar acesso | Authz por recurso, sandbox |
Recursos externos
| Recurso | O que pegar |
| OWASP Top 10 | Os 10 riscos e como mitigar. |
| OWASP Cheat Sheet Series | Guias práticos por tema (authn, session, XSS, upload…). |
| OWASP ASVS | Checklist de verificação por nível. |
| NIST SSDF | Práticas de desenvolvimento seguro. |
| Have I Been Pwned — Pwned Passwords | Bloquear senhas vazadas. |
| Google — BeyondCorp / Zero Trust | Modelo de confiança zero. |
Do / Don't
| Do | Don't |
| Queries parametrizadas | Concatenar input em SQL |
| Authz por recurso no servidor | Esconder botão e confiar no front |
| Segredos em vault, rotacionados | Chave no código/commit |
| Hash argon2/bcrypt | Senha em texto ou MD5/SHA1 |
| Fail closed | Liberar acesso no catch |
Checklist
- Input validado no servidor (allowlist); output escapado por contexto
- Autorização por recurso testada contra IDOR/acesso cruzado
- Senhas com argon2id/bcrypt; MFA; sessão/cookie seguros
- Segredos fora do código, em vault, rotacionáveis
- Dependências escaneadas (SCA) e atualizadas
- Threat model STRIDE dos fluxos sensíveis
- Eventos de segurança logados (sem PII/segredo) e alertados
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

