pentesting-tftp

pentesting-tftp is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 52 tokens per session (1,661 once invoked), scanned A, original, Apache-2.0.

A security-testing guide for TFTP, a simple file-transfer service often used by network devices and boot systems. It checks whether files can be read or uploaded without a login.

In plain words
What is it for?
Use it during an authorized security assessment to discover TFTP on UDP port 69, test known file paths, and verify unauthenticated file reads and uploads.
Why use it?
It helps find exposed configuration files, firmware images, and unauthorized write access that attackers could use. TFTP has no built-in authentication, so reachable services need careful checking.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during an authorized security assessment to discover TFTP on UDP port 69, test known file paths, and verify unauthenticated file reads and uploads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/pentesting-tftp
About the project

xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.

xalgorix/xalgorix · 1,531 stars · on GitHub · xalgorix.com

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 xalgorix/xalgorix --skill pentesting-tftp
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

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 pentesting-tftp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-tftp"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-tftp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,661 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.00052 $0.01661
Opus 5.5 $0.00021 $0.00664
Sonnet 5.5 $0.00010 $0.00332
Haiku 4.5 $0.00005 $0.00166

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

Security

Grade A, and why

pentesting-tftp 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 7d 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.

internal/tools/skills/data/network-services-pentesting/pentesting-tftp/SKILL.md · 133 lines

How it starts

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

Pentesting TFTP (port 69/UDP)

When to Use

  • Default port 69/udp. TFTP is a minimal UDP file-transfer protocol (RFC 1350) with no authentication.
  • When nmap -sU/banner shows tftp on 69 (Shodan also labels this port; some scanners mislabel it as bittorrent-tracker).
  • Common on large internal networks distributing config files and ROM/firmware images to VoIP phones, routers, switches, and PXE boot infrastructure.

Quick Enumeration

# UDP service detection + path brute force (no directory listing exists)
nmap -n -Pn -sU -p69 -sV --script tftp-enum <IP>

# Manual client probe
tftp <IP>
tftp> get <known_filename> /tmp/out
tftp> put /tmp/test.txt test.txt    # test write access

# Shodan-style discovery marker
#   port:69

Critical: Checks Most Often Missed

  • No authentication, ever — any reachable client can attempt read/write. The protocol has no logins.
    • How to CONFIRM: a successful get/put against the server with no credentials.
  • No directory listing → must brute-force paths — scanners that don't fuzz miss everything. Use tftp-enum's default-path list and device-specific names.
    • How to CONFIRM: nmap --script tftp-enum <IP> returns found files (it brute-forces common paths).
  • Device config / firmware exposure — target known names: running-config, startup-config, <MAC>.cfg, SEP<MAC>.cnf.xml (Cisco VoIP), bootrom.ld, pxelinux.cfg/default, *.bin ROM images. These leak credentials, SNMP strings, and topology.
    • How to CONFIRM: tftp <IP>; get running-config /tmp/rc succeeds and contains secrets.
  • Arbitrary write/upload — writable TFTP roots allow overwriting configs/firmware or staging payloads for PXE/device boot.
    • How to CONFIRM: tftp> put payload.bin succeeds, then re-get to verify it landed.

Workflow

Step 1: Enumerate (service + default paths)

nmap -n -Pn -sU -p69 -sV --script tftp-enum <IP>
# Augment with a custom filename list (device-specific names)
nmap -sU -p69 --script tftp-enum --script-args tftp-enum.filelist=tftplist.txt <IP>

Read the full file on GitHub · 133 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. 7d ago First seen · 133 lines · 52 tokens per session scan A 2f2d3f9ba3b2

Subscribe to this mod's changes

pentesting-tftp is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 1,661 once invoked, about $0.0002 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-11-23.

Related

pentesting-tftp compared with skills from other repositories

pentesting-tftp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pentesting-tftpxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A52Claude Code, Codex
cis-aws-foundations-4.3CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A18Claude Code, Codex
cis-aws-foundations-6.5CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A23Claude Code, Codex
cis-aws-foundations-2.1.1CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A19Claude Code, Codex
cis-aws-foundations-2.15CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A23Claude Code, Codex
cis-aws-foundations-4.1CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A18Claude Code, Codex
cis-aws-foundations-2.4CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A20Claude Code, Codex