Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
aeondave/zapWeb e bug bounty

zap

⁨Auth/lab ref: OWASP ZAP: free open-source web application scanner and intercepting proxy.⁩

v2026.11.13-21cd5683 instalações+3 em 7 dias39 EstrelasApache-2.0sincronizado há 10 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/zap

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
lNf2LlQNmk…W+imPLAw==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacoteb281df65…d1eda0eb
b281df65665c…9046d1eda0eb2 arquivos · ⁦3.8 KB⁩
VarreduraMédio5 achados
  • Link para um IP diretoSKILL.md:155
  • Link para um IP diretoSKILL.md:156
  • Link para um IP diretoreferences/automation-api.md:153
Ver a varredura completa
Fontegithub.com/AeonDave/malskill/tree/main/offensive-tools/web/zap@21cd568

Este item ainda não foi escrito no seu idioma, então aparece em English.

Free web app scanner — active/passive DAST, API scanning, CI/CD integration.

Quick Start

bash
# Docker baseline scan (passive, safe for prod)
docker run --rm zaproxy/zap-stable zap-baseline.py -t https://target.com

# Full active scan
docker run --rm zaproxy/zap-stable zap-full-scan.py -t https://target.com

# API scan (OpenAPI spec)
docker run --rm zaproxy/zap-stable zap-api-scan.py \
    -t https://target.com/openapi.json -f openapi

# Daemon mode
zap.sh -daemon -port 8080 -host 127.0.0.1 -config api.key=MYKEY

Scan Scripts

Script Mode Use
zap-baseline.py Passive only Safe for prod — CI/CD gate
zap-full-scan.py Active (attacks) Comprehensive pentest
zap-api-scan.py Active — API focused OpenAPI / SOAP / GraphQL

zap-baseline.py Flags

Flag Purpose
-t <url> Target URL
-r <file> HTML report output
-J <file> JSON report output
-x <file> XML report output
-a Include alpha-quality passive rules
-d Debug mode
-m <min> Spider duration (default: 1)
-j Use AJAX spider
-z <options> Pass options to ZAP directly
-c <config> Config file for FAIL/WARN overrides

zap-full-scan.py Flags

Flag Purpose
-t <url> Target URL
-r <file> HTML report output
-m <min> Spider duration (minutes)
-z <options> ZAP options (e.g., -config api.key=KEY)
-a Include alpha active rules
-j Use AJAX spider
-l <level> Alert level: PASS / IGNORE / WARN / FAIL
-s <policy> Scan policy

zap-api-scan.py Flags

Flag Purpose
-t <file/url> OpenAPI/SOAP/GraphQL spec (local or URL)
-f <format> Format: openapi / soap / graphql
-r <file> HTML report
-J <file> JSON report
-n <context> Context file

Automation Framework (YAML)

Recommended approach for complex scans:

yaml
# zap-automation.yaml
env:
  contexts:
    - name: Default
      urls:
        - https://target.com
      includePaths:
        - https://target.com.*
  parameters:
    failOnError: true

jobs:
  - type: spider
    parameters:
      maxDuration: 2
      maxDepth: 5

  - type: spiderAjax
    parameters:
      maxDuration: 2

  - type: activeScan
    parameters:
      policy: Default Policy

  - type: report
    parameters:
      template: traditional-html
      reportFile: report.html

  - type: alertFilter
    rules:
      - ruleId: 10016
        newRisk: False Positive
        url: https://target.com/login
bash
zap.sh -cmd -autorun zap-automation.yaml

REST API (Daemon Mode)

bash
ZAP_KEY=your_api_key
ZAP="http://localhost:8080"

# Start scan
curl "$ZAP/JSON/spider/action/scan/?url=https://target.com&apikey=$ZAP_KEY"

# Wait for spider to complete
curl "$ZAP/JSON/spider/view/status/?scanId=0&apikey=$ZAP_KEY"

# Start active scan
curl "$ZAP/JSON/ascan/action/scan/?url=https://target.com&apikey=$ZAP_KEY"

# Check active scan progress
curl "$ZAP/JSON/ascan/view/status/?scanId=0&apikey=$ZAP_KEY"

# Get alerts
curl "$ZAP/JSON/core/view/alerts/?baseurl=https://target.com&apikey=$ZAP_KEY"

# Generate report
curl "$ZAP/OTHER/core/other/htmlreport/?apikey=$ZAP_KEY" -o report.html

Python API

python
from zapv2 import ZAPv2

zap = ZAPv2(apikey='MYKEY',
            proxies={'http': 'http://127.0.0.1:8080',
                     'https': 'http://127.0.0.1:8080'})

# Spider
zap.spider.scan('https://target.com')

# Active scan
zap.ascan.scan('https://target.com')

# Get alerts
alerts = zap.core.alerts(baseurl='https://target.com')
for alert in alerts:
    print(f"{alert['risk']}: {alert['name']} @ {alert['url']}")

Authentication Setup

bash
# Form-based: use Automation Framework
# jobs entry:
# - type: authentication
#   parameters:
#     loginPageUrl: https://target.com/login
#     loginRequestData: username={%username%}&password={%password%}
#     usernameParameter: username
#     passwordParameter: password
#   verification:
#     method: response
#     loggedInRegex: Logout
#     loggedOutRegex: Login

Common Workflows

bash
# CI/CD passive check (no attacks, no false positives)
docker run --rm \
    -v $(pwd):/zap/wrk \
    zaproxy/zap-stable zap-baseline.py \
    -t https://target.com \
    -r baseline_report.html \
    -J baseline.json

# Full scan with JSON report
docker run --rm \
    -v $(pwd):/zap/wrk \
    zaproxy/zap-stable zap-full-scan.py \
    -t https://target.com \
    -r full_scan.html

# OpenAPI scan
docker run --rm \
    -v $(pwd):/zap/wrk \
    zaproxy/zap-stable zap-api-scan.py \
    -t https://target.com/openapi.json \
    -f openapi \
    -r api_report.html

# GraphQL scan
docker run --rm \
    zaproxy/zap-stable zap-api-scan.py \
    -t https://target.com/graphql \
    -f graphql \
    -r graphql_report.html

GitHub Actions

yaml
name: ZAP Security Scan
on: [push]
jobs:
  zap_scan:
    runs-on: ubuntu-latest
    steps:
      - name: ZAP Baseline Scan
        uses: zaproxy/[email protected]
        with:
          target: 'https://target.com'
          rules_file_name: '.zap/rules.tsv'
          cmd_options: '-a'

ZAP vs Burp Suite Pro

ZAP Burp Suite Pro
Cost Free ~$400/yr
CI/CD integration Excellent Good
Manual testing Good Excellent
Active scan accuracy Medium High
API scanning Yes Yes
Extension ecosystem Community BApp Store (commercial)
Use when CI/CD, DevSecOps, API testing Manual pentest, complex apps

Resources

File When to load
references/automation-api.md Automation Framework YAML, REST API usage, Python client, CI/CD patterns

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellSimSim
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. MédiaLink · Link para um IP diretoSKILL.md:155
  2. MédiaLink · Link para um IP diretoSKILL.md:156
  3. MédiaLink · Link para um IP diretoreferences/automation-api.md:153
  4. MédiaLink · Link para um IP diretoreferences/automation-api.md:153
  5. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v2026.11.13-21cd56813 de nov. de 202621cd568b281df65Assinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login