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.
npx skills add mahuttha/offensive-recon --skill nikto-scangit clone --depth 1 https://github.com/mahuttha/offensive-reconWrote 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.
[](https://agentmods.dev/skills/mahuttha/offensive-recon/nikto-scan)<a href="https://agentmods.dev/skills/mahuttha/offensive-recon/nikto-scan"><img src="https://agentmods.dev/badge/skills/mahuttha/offensive-recon/nikto-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.
<a href="https://agentmods.dev/skills/mahuttha/offensive-recon/nikto-scan"><img src="https://agentmods.dev/badge/skills/mahuttha/offensive-recon/nikto-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.00937 |
| Opus 5 | $0.00022 | $0.00468 |
| Sonnet 5 | $0.00009 | $0.00187 |
| Haiku 4.5 | $0.00004 | $0.00094 |
Grade B, and why
nikto-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 11d 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 nikto not found: "Nikto is not installed. Install with: `sudo apt install nikto`" How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nikto Scan — Web Server Vulnerability Assessment
Run web server vulnerability scanning using Nikto against an authorized target.
Decision Loop: In-the-Loop (target approval required before scanning)
Safety — MUST Confirm Before Scanning
Before executing ANY scan:
- Display the target URL to the user
- Ask for explicit confirmation: "ยืนยันการสแกนเป้าหมาย (Confirm scan target):
<target>?" - Do NOT proceed without user approval
- Note: Nikto sends many HTTP requests — may trigger WAF/IDS alerts
Arguments
Parse the user's input for:
<target-url>— URL or host:port (REQUIRED)--ssl— Force SSL/TLS connection--tuning— Test types to include (default: all)
Tuning Options
| Code | Test Type |
|---|---|
| 1 | Interesting File / Seen in logs |
| 2 | Misconfiguration / Default File |
| 3 | Information Disclosure |
| 4 | Injection (XSS/Script/HTML) |
| 5 | Remote File Retrieval — Inside Web Root |
| 6 | Denial of Service (SKIP for university targets) |
| 7 | Remote File Retrieval — Server Wide |
| 8 | Command Execution / Remote Shell |
| 9 | SQL Injection |
Default for university scans: -Tuning 12345789 (skip DoS)
Execution
After user confirmation, run:
# Determine SSL flag
SSL_FLAG="" # Add "-ssl" if --ssl specified or URL starts with https
# Determine tuning
TUNING="-Tuning 12345789" # Skip DoS by default
nikto -h <target-url> ${SSL_FLAG} ${TUNING} -Format json -output /tmp/nikto-output.json 2>&1 | tee /tmp/nikto-console.txt
Output Format
Parse the Nikto output and present:
## ผลการสแกน Nikto (Nikto Scan Results)
### ข้อมูลเป้าหมาย (Target Info)
- **เป้าหมาย (Target)**: `<target>`
- **เซิร์ฟเวอร์ (Server)**: Apache/2.4.52 (Ubuntu)
- **IP**: 203.0.113.10
- **เวลา (Time)**: <timestamp>
### ผลการตรวจพบ (Findings)
| # | Severity | OSVDB | Finding |
|---|----------|-------|---------|
| 1 | HIGH | OSVDB-3092 | /admin/: Admin directory found |
| 2 | MEDIUM | OSVDB-3268 | /icons/: Directory indexing enabled |
| 3 | LOW | OSVDB-0 | X-Frame-Options header not set |
### สรุปตามความรุนแรง (Severity Summary)
- **CRITICAL**: 0
- **HIGH**: 1
- **MEDIUM**: 2
- **LOW**: 3
- **INFO**: 5
### การแมป OWASP (OWASP Mapping)
| Finding | OWASP Category |
|---------|---------------|
| Admin directory exposed | A01:2021 — Broken Access Control |
| Directory indexing | A05:2021 — Security Misconfiguration |
| Missing headers | A05:2021 — Security Misconfiguration |
### คำแนะนำถัดไป (Next Steps)
1. Fix HIGH/CRITICAL findings first
2. Run `/nuclei-scan <target>` for deeper vulnerability testing
3. Run `/sqlmap-scan` on forms/parameters discovered
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.
- 11d ago First seen · 108 lines · 44 tokens per session scan B 81abf4740516
nikto-scan is a skill published in the GitHub repository mahuttha/offensive-recon (4 stars, last pushed 6mo ago), licensed MIT. It adds 44 tokens to every session and 937 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
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…
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…
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…