feat: exemplos OWASP e marketing pack#5
Merged
Conversation
…ersal) Cada exemplo inclui: - vulnerable.py: código com a vulnerabilidade e comentários explicando o risco - hardened.py: versão segura com comentários explicando a correção - README.md: contexto do ataque, fix e como ShieldCode previne em Claude Code Cenários cobertos: SQL Injection, XSS, SSRF e Path Traversal (FastAPI/Python)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que este PR inclui
Exemplos OWASP (4 cenários completos)
Cada exemplo tem
vulnerable.py,hardened.pyeREADME.mdexplicando o ataque e a correção:examples/sql-injection/: SQL Injection via concatenação de string em FastAPIexamples/xss/: Cross-Site Scripting em template renderingexamples/ssrf/: Server-Side Request Forgery em endpoint de fetch externoexamples/path-traversal/: Path Traversal em download de arquivosMelhorias de marketing
README.md: esclarecimento que ShieldCode é uma skill do Claude Code, não um pacote npm/pipdocs/blog-post-pt.md: artigo técnico sobre OWASP Top 10 e como ShieldCode previne vulnerabilidadesdocs/x-thread-pt.md: thread de 7 tweets em portuguêsdocs/linkedin-post-pt.md: post para LinkedIn em portuguêsComo usar os exemplos
Contexto
ShieldCode é uma skill do Claude Code instalada via
bash install.sh. Os exemplos mostram o tipo de código que ShieldCode instrui Claude a nunca gerar.