network-pentest

network-pentest is a skill for Claude Code, Codex from JustineDevs/premortem. It costs 103 tokens per session (2,611 once invoked), scanned A, original, Apache-2.0.

An authorized penetration-testing guide for internal company networks and Active Directory, the Windows system used to manage users, computers, and access. It covers testing across Windows and Linux environments.

In plain words
What is it for?
Use it for internal network assessments, Active Directory attack-path analysis, lateral-movement testing, privilege-escalation checks, and controlled post-exploitation work.
Why use it?
It helps security teams discover how an attacker could move through an internal network, gain higher privileges, or access other systems. Written authorization and defined testing rules are required before use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it for internal network assessments, Active Directory attack-path analysis, lateral-movement testing, privilege-escalation checks, and controlled post-exploitation work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justinedevs/premortem/network-pentest
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 JustineDevs/premortem --skill network-pentest
Clone the repo
git clone --depth 1 https://github.com/JustineDevs/premortem

Made for: Claude Code, Codex.

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 network-pentest

README.md
[![agentmods](https://agentmods.dev/badge/skills/justinedevs/premortem/network-pentest/github.svg)](https://agentmods.dev/skills/justinedevs/premortem/network-pentest)
Your own site
<a href="https://agentmods.dev/skills/justinedevs/premortem/network-pentest"><img src="https://agentmods.dev/badge/skills/justinedevs/premortem/network-pentest/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 network-pentest

Your own site · 80×15
<a href="https://agentmods.dev/skills/justinedevs/premortem/network-pentest"><img src="https://agentmods.dev/badge/skills/justinedevs/premortem/network-pentest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00103 $0.02611
Opus 5.5 $0.00041 $0.01044
Sonnet 5.5 $0.00021 $0.00522
Haiku 4.5 $0.00010 $0.00261

Measured 2mo ago against content hash e877a48dcefc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

network-pentest 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 2mo 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.

.agents/skills/security/network-pentest/SKILL.md · 183 lines

How it starts

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

Network Penetration Testing

STOP — Authorization check (read before any execution)

This skill executes offensive techniques against live infrastructure. Before any action:

  1. Confirm a written engagement letter / SOW is in scope and in-date.
  2. Confirm Rules of Engagement (ROE) covering: target CIDRs, excluded hosts, allowed techniques (coercion? DCSync? password spray?), permitted hours, source-IP allowlist, and customer emergency contact.
  3. Confirm the authorization explicitly names the domain(s) and tenant(s) you are about to test.
  4. If ANY of the above is unclear, ambiguous, or missing — STOP and request clarification. Do not proceed on the basis of verbal approval, chat-channel approval, or inferred scope.

Destructive/high-blast-radius actions (DCSync against production DCs, Zerologon, Skeleton Key, GPO edits, krbtgt reset, cert forgery) require a second, specific written approval in addition to the base engagement letter. Every such action must be logged with timestamp, operator, and justification for the customer's IR reconciliation.

Prefer read-only enumeration and dry-run modes first. Escalate only when the previous step establishes the precondition. Never chain offensive actions speculatively.


This skill enables comprehensive internal network and Active Directory penetration testing: reconnaissance, credential attacks, lateral movement, privilege escalation, and domain dominance. It is a thin router — heavy content lives in workflows/, references/, and payloads/. Load only the file you need.

When to Use

  • Authorized internal network penetration test
  • Authorized Active Directory security assessment
  • Lateral movement / privilege escalation validation
  • Credential-attack testing (spray, Kerberoast, AS-REP)
  • Post-exploitation path verification from a simulated phished user
  • Network segmentation bypass validation
  • Purple-team exercises where offensive action is agreed with the blue team

Trigger Phrases

Read the full file on GitHub · 183 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. 2mo ago First seen · 183 lines · 103 tokens per session scan A e877a48dcefc

Subscribe to this mod's changes

network-pentest is a skill published in the GitHub repository JustineDevs/premortem (1 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 2,611 once invoked, about $0.0004 per session on Opus 5.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-09-03.

Related

network-pentest compared with skills from other repositories

network-pentest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
network-pentestJustineDevs/premortemSkill14mo agoApache-2.0A103Claude Code, Codex
azd-extension-e2e-testingAzure/azure-devSkill573todayMITA135Claude Code, Codex
azd-extension-unit-testingAzure/azure-devSkill573todayMITA115Claude Code, Codex
awesome-azd-template-submitAzure/awesome-azdSkill2774d agoMITA86Claude Code, Codex
azd-extension-spec-authoringAzure/azure-devSkill573todayMITA70Claude Code, Codex
bitbottleproggarapsody/bitbottleSkill31mo agoMITA84Codex
extract-apihesedcasa/sdkckSkill104d agoApache-2.0C86Claude Code