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 nvsecurity/nightvision-skills --skill app-security-scangit clone --depth 1 https://github.com/nvsecurity/nightvision-skillsWrote 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/nvsecurity/nightvision-skills/app-security-scan)<a href="https://agentmods.dev/skills/nvsecurity/nightvision-skills/app-security-scan"><img src="https://agentmods.dev/badge/skills/nvsecurity/nightvision-skills/app-security-scan.svg" alt="Measured on agentmods" 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.00066 | $0.02577 |
| Opus 5 | $0.00033 | $0.01288 |
| Sonnet 5 | $0.00013 | $0.00515 |
| Haiku 4.5 | $0.00007 | $0.00258 |
Grade A, and why
app-security-scan scanned grade A with 0 findings 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 8d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NightVision App Security Scan
Run a real DAST scan against an app you just built or changed. API Discovery runs first when the backend language is supported, because it improves coverage and lets findings trace back to a source file and line (Code Traceback). DAST is the expected outcome on every run, not just a generated spec.
Requirements: this skill drives the NightVision MCP server's app-security-scan harness, so it needs a server build that provides run-app-security-scan, preflight-app, wait-for-scan, summarize-scan-findings, and export-sarif with the project_path argument. On an older server these tools are missing (the call returns an unknown-tool error) or export-sarif ignores project_path and silently drops source-linking. If any of the listed tools is unavailable, update the NightVision MCP server before using this skill; running preflight-app first is the cheapest way to confirm the harness is present.
Best-supported languages and frameworks
API Discovery uses deterministic static analysis to generate an OpenAPI spec for supported codebases. Source-linked results are strongest for the empirically verified languages and frameworks below:
- Python: Django, Django REST Framework, Flask, Flask-RESTful, FastAPI
- JavaScript/TypeScript: Express, NestJS, Fastify
- Java: Spring Boot, JAX-RS/Jersey, Micronaut, Java EE/Jakarta EE
- C#: ASP.NET Core controllers and minimal APIs
- Go: Gin, httprouter, and experimental
net/httpsupport - Ruby: Rails and Grape
Treat frameworks outside this list, including PHP frameworks, as verify-first for source discovery. Still run DAST against reachable web apps and APIs as a WEB target when discovery is unsupported or produces no spec, but report that findings may not include source file:line traceback. Source-based discovery is REST/OpenAPI only.
Workflow
- Locate the app's source directory and pass it as
project_path. Do not rely on the current working directory: a developer usually launches you from their home directory, not the repo, and API Discovery readsproject_pathto generate the spec that links findings to source. If you are not already in the repo, find it (the app's git root / where its source lives) and pass that absolute path. Running against the home directory is refused withproject_path_not_app_source. - Know the app's URL. You are running on the developer's machine with the app's source in front of you, so you know how it serves. If it is not already running, start it with its own command (
npm run dev,docker compose up, the framework dev server). Pass that URL astarget_url. Do not ask the harness to guess it. - Call
run-app-security-scanwithproject_path,target_url, the NightVision project, and the app-auth mode (see Auth). One call does preflight, API Discovery, target create/update, DAST start, and writes.nightvision/manifest.json. Always route the scan through this one harness call, even when the user already has a NightVision target or credential set up: pass their existing project andauth/auth_id, and the harness reuses and updates that target and refreshes API Discovery so its spec is not stale. Do not hand-assemble a scan fromcreate-target/start-scan/list-targets; that path skips the fresh discovery and is how a scan silently exercises a stale spec. - Report the discovery result before you poll, so the user can see API Discovery ran and what it produced. The single harness call runs API Discovery, updates the target, and starts DAST in that order, but all of it is invisible from the outside: the user sees one tool call and then a long scan, which reads as "it skipped discovery and went straight to DAST". Do not let a 10+ minute scan be the first thing the user hears about. Read these fields off the result and state them in one or two sentences before the first poll:
api_discovery.status(success,no_spec,skipped, orfailed) andapi_discovery.attached_spec_file(the spec that was pushed to the target).- The endpoint count in that spec. Count the entries under
paths:in the spec file (for examplegrep -c '^ /' <attached_spec_file>) and say how many endpoints DAST will exercise. target.action(created,updated, orreused) and the resolved target'stype, nested attarget.target.type(thetargetblock wraps the action and the resolved target object). Any non-WEBtype means the spec is attached and findings can carry sourcefile:line(the backend echoes a spec-attached target asAPIorOPENAPI, so do not match onAPIalone); typeWEBmeans it is scanning without a spec. Preferapi_discovery.statusfor the coverage judgment; treat the targettypeas confirmation only.- The
scan_id.
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.
- 8d ago First seen · 72 lines · 66 tokens per session scan A 1a14011cad7a
app-security-scan is a skill published in the GitHub repository nvsecurity/nightvision-skills (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 2,577 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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…
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…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…