본문으로 건너뛰기
Skillpedia
보안260k · #566

web-pentest

하는 일

이 스킬은 자신이 소유하거나 테스트해도 되는 웹 애플리케이션의 보안을 테스트하는 단계별 과정을 설정합니다. 자신의 시스템을 점검하는 보안 테스터와 개발자를 위한 것입니다.

사용하는 경우

  • ✓웹 애플리케이션을 테스트할 서면 허가가 있고 구조화된 보안 검토를 원할 때.
  • ✓정해진 호스트 목록을 스캔하고 각 발견 사항을 재현 가능한 증거로 확인하고 싶을 때.
  • ✓명확한 발견 사항과 수정 방법이 담긴 서면 침투 테스트 보고서가 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/security/web-pentest/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 스테이징 사이트에 권한이 있는 침투 테스트를 실행하고, 발견 사항과 증거가 담긴 보고서를 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 능동적 스캔 전에 서면 허가와 범위 목록을 확인하도록 합니다. 그다음 단계별로 테스트를 실행하고, 재현 가능한 증거가 있는 발견 사항만 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

AI가 허가 없이 스캔할 수 있나요?

아니요. 스킬은 대상을 소유하거나 허가받았다고 서면으로 확인하기 전까지 능동적 스캔을 허용하지 않습니다.

사이트가 다른 호스트로 리디렉션하면 어떻게 하나요?

스킬은 범위 밖 호스트로의 리디렉션을 따르기 전에 AI가 멈추고 사용자에게 확인해야 한다고 말합니다.

무엇을 발견 사항으로 보나요?

스킬은 발견 사항에 재현 가능한 증거가 필요하며, 차단된 페이로드는 우회를 시도하기 전까지 안전하다고 보지 않는다고 말합니다.

상세 정보

작성자의 원본 설명

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

repo: NousResearch/hermes-agent

인기도

GitHub 스타
260k
순위
#566
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬