Aller au contenu
Skillpedia
Sécurité5.5k · #14782

argus

Ce qu’il fait

Cette compétence apprend à un agent à lancer un ensemble de scanners de sécurité contre une application web ou une API. Chaque scanner cible une classe de faiblesse courante et signale ce qu'il trouve.

Quand l’utiliser

  • ✓Quand un testeur de sécurité doit vérifier qu'une API n'a pas des paramètres d'accès inter-origine trop ouverts.
  • ✓Quand un testeur dispose d'un jeton JWT et veut le vérifier pour les erreurs de signature courantes.
  • ✓Quand un testeur soupçonne une injection aveugle et a besoin d'une confirmation hors bande.

Lien du skill

https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/argus/SKILL.md

Copiez-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

Utilise ce skill pour m’aider : https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/argus/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Scanne mon API de test pour détecter les faiblesses CORS et JWT, et liste ce que tu trouves.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent associe ce qu'il observe sur la cible au bon scanner, le lance avec l'adresse de la cible et tout cookie de connexion, puis résume les résultats. Chaque résultat est étiqueté par gravité.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

ARGUS — THE ALL-SEEING SCANNER SUITE

Named for Argus Panoptes, the hundred-eyed giant. Six "eyes" that surface what ordinary scans miss: two of the most common web2 classes (CORS, CRLF), the NoSQL "db" surface, JWT forging, blind-bug confirmation via OOB (the eye that sees the invisible — unblocks an entire severity band), and automated LLM red-teaming. All pure-Python, no new deps. Core logic is offline-testable.


0. ROUTING — which tool for what

Signal on the target Tool / command
API reflects Origin, or ACAO/ACAC headers seen /cors
Param reaches a redirect / Location / log / response header /crlf
JSON login or {user,pass} body, Mongo/Mongoose stack /nosqli
Authorization: Bearer ey... / JWT in cookie or storage /jwt-scan
Suspected blind SSRF/XXE/SQLi/RCE (no in-band signal) /oob
Chatbot / agent / LLM feature /llm-redteam

1. CORS — /cors

bughunter/tools/cors_scanner.py https://api.target.com/me --cookie "session=..."
bughunter/tools/cors_scanner.py -l recon/target.com/urls/api.txt --json

Sends crafted Origin headers, classifies Access-Control-Allow-Origin / Access-Control-Allow-Credentials:

  • CRITICAL — reflects attacker origin with ACAC: true → cookie-auth'd cross-origin read (account-data exfil).
  • HIGH — null origin trusted with credentials.
  • MEDIUM — reflects without creds (exploitable when auth = non-cookie token), or trusts http downgrade.
  • Probes suffix/prefix regex bypass (target.com.evil, notarget.com) and subdomain trust (chains with takeover).

Always pass --cookie with a live session — the credentialed path is the win.

2. CRLF / host-header — /crlf

bughunter/tools/crlf_scanner.py "https://target.com/r?u=x" --host-header

Injects encoded CRLF (%0d%0a, double-encoded, UTF-8 overlong %E5%98%8A%E5%98%8D) trying to land Set-Cookie: crlftest=1 in the response. --host-header also tests Host / X-Forwarded-Host / Forwarded injection and flags attacker-host reflection in Location (password-reset poisoning). Impact: session fixation, open redirect, cache poisoning, reset poisoning.

urllib strips raw \r\n from URLs by design — the encoded variants are what actually go on the wire.

3. NoSQL injection — /nosqli

bughunter/tools/nosqli_scanner.py --login https://t/api/login --user-field email --pass-field password
bughunter/tools/nosqli_scanner.py --query "https://t/api/items?id=1"   # emits bracket variants
  • Operator auth-bypass: {"email":{"$ne":null},"password":{"$ne":null}}
  • Bracket syntax (Express/qs): email[$ne]=&password[$ne]=
  • $where time-based blind: {"$where":"sleep(5000)"} → server-side JS eval = CRITICAL

Sends a wrong-credential baseline first, flags a finding when status flips 401→200, body length jumps >25%, or the $where payload delays the response ≥3.5 s.

4. JWT attacks — /jwt-scan (offline)

bughunter/tools/jwt_scanner.py "$TOKEN" --analyze
bughunter/tools/jwt_scanner.py "$TOKEN" --alg-none --set role=admin
bughunter/tools/jwt_scanner.py "$TOKEN" --confuse --public-key jwks_pub.pem --set role=admin
bughunter/tools/jwt_scanner.py "$TOKEN" --crack --wordlist secrets.txt
  • --alg-none — strip signature, set alg to none/None/NONE/nOnE.
  • --confuse — RS256→HS256: re-sign with the server's public key as HMAC secret.
  • --crack — brute the HS256 secret.
  • --analyze — flags alg=none, missing exp, trust-bearing claims (role/is_admin/scope), kid (probe for traversal/SQLi).

Get the public key from /.well-known/jwks.json or /jwks.json. Replay the forged token against an authed endpoint — acceptance = auth bypass / privesc.

5. Out-of-band confirmation — /oob ⭐

The highest-leverage tool. Confirms blind bugs that have no in-band signal by correlating interactsh callbacks to the firing payload.

# 1. listener (prints your OOB domain, streams interactions)
bughunter/tools/oob_listener.py --listen > inter.jsonl
# 2. payloads embedding a unique marker per injection point
bughunter/tools/oob_listener.py --payloads cXXXX.oast.fun --json > payloads.json
# 3. correlate received callbacks
bughunter/tools/oob_listener.py --correlate inter.jsonl --payloads-file payloads.json

Covers blind SSRF, XXE (incl. OOB-DTD exfil), SQLi (MSSQL xp_dirtree / MySQL LOAD_FILE / Oracle

Questions fréquentes

Ai-je besoin d'outils supplémentaires ?

La compétence indique que les scanners sont en Python pur et n'ont besoin d'aucune nouvelle dépendance.

Quels types de faiblesses couvre-t-elle ?

Elle couvre la mauvaise configuration inter-origine, l'injection CRLF et d'en-tête d'hôte, l'injection NoSQL, les attaques JWT, la confirmation hors bande et le red-teaming de LLM.

Peut-elle tester des pages derrière une connexion ?

Oui. La compétence montre comment transmettre un cookie de session au scanner.

Détails

Description originale de l’auteur

Argus — the all-seeing scanner suite. Six automated scanners for high-value web + LLM bug classes — CORS misconfiguration (origin reflection / null / credentialed read), CRLF & host-header injection, NoSQL injection (operator auth-bypass / $where blind), JWT attacks (alg:none / RS256→HS256 confusion / secret crack), out-of-band confirmation of blind SSRF/XXE/SQLi/RCE/Log4Shell via interactsh, and an LLM red-team corpus (prompt-injection / jailbreak / system-prompt leak / exfil / indirect injection). Use when a target exposes a JSON API, a login endpoint, JWT auth, a parameter that might reach

repo: awarexone/Agentic-Bug-Hunter

Popularité

Étoiles GitHub
5.5k
Position au classement
#14782
Licence
MIT
Mis à jour
28/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires