Логотип Web App Scanner

Web App Scanner

Сообщество
ptn1411
web-app-scanner

Авторизованное тестирование веб-приложений из CLI: локальный аудит исходного кода и конфигурации перед развёртыванием, перечисление поддоменов, пассивная разведка, активные проверки уязвимостей без внесения изменений и контролируемое тестирование на SQL-инъекции. Используйте этот навык для проверки секретов развёртывания, артефактов фронтенд-сборки и карт исходного кода, настроек администратора по умолчанию, уязвимых для XSS участков статического кода или авторизованной веб-инфраструктуры в эксплуатации.

Add to TypingMind

Обзор

Издательptn1411
Репозиторийskill
Название навыкаweb-app-scanner
Звёзды
275
Форки
133
Файлы в комплекте
21
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 21

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — ptn1411. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Web App Scanner в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/ptn1411/skill/tree/main/web-app-scanner
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptn1411/skill.git /tmp/skill
mkdir -p .claude/skills
cp -r /tmp/skill/web-app-scanner .claude/skills/web-app-scanner
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Web App Scanner в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Web App Scanner, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Web App Scanner не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Web App Scanner

CLI web application assessment for authorized targets. Includes a read-only local pre-deploy audit for secrets, frontend builds, source maps, admin defaults, and static XSS sinks, plus subdomain mapping, passive recon, non-destructive active checks, optional nuclei/ffuf, and guarded SQL injection testing.

Language rule: All skill instructions use English. Final summary presented to the user must be in Vietnamese.

Fastest path — whole system. For "scan the entire system / all subdomains", run the orchestrator: it enumerates subdomains, keeps the web-alive ones, and runs passive recon + active vuln checks on each, then aggregates one report.

powershell
python web-app-scanner\scripts\scan_all.py example.com --active --crawl 1 --authorized --out output\scan

Read output\scan\FINDINGS_ALL.md. Steps 1–5 below are the individual stages if you want to run them one at a time.


0. Authorization & Routing

Operates under MASTER_POLICY.md §1-§2.

Scope gate — required. Test only web apps you own or are explicitly authorized to assess (written engagement, bug-bounty scope in-scope asset, CTF, or your own lab). Passive recon and passive subdomain sources (crt.sh/subfinder) are low-impact; anything that sends probes to the target — active vuln checks (web_recon.py --active), link crawling, DNS brute (subdomain_enum.py --brute), and SQLi testing (sqli_test.py) — is intrusive and requires the explicit --authorized flag. If scope is unclear, ask one concise question first. Never point these at third-party sites without authorization.

Sibling skillWhen
network-scannerFind which hosts/ports serve the web app
network-interceptorCapture the app's API/auth traffic
pentest-script-generatorTurn a confirmed finding into a PoC/verify script
container-cloud-auditorAudit the hosting config behind the app

Step 0 — Environment check

powershell
python web-app-scanner\scripts\scan_all.py --check
python web-app-scanner\scripts\deploy_audit.py --check
python web-app-scanner\scripts\brain_python_library.py --check
python web-app-scanner\scripts\subdomain_enum.py --check
python web-app-scanner\scripts\web_recon.py --check
python web-app-scanner\scripts\sqli_test.py --check

Native recon + subdomain enum + active checks need only Python. Optional tools:


Pre-deploy source audit (local, read-only)

Run this against the application source tree before deploying:

powershell
python web-app-scanner\scripts\deploy_audit.py C:\path\to\project --out output\deploy-audit --fail-on high

The audit writes FINDINGS.md and findings.json and checks:

  • Deploy .env* values for empty/default/example secrets, values shorter than 32 characters, repeating or sequential patterns, low estimated randomness, and weak or empty credentials embedded in common database/service URLs. Reports include only the key name, component, length, and reason; secret values are never emitted.
  • Frontend projects for a missing or empty production build (dist, build, .next, or out), emitted .map files, sourceMappingURL references, and production-effective Vite/Webpack/Next/Vue/Angular/CRA settings that enable source maps, including hidden/inline and Angular object forms. Development-only settings are ignored.
  • Admin credentials in env and seed/config files for common defaults, password=username, short passwords, and weak character variety. Hashes and runtime secret references are not treated as plaintext passwords.
  • Client-side XSS risk sinks such as dangerouslySetInnerHTML, innerHTML=, v-html, document.write, Angular sanitizer bypasses, dynamic eval, and unescaped template output.

--fail-on high returns exit code 1 after writing reports when a high or critical finding exists, which is suitable for a deployment gate. Omit it for report-only mode.

Static XSS findings are marked review-required: trace whether untrusted data reaches the sink. Confirm runtime reflected XSS separately with the authorized active checks below.


Reusable Python library

Before writing a one-off Python helper, search the in-project archive:

powershell
python web-app-scanner\scripts\brain_python_library.py search "source map"
python web-app-scanner\scripts\brain_python_library.py search xss --json
python web-app-scanner\scripts\brain_python_library.py search admin --status all
python web-app-scanner\scripts\brain_python_library.py verify

The bundled catalog is python-library\index.json; copied source is under python-library\files\. Search results include a generated purpose description, categories, imports, public symbols, safety signals, and one of these reuse levels:

  • direct — has a CLI/main guard and no detected target-specific settings.
  • adapt — useful code that needs paths, arguments, or integration adjusted.
  • reference-only — contains active networking or destructive capabilities; inspect and extract logic rather than running it unchanged.
  • do-not-run — metadata only; the source was not copied because static analysis found a hardcoded sensitive value, invalid syntax, or a module-scope call outside the conservative pure-data allowlist.

Never execute a result solely because it appears in the catalog. Read the file, confirm authorization for any target interaction, and prefer extracting a function over launching a historical scratch script. To refresh the bundled archive from the local Antigravity brain:

powershell
python web-app-scanner\scripts\brain_python_library.py sync

The sync parser never imports source files. Run verify after a refresh to validate the schema, file set, and every copied SHA-256. See references/brain_python_library.md for schema and safety rules.


Step 1 — Subdomain enumeration (map the estate)

Discover subdomains and which of them serve a live web app:

powershell
python web-app-scanner\scripts\subdomain_enum.py example.com --out output\subs
  • Passive by default: crt.sh Certificate Transparency + subfinder (if installed). Low-impact, but note crt.sh receives the target domain name.
  • Add --takeover to flag dangling-CNAME subdomain takeover — CNAME points to a decommissioned service (GitHub Pages, S3, Heroku, Azure, Fastly, Shopify, CloudFront, Vercel, Netlify, Tumblr, WordPress, Tilda, Help Scout, …) with an unclaimed-resource fingerprint; also reports stale DNS verification tokens (_github-pages-challenge, asuid, _dnsauth, …).
  • Add DNS brute force (active — sends DNS queries to the target zone, needs --authorized):
powershell
python web-app-scanner\scripts\subdomain_enum.py example.com --brute wordlist.txt --authorized --out output\subs

Writes SUBDOMAINS.md + subdomains.json (host, IP, live URL, status). Feed the web-alive URLs into Step 2/3.


Step 2 — Passive recon (no install)

powershell
python web-app-scanner\scripts\web_recon.py https://app.local --out output\web

Checks and reports:

  • Missing security headers: CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy.
  • Cookie flags: Secure / HttpOnly / SameSite.
  • TLS protocol version + certificate summary (flags TLS < 1.2).
  • CORS reflection (echoed Origin, * + credentials).
  • Tech disclosure via Server / X-Powered-By.

Step 3 — Active vulnerability checks (non-destructive, authorized only)

Detection-only probes for real app-layer bugs — exposed .git/.env/backups & security.txt, reflected XSS, open redirect, path traversal (LFI), header injection (CRLF), SSTI ({{a*b}} evaluated server-side), SSRF (url-param fetching 169.254.169.254 cloud metadata), directory listing. Advanced CORS bypass tests (null origin, arbitrary-subdomain / prefix / suffix trust) run in Step 2's passive recon. Add --crawl to walk same-host links and test every discovered endpoint:

powershell
python web-app-scanner\scripts\web_recon.py https://app.local --active --crawl 1 --authorized --out output\web
  • Requires --authorized (sends probes to the target). Every check is detection-only: benign markers, no data dumped, no state changed.
  • SSRF probes AWS IMDSv1 plus decimal/hex/IPv6-mapped encodings (defeat naive IP filters), Azure/GCP metadata, and file://. For blind SSRF, add --ssrf-callback https://<your-oast>/ to fire an out-of-band probe you then verify on your collaborator.
  • --crawl DEPTH discovers URLs (params-first); --max-pages caps the crawl.
  • Run one URL directly with vuln_checks.py "<url>" --authorized for a quick single-endpoint check.

Optional external tools — template scan + content discovery when installed:

powershell
python web-app-scanner\scripts\web_recon.py https://app.local --nuclei --ffuf wordlist.txt --out output\web

Tool output is saved under output\web\ and referenced from FINDINGS.md.


Step 4 — SQL injection testing (guarded, authorized only)

Detection with safe defaults (--level 1 --risk 1 --batch):

powershell
python web-app-scanner\scripts\sqli_test.py "https://app.local/item?id=1" --authorized --out output\sqli

From a saved Burp request:

powershell
python web-app-scanner\scripts\sqli_test.py --request req.txt --authorized --out output\sqli

Guardrails:

  • Refuses to run without --authorized.
  • Blocks data-dump / OS-takeover switches (--dump*, --os-shell, --file-read, --sql-shell, ...) unless --allow-exploit is set — for documented, authorized engagements only. This skill's purpose is confirming and fixing SQLi, not exfiltrating data.

Raise depth when needed: --level 3 --risk 2.


Step 5 — Report & remediate

scan_all.py writes output\scan\FINDINGS_ALL.md + findings_all.json — a severity-ranked, per-host roll-up across the whole estate (plus per-host FINDINGS.md under output\scan\hosts\). A single-host web_recon.py run writes FINDINGS.md + findings.json. For SQLi, review sqlmap's session output for injectable parameters, DBMS, and technique.

The local pre-deploy audit writes output\deploy-audit\FINDINGS.md + findings.json. Treat static source findings as review leads and build-artifact findings as deploy blockers according to the selected --fail-on threshold.

Add to the defensive fixes below:

  • Exposed .git/.env/backups → remove from web root; rotate any leaked secrets; block dotfiles at the web server.
  • Reflected XSS → contextual output encoding + CSP.
  • Open redirect → allow-list redirect targets; never reflect a raw URL param into Location.
  • Path traversal / LFI → canonicalize and allow-list file paths; never pass user input to file APIs.
  • Header injection / CRLF → strip/reject CR & LF in any user input reflected into headers; use the framework's header API.
  • SSTI → never render user input as a template; use logic-less templates / strict sandboxing and pass data as context, not source.
  • SSRF → allow-list outbound hosts, block link-local/metadata ranges (169.254.0.0/16, RFC1918), enforce IMDSv2, resolve-then-validate.
  • Subdomain takeover → remove dangling DNS records for decommissioned services; claim or delete the CNAME target.
  • CORS → reflect only an explicit allow-list of origins; never combine reflected/null origin with Access-Control-Allow-Credentials: true.

Defensive fixes to recommend:

  • SQLi → parameterized queries / prepared statements, ORM binding, least-privilege DB accounts, input allow-listing.
  • Headers/cookies → add the missing headers; set Secure/HttpOnly/SameSite.
  • TLS → enforce ≥ 1.2, valid cert, HSTS.
  • CORS → explicit trusted origins; never */reflected origin with credentials.

See references/web_checklist.md for the full checklist.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Web App Scanner?

Авторизованное тестирование веб-приложений из CLI: локальный аудит исходного кода и конфигурации перед развёртыванием, перечисление поддоменов, пассивная разведка, активные проверки уязвимостей без внесения изменений и контролируемое тестирование на SQL-инъекции. Используйте этот навык для проверки секретов развёртывания, артефактов фронтенд-сборки и карт исходного кода, настроек администратора по умолчанию, уязвимых для XSS участков статического кода или авторизованной веб-инфраструктуры в эксплуатации.

Зачем использовать Web App Scanner в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Web App Scanner — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Web App Scanner в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/ptn1411/skill/tree/main/web-app-scanner. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Web App Scanner?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Web App Scanner?

С любым количеством. В TypingMind вы можете использовать Web App Scanner с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Web App Scanner?

Навык опубликован на GitHub. Издатель — ptn1411. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇