Zum Inhalt springen
Skillpedia
Sicherheit260k · #566

web-pentest

Was er macht

Dieser Skill legt einen phasenweisen Ablauf fest, um die Sicherheit einer Webanwendung zu testen, die dir gehört oder die du testen darfst. Er ist für Sicherheitstester und Entwickler gedacht, die eigene Systeme prüfen.

Wann du ihn nutzt

  • ✓Wenn du eine schriftliche Erlaubnis hast, eine Webanwendung zu testen, und eine strukturierte Sicherheitsprüfung willst.
  • ✓Wenn du eine festgelegte Liste von Hosts scannen und jeden Befund mit wiederholbaren Belegen bestätigen willst.
  • ✓Wenn du einen schriftlichen Penetrationstest-Bericht mit klaren Befunden und Schritten zur Behebung brauchst.

Link zum Skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/security/web-pentest/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/security/web-pentest/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Führe einen autorisierten Penetrationstest auf meiner Staging-Seite durch und gib mir einen Bericht mit den Befunden und Belegen.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill lässt dich vor jedem aktiven Scan eine schriftliche Autorisierung und eine Liste des Prüfumfangs bestätigen. Dann führt er den Test in Phasen aus und meldet nur Befunde, die sich reproduzieren lassen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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

Häufige Fragen

Kann die KI ohne Erlaubnis scannen?

Nein. Der Skill sagt, aktives Scannen ist nicht erlaubt, bevor du schriftlich bestätigst, dass du das Ziel besitzt oder autorisiert bist.

Was passiert, wenn eine Seite auf einen anderen Host weiterleitet?

Der Skill sagt, der Agent muss anhalten und mit dir abstimmen, bevor er einer Weiterleitung auf einen Host außerhalb des Umfangs folgt.

Was zählt als Befund?

Der Skill sagt, ein Befund braucht reproduzierbare Belege. Ein blockierter Angriffsversuch gilt erst als sauber, wenn Umgehungsversuche getestet wurden.

Details

Originalbeschreibung des Autors

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

repo: NousResearch/hermes-agent

Beliebtheit

GitHub-Sterne
260k
Platz im Ranking
#566
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills