Aller au contenu
Skillpedia
Sécurité260k · #566

web-pentest

Ce qu’il fait

Ce skill met en place un processus par phases pour tester la sécurité d'une application web dont vous êtes propriétaire ou que vous êtes autorisé à tester. Il s'adresse aux testeurs de sécurité et aux développeurs qui vérifient leurs propres systèmes.

Quand l’utiliser

  • ✓Quand vous avez une autorisation écrite de tester une application web et voulez une revue de sécurité structurée.
  • ✓Quand vous voulez scanner une liste définie d'hôtes et confirmer chaque constat par une preuve reproductible.
  • ✓Quand vous avez besoin d'un rapport écrit de test d'intrusion avec des constats clairs et des étapes de correction.

Lien du skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/security/web-pentest/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/NousResearch/hermes-agent/blob/main/optional-skills/security/web-pentest/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

“Effectue un test d'intrusion autorisé sur mon site de préproduction, et donne-moi un rapport avec les constats et les preuves.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le skill vous fait confirmer par écrit l'autorisation et la liste du périmètre avant tout scan actif. Il lance ensuite le test par phases et ne signale que les constats qui ont une preuve reproductible.

Contenu technique (SKILL.md original)

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

Web Application Penetration Testing

A phased pentesting workflow for running web applications. Adapted from Shannon's pipeline (Keygraph, AGPL — concepts only, no code borrowed). Built around three rules:

  1. No exploit, no report — every finding requires reproducible evidence.
  2. Bounded scope — every active request goes against a target the operator pre-declared. Off-scope hosts are refused.
  3. Bypass exhaustion before false-positive dismissal — a "blocked" payload is not a clean bill of health until you've tried the bypass set.

⚠️ Hard Guardrails — Read Before Every Engagement

Violating any of these invalidates the engagement and may be illegal.

  1. Authorization gate. Before the first active scan in a session, you MUST confirm with the user, in writing, that they own or have written authorization to test the target. Record the acknowledgement in engagement/authorization.md (see template). No acknowledgement → no active scanning. Reading public pages with curl is fine; sending payloads is not.

  2. Scope allowlist. Maintain engagement/scope.txt — one hostname or CIDR per line. Every nmap, curl, whatweb, browser navigation, or payload-bearing request MUST be against an entry in scope. If a target redirects you off-scope (3xx to a different host, a link in HTML), STOP and confirm with the user before following.

  3. No production systems without paper. If the user hasn't told you "yes, prod is in scope and I have written sign-off," assume not. Default targets are staging, local docker, dedicated test instances.

  4. Cloud metadata is off by default. Do not probe 169.254.169.254, metadata.google.internal, 100.100.100.200, [fd00:ec2::254], or equivalent unless the engagement explicitly includes SSRF-to-metadata as a goal AND the target is one you control. The agent's browser tool can reach these from inside your own infrastructure — don't.

  5. Destructive payloads need approval. SQLi payloads that DROP/DELETE, filesystem-write SSTI, command injection with rm/shutdown/mkfs, anything that mutates beyond a single test row → ASK FIRST. The approval.py system catches some; don't rely on it alone.

  6. Aux-client leakage risk (Hermes-specific). This skill produces sessions full of SQLi/XSS/RCE payloads, captured credentials, JWT tokens. Hermes' compression and title-generation paths replay history through the auxiliary client (often the main model). Anything sensitive you write to the conversation can leave the box on the next compress. Mitigation:

    • Redact captured tokens/credentials to the LAST 6 CHARS before logging them in any message. Full values go to engagement/evidence/ files, never into chat history.
    • If the engagement is sensitive, set auxiliary.title_generation.enabled: false in ~/.hermes/config.yaml for the session.
  7. Rate limit yourself. Default 200ms between active requests against any single host. The recon-scan.sh script enforces this. Don't bypass it without operator approval.

  8. Authority of the report. This skill produces a security assessment, not a "PASS." Even a clean run is "no exploitable issues FOUND in scope X within time T using methods Y" — not "the application is secure." Mirror that language in the report.


Phase 0: Engagement Setup

Before any scanning happens, create the engagement directory and authorization acknowledgement.

ENGAGEMENT=engagement-$(date +%Y%m%d-%H%M%S)
mkdir -p "$ENGAGEMENT"/{evidence,findings,reports}
cd "$ENGAGEMENT"
  1. Ask the user (verbatim):

    "Confirm: (a) the target URL is [X], (b) you own this application or have written authorization to test it, and (c) the engagement may run for up to [N] hours starting now. Reply 'authorized' to proceed."

  2. Wait for explicit authorized response. Any other answer means STOP.

  3. Record authorization to engagement/authorization.md using the template in templates/authorization.md. Include:

    • Target URL(s) and IP(s)
    • Authorization basis (ownership / written authz from $name)
    • Engagement window
    • Out-of-scope items (production, third-party services, etc.)
    • Operator name (the user driving this session)
  4. Build scope.txt:

    localhost
    127.0.0.1
    staging.example.com
    192.168.1.0/24    # internal lab only, with operator OK
    
  5. Read `references

Questions fréquentes

L'IA peut-elle scanner sans autorisation ?

Non. Le skill indique qu'aucun scan actif n'est permis tant que vous n'avez pas confirmé par écrit que vous possédez la cible ou que vous êtes autorisé à la tester.

Que se passe-t-il si un site redirige vers un autre hôte ?

Le skill indique que l'IA doit s'arrêter et vous demander confirmation avant de suivre une redirection vers un hôte hors périmètre.

Qu'est-ce qui compte comme constat ?

Le skill indique qu'un constat doit avoir une preuve reproductible, et qu'une charge bloquée n'est pas considérée comme saine tant que des tentatives de contournement n'ont pas été essayées.

Détails

Description originale de l’auteur

Authorized web pentest: recon, proof-based exploits, report.

repo: NousResearch/hermes-agent

Popularité

Étoiles GitHub
260k
Position au classement
#566
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires