소스 정보
- 저장소
- AeonDave/malskill
- 최근 소스 활동
- 2026년 6월 3일 13:09
- 감지된 SKILL.md 언어
- 영어
- 스타
- 18
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/AeonDave/malskill --skill zap명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | zap |
| description | Auth/lab ref: OWASP ZAP: free open-source web application scanner and intercepting proxy. |
| license | Apache-2.0 |
| compatibility | Linux / macOS / Windows; Java 11+. |
| metadata | {"author":"AeonDave","version":"1.1"} |
Free web app scanner — active/passive DAST, API scanning, CI/CD integration.
# 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
| 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 |
| 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 |
| 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 |
| 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 |
Recommended approach for complex scans:
# 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:
zap.sh -cmd -autorun zap-automation.yaml
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
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']}")
# 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
# 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
name: ZAP Security Scan
on: [push]
jobs:
zap_scan:
runs-on: ubuntu-latest
steps:
- name: ZAP Baseline Scan
uses: zaproxy/action-baseline@v0.12.0
with:
target: 'https://target.com'
rules_file_name: '.zap/rules.tsv'
cmd_options: '-a'
| 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 |
| File | When to load |
|---|---|
references/automation-api.md | Automation Framework YAML, REST API usage, Python client, CI/CD patterns |