find-security-vulnerabilities-in-code
Ce qu’il fait
Ce skill examine le code source à la recherche de faiblesses de sécurité et tente d'exploiter chacune d'elles. Il s'adresse aux développeurs et aux relecteurs de sécurité qui veulent une courte liste de problèmes confirmés.
Quand l’utiliser
- ✓Quand quelqu'un veut une revue de sécurité d'un dépôt ou d'un service avant une mise en production.
- ✓Quand le code gère des connexions, des permissions ou des données utilisateur et doit être vérifié.
- ✓Quand une longue liste d'alertes de scanner doit être réduite aux problèmes réels.
Lien du skill
https://github.com/usestrix/strix/blob/main/skills/find-security-vulnerabilities-in-code/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Pouvez-vous examiner notre code backend à la recherche de problèmes de sécurité ? Je veux seulement les problèmes que vous pouvez confirmer comme réellement exploitables.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lit le code pour connaître ses routes et ses contrôles d'accès, puis tente de vraies attaques dans un bac à sable de test. Chaque problème signalé est accompagné d'une preuve de concept fonctionnelle.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Find security vulnerabilities in code
White-box security review with Strix: the agents read the source to build a model of routes, sinks, and authorization checks, then attempt real exploitation. Findings come with a proof-of-concept, so the output is a short list of proven issues rather than the hundreds of "potential" hits a pattern-matching scanner produces.
Install, LLM setup, all flags, and the managed-cloud path are in the penetration-testing-with-strix skill. For a run with no Docker and no LLM key, the same binary drives the managed platform: strix cloud login, then strix cloud scans start ... (details in managed-pentesting-with-strix).
Run it
# Local working tree
strix -n -t ./ --scan-mode standard --max-budget 15
# A GitHub repo directly
strix -n -t https://github.com/org/app --max-budget 15
# Monorepo: point at the service that matters, not the whole tree
strix -n -t ./services/checkout --max-budget 20
# Only what a branch changed (whole-repo review is wasteful on a large repo)
strix -n -t ./ --scope-mode diff --diff-base origin/main --max-budget 10
A local path is mounted into the sandbox writable, so the agents can modify it. Run against a clean checkout.
Two things sharply improve results:
- Add a running instance of the app.
-t ./ -t http://host.docker.internal:3000lets the agents confirm exploitability against live behavior instead of reasoning about it statically — this is the difference between "this looks unsafe" and a validated finding. If nothing is running, static-only findings should be described as unconfirmed. - Scope the review. Point at the risky subtree and say what matters:
Tenancy model, trust boundaries, and which inputs are attacker-controlled are things the agents cannot infer reliably — tell them.strix -n -t ./services/api --max-budget 15 \ --instruction "Focus on the authorization layer in src/auth and every route under src/routes/admin. Multi-tenant app: tenant id comes from the JWT. Flag any query that filters by object id without also filtering by tenant."
Reviewing a pull request instead of the whole repo
For diff-scoped review of a branch or PR (and blocking merges on findings), use ci-security-scanning-with-strix — it covers diff scoping, PR comments, and SARIF upload to GitHub code scanning. The managed platform can also review PRs directly via API (managed-pentesting-with-strix).
Read the results
In strix_runs/<run>/: penetration_test_report.md (start here), vulnerabilities/*.md (one per finding, with PoC and remediation), vulnerabilities.json / .csv, findings.sarif (upload to code scanning), run.json.
Before reporting to the user, open each finding and check the PoC actually demonstrates impact. Report file and line alongside the exploit so the fix is obvious.
Exit 0 means nothing exploitable was proven in what was analyzed — not that the codebase is clean. Check run.json status and cost against --max-budget, and note which paths went unreviewed if the run was capped.
Complementary tooling
This is exploit-validated review, not an exhaustive inventory. Keep a dependency scanner (SCA) and secret scanning in place for complete coverage of known-CVE dependencies and committed credentials; use this for the logic, authorization, and injection bugs those tools structurally cannot find.
Fix and verify
Hand results to fix-security-vulnerabilities-with-strix: patch the root cause (the shared authorization helper, not the one route), then re-run Strix to prove the exploit no longer works.
Questions fréquentes
Quels types de problèmes recherche-t-il ?
Le skill cite l'injection, le cross-site scripting, la falsification de requête côté serveur, le contrôle d'accès défaillant et l'IDOR.
Faut-il l'exécuter sur une copie propre du code ?
Oui. Le skill indique qu'un dossier local est monté en écriture, afin que les agents puissent le modifier, et recommande une copie propre.
Peut-il ne vérifier que ce qui a changé ?
Oui. Le skill décrit un mode diff qui ne revoit que ce qu'une branche a modifié, ce qui convient aux grands dépôts.
Détails
Description originale de l’auteur
Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy static-analysis alert. Covers injection, XSS, SSRF, broken access control and IDOR, insecure deserialization, secrets in code, unsafe dependencies, and business-logic flaws. Use when the user asks to security-scan, security-review, or audit their code, repo, or pull request for vulnerabilities
repo: usestrix/strix
Popularité
- Étoiles GitHub
- 73k
- Position au classement
- #3098
- Licence
- Apache-2.0
- Mis à jour
- 30/10/2026
Commentaires
- …
Autres skills de ce dépôt
api-security-testing
73kMontre à votre agent comment tester la sécurité d'une API REST, GraphQL ou gRPC avec Strix, en se concentrant sur les failles d'autorisation et les autres risques du OWASP API Top 10.
application-security-testing
73kAide votre agent à planifier les tests de sécurité d'un produit complet, en choisissant le bon test pour chaque partie, en les exécutant et en classant les correctifs selon le risque réel.
ci-security-scanning-with-strix
73kMontre à votre agent comment ajouter un scan de sécurité automatique aux pull requests, pour que le code risqué soit signalé avant d'être fusionné.
fix-security-vulnerabilities-with-strix
73kAide votre agent à transformer les résultats de sécurité confirmés en corrections ciblées du code, puis à relancer les tests pour prouver que chaque attaque ne fonctionne plus.
Skills similaires
reverse-engineer-anything
422kAide votre agent à analyser les applications et paquets livrés, pour expliquer leurs fonctions, comparer des versions ou guider une reconstruction, avec REA.
1password
394kAide votre agent à configurer l'interface en ligne de commande de 1Password, à se connecter, et à lire ou injecter des secrets sans afficher leurs valeurs dans le chat.
healthcheck
394kAide votre agent à auditer l'ordinateur ou le serveur qui fait tourner OpenClaw pour détecter des risques de sécurité, comme SSH, le pare-feu, les mises à jour et les sauvegardes, puis à proposer des corrections sûres.