pentest-lateral-movement

pentest-lateral-movement is a skill for Codex from 0x-Professor/Agent-Skills-Hub. It costs 19 tokens per session (302 once invoked), scanned A, original, Apache-2.0.

A security-testing workflow for lateral movement, meaning moving from one compromised or tested system to another across internal trust boundaries. It maps pivot routes and reused credentials.

In plain words
What is it for?
Use it to assess authorized internal movement paths, credential reuse opportunities, and pivot connections, then create maps, findings, and reports.
Why use it?
It shows how one compromised account or machine could lead to access to other internal systems.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to assess authorized internal movement paths, credential reuse opportunities, and pivot connections, then create maps, findings, and reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0x-professor/agent-skills-hub/pentest-lateral-movement
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 0x-Professor/Agent-Skills-Hub --skill pentest-lateral-movement
Clone the repo
git clone --depth 1 https://github.com/0x-Professor/Agent-Skills-Hub

Made for: 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 pentest-lateral-movement

README.md
[![agentmods](https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/pentest-lateral-movement/github.svg)](https://agentmods.dev/skills/0x-professor/agent-skills-hub/pentest-lateral-movement)
Your own site
<a href="https://agentmods.dev/skills/0x-professor/agent-skills-hub/pentest-lateral-movement"><img src="https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/pentest-lateral-movement/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 pentest-lateral-movement

Your own site · 80×15
<a href="https://agentmods.dev/skills/0x-professor/agent-skills-hub/pentest-lateral-movement"><img src="https://agentmods.dev/badge/skills/0x-professor/agent-skills-hub/pentest-lateral-movement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 302 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.00019 $0.00302
Opus 5 $0.00010 $0.00151
Sonnet 5 $0.00004 $0.00060
Haiku 4.5 $0.00002 $0.00030

Measured 12d ago against content hash 93040462e7c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pentest-lateral-movement 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/lateral_movement.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/pentest-lateral-movement/SKILL.md · 51 lines

What it actually says

Pentest Lateral Movement

Stage

  • PTES: 6
  • MITRE: TA0008

Objective

Map movement graph edges and credential reuse attack opportunities.

Required Workflow

  1. Validate scope before any active action and reject out-of-scope targets.
  2. Run only authorized checks aligned to PTES, OWASP WSTG, NIST SP 800-115, and MITRE ATT&CK.
  3. Write findings in canonical finding_schema format with reproducible PoC notes.
  4. Honor dry-run mode and require explicit --i-have-authorization for live execution.
  5. Export deterministic artifacts for downstream skill consumption.

Execution

python skills/pentest-lateral-movement/scripts/lateral_movement.py --scope scope.json --target <target> --input <path> --output <path> --format json --dry-run

Outputs

  • pivot-map.json
  • lateral-findings.json
  • lateral-report.json

References

  • references/tools.md
  • skills/autonomous-pentester/shared/scope_schema.json
  • skills/autonomous-pentester/shared/finding_schema.json
WARNING AUTHORIZED USE ONLY
This skill executes real security testing tools against live targets.
Use only with written authorization.

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 51 lines · 19 tokens per session scan A 93040462e7c8

Subscribe to this mod's changes

pentest-lateral-movement is a skill published in the GitHub repository 0x-Professor/Agent-Skills-Hub (10 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 19 tokens to every session and 302 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

baoyu-slide-deck

Generates professional slide deck images from content. Creates outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", or "PPT".

JimLiu/baoyu-skills · 54 tokens

baoyu-xhs-images

A tool that breaks content into a series of illustrated image cards for Xiaohongshu, a Chinese social platform also called Little Red Book, and similar social posts.

JimLiu/baoyu-skills · 100 tokens

release-skills

A release workflow for preparing and publishing a new version of a software project. A release is a named version that may include updated version files, release notes, tags, or a GitHub Release.

JimLiu/baoyu-skills · 87 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens

baoyu-cover-image

Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".

JimLiu/baoyu-skills · 81 tokens