whatweb-scan

whatweb-scan is a skill for Claude Code from mahuttha/offensive-recon. It costs 47 tokens per session (1,072 once invoked), scanned B, original, MIT.

A website-technology identification add-on that uses WhatWeb to detect a site’s content-management system, frameworks, server software, and JavaScript libraries.

In plain words
What is it for?
Use it to fingerprint one or more websites, identify their technology stack, and save structured scan results.
Why use it?
It quickly shows what technologies a website appears to use, helping you understand an unfamiliar site before further work. Higher scan levels send more requests and require approval.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the offensive-recon plugin — 8 skills, 1 hook shipped together

Good fit Use it to fingerprint one or more websites, identify their technology stack, and save structured scan results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mahuttha/offensive-recon/whatweb-scan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mahuttha/offensive-recon --skill whatweb-scan
Clone the repo
git clone --depth 1 https://github.com/mahuttha/offensive-recon

Made for: Claude Code.

Or install offensive-recon, the plugin that ships this one along with the rest of its 8 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for whatweb-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahuttha/offensive-recon/whatweb-scan/github.svg)](https://agentmods.dev/skills/mahuttha/offensive-recon/whatweb-scan)
Your own site
<a href="https://agentmods.dev/skills/mahuttha/offensive-recon/whatweb-scan"><img src="https://agentmods.dev/badge/skills/mahuttha/offensive-recon/whatweb-scan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for whatweb-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahuttha/offensive-recon/whatweb-scan"><img src="https://agentmods.dev/badge/skills/mahuttha/offensive-recon/whatweb-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01072
Opus 5 $0.00023 $0.00536
Sonnet 5 $0.00009 $0.00214
Haiku 4.5 $0.00005 $0.00107

Measured 10d ago against content hash 42ab3f2e4dde, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

whatweb-scan scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- If whatweb not found: "WhatWeb is not installed. Install with: `sudo apt install whatweb`"
skills/whatweb-scan/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WhatWeb Scan — Technology Fingerprinting

Identify web technologies, CMS platforms, frameworks, and server software using WhatWeb.

Decision Loop: Out-of-Loop at level 1 (passive), In-the-Loop at level 3-4 (aggressive)

Safety

Aggression Level Behavior Approval
1 (Stealthy) Single HTTP request Not required
2 (Unused) Not used
3 (Aggressive) Multiple requests, follow links Required
4 (Heavy) Many requests, test all plugins Required — may trigger alerts

For level 3-4, confirm with user before scanning.

Arguments

Parse the user's input for:

  • <target-url> — URL to fingerprint (REQUIRED)
  • --aggression — Aggression level 1-4 (default: 1)

Execution

# Single target
whatweb -a <aggression> --log-json=/tmp/whatweb-output.json "<target-url>" 2>&1 | tee /tmp/whatweb-console.txt

# Multiple targets from file
whatweb -a <aggression> --log-json=/tmp/whatweb-output.json -i /tmp/targets.txt 2>&1

# With verbose output
whatweb -a <aggression> -v --log-json=/tmp/whatweb-output.json "<target-url>" 2>&1

Output Format

Parse the WhatWeb output and present:

## ผลการสแกน WhatWeb (WhatWeb Scan Results)

### ข้อมูลเป้าหมาย (Target Info)
- **เป้าหมาย (Target)**: `<target-url>`
- **ระดับ (Aggression)**: 1 (Stealthy)
- **เวลา (Time)**: <timestamp>

### เทคโนโลยีที่ตรวจพบ (Detected Technologies)

| Category | Technology | Version | Details |
|----------|-----------|---------|---------|
| Web Server | Apache | 2.4.52 | Ubuntu |
| CMS | WordPress | 6.4.2 | — |
| Language | PHP | 8.1.2 | — |
| JavaScript | jQuery | 3.7.1 | — |
| CSS Framework | Bootstrap | 5.3.2 | — |
| CDN | Cloudflare | — | — |
| Analytics | Google Analytics | GA4 | — |

### เซิร์ฟเวอร์ (Server Details)
- **HTTP Server**: Apache/2.4.52 (Ubuntu)
- **X-Powered-By**: PHP/8.1.2
- **Cookies**: PHPSESSID (HttpOnly: No, Secure: No)
- **Headers**: X-Frame-Options: SAMEORIGIN

### ความเสี่ยงจากเทคโนโลยี (Technology Risks)

| Technology | Risk | Note |
|-----------|------|------|
| PHP 8.1.2 | MEDIUM | End of security support |
| jQuery 3.7.1 | LOW | Check for known XSS |
| Missing HSTS | MEDIUM | No Strict-Transport-Security |

### สรุป (Summary)
- เทคโนโลยีที่พบ (Technologies found): X
- เว็บเซิร์ฟเวอร์ (Web server): Apache/2.4.52
- CMS: WordPress 6.4.2
- ภาษา (Language): PHP 8.1.2

### คำแนะนำถัดไป (Next Steps)
1. Run `/nuclei-scan <target> --mode full` to test for CMS-specific vulnerabilities
2. Run `/nikto-scan <target>` for web server misconfigurations
3. Check technology versions against CVE databases
4. Run `/nmap-scan <target>` for port-level service detection

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 110 lines · 47 tokens per session scan B 42ab3f2e4dde

Subscribe to this mod's changes

whatweb-scan is a skill published in the GitHub repository mahuttha/offensive-recon (4 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 1,072 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens