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 Youngmaidainon/Agent-Level-Up --skill coercing-authentication-with-coercer-petitpotamgit clone --depth 1 https://github.com/Youngmaidainon/Agent-Level-UpWrote 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/youngmaidainon/agent-level-up/coercing-authentication-with-coercer-petitpotam)<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/coercing-authentication-with-coercer-petitpotam"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/coercing-authentication-with-coercer-petitpotam/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/youngmaidainon/agent-level-up/coercing-authentication-with-coercer-petitpotam"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/coercing-authentication-with-coercer-petitpotam.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.00120 | $0.02393 |
| Opus 5.5 | $0.00048 | $0.00957 |
| Sonnet 5.5 | $0.00024 | $0.00479 |
| Haiku 4.5 | $0.00012 | $0.00239 |
Grade B, and why
coercing-authentication-with-coercer-petitpotam 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 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
pipx install coercer # or: sudo python3 -m pip install coercer This is a copy
94% identical to coercing-authentication-with-coercer-petitpotam — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coercing Authentication with Coercer and PetitPotam
Legal Notice: This skill is for authorized security testing and educational purposes only. Authentication coercion combined with NTLM relay can yield domain compromise. Use only against systems you own or have explicit written authorization to test. Unauthorized use is illegal.
Overview
Many Windows RPC interfaces expose methods that take a UNC path and cause the receiving server to authenticate to that path using its machine account. An attacker who can reach these interfaces can force a target (commonly a Domain Controller) to authenticate to an attacker-controlled host. On its own this is "Forced Authentication"; combined with an NTLM relay, the coerced machine credential is relayed to a service that does not enforce signing/EPA, most famously AD CS Web Enrollment (ESC8), yielding a certificate for the Domain Controller and ultimately domain compromise.
PetitPotam (Gilles Lionel / topotam) abuses the MS-EFSR (Encrypting File System Remote Protocol) EfsRpcOpenFileRaw / EfsRpcEncryptFileSrv methods. Coercer (p0dalirius) generalizes the technique: it is a Python tool that automatically coerces a Windows server to authenticate to an arbitrary machine through 12 methods spanning multiple protocols — MS-EFSR (PetitPotam), MS-RPRN (PrinterBug/SpoolSample), MS-DFSNM (DFSCoerce), MS-FSRVP (ShadowCoerce), MS-EVEN, and more. Coercer operates in three modes: scan (probe which RPC methods are reachable/coercible), coerce (trigger authentication), and fuzz (research path variations). Sources: p0dalirius/Coercer, topotam/PetitPotam, The Hacker Recipes — Forced Authentications.
When to Use
- To complete an ESC8/ESC11 chain by forcing a DC to authenticate to a relay
- To trigger machine authentication for NTLM relay to LDAP (RBCD) or SMB
- When a relay target is identified but no inbound authentication is occurring naturally
- During detection engineering to generate coercion telemetry for blue-team tuning
- To validate that DCs/servers are patched and that relay mitigations (signing/EPA) hold
What ships with it
3 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.
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.
- 2mo ago First seen · 176 lines · 120 tokens per session scan B 03048c106986
coercing-authentication-with-coercer-petitpotam is a skill published in the GitHub repository Youngmaidainon/Agent-Level-Up (4 stars, last pushed 3mo ago), licensed MIT. It adds 120 tokens to every session and 2,393 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 94% identical to coercing-authentication-with-coercer-petitpotam, differing in 2 lines, and is treated as a copy.
coercing-authentication-with-coercer-petitpotam compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coercing-authentication-with-coercer-petitpotamYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | B | 120 | Claude Code, Codex |
| auth-coercion-relayblacklanternsecurity/red-run | Skill | 312 | 17d ago | AGPL-3.0 | B | 105 | Claude Code, Codex |
| abusing-dpapi-for-credential-accessmukul975/Anthropic-Cybersecurity-Skills | Skill | 37k | 3mo ago | Apache-2.0 | A | 97 | Claude Code |
| abusing-shadow-credentials-for-privescmukul975/Anthropic-Cybersecurity-Skills | Skill | 37k | 3mo ago | Apache-2.0 | A | 97 | Claude Code |
| conducting-internal-reconnaissance-with-bloodhound-ce26zl/cybersec-toolkit | Skill | 113 | 4d ago | MIT | A | 96 | Claude Code |
| ad-killeroyi77/1ai-skills | Skill | 19 | today | MIT | A | 37 | Claude Code |
| hunting-for-ntlm-relay-attacksoyi77/1ai-skills | Skill | 19 | today | MIT | A | 79 | Claude Code |