identity-compromise

identity-compromise is a skill for Claude Code from gensecaihq/Wazuh-Autopilot. It costs 40 tokens per session (1,470 once invoked), scanned B, original, MIT.

A procedure for investigating whether a user account has been taken over and how far it may have been used. It examines suspicious sign-ins, password attacks, privilege changes, and movement between Linux and Windows computers.

In plain words
What is it for?
Use it to investigate brute-force attempts followed by successful logins, unusual locations or times, privilege escalation, explicit-credential logins, and lateral movement.
Why use it?
It helps distinguish ordinary login failures from a successful account attack and prevents important low-severity events from being overlooked. It also supports decisions about the scope of the compromise and needed containment.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to investigate brute-force attempts followed by successful logins, unusual locations or times, privilege escalation, explicit-credential logins, and lateral movement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gensecaihq/wazuh-autopilot/identity-compromise
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 gensecaihq/Wazuh-Autopilot --skill identity-compromise
Clone the repo
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot

Made for: Claude Code.

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 identity-compromise

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gensecaihq/wazuh-autopilot/identity-compromise"><img src="https://agentmods.dev/badge/skills/gensecaihq/wazuh-autopilot/identity-compromise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,470 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00040 $0.01470
Opus 5.5 $0.00016 $0.00588
Sonnet 5 $0.00008 $0.00294
Haiku 4.5 $0.00004 $0.00147

Measured yesterday against content hash e3044598b3a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade B, and why

identity-compromise 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 yesterday.

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.

| Linux | sudo | rule 5402 to root (level 3), rule 5401 failed (level 5), rule 5403 first time for user (level 4) | privilege use |
backend/app/skills/identity-compromise/SKILL.md · 83 lines

How it starts

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

Identity Compromise Investigation

Accounts are the most common path to impact. Decide whether an account is compromised, how far it was used, and what containment is justified.

Key events and the Wazuh rules that surface them

Rule numbers are from the stock Wazuh 4.14 ruleset. Many Windows events are only alerted on when the channel is collected and not filtered. If there's no rule, search the raw event with search_security_events (field data.win.system.eventID). Load wazuh-windows-sysmon for Windows field paths.

Platform Event Wazuh rules Meaning
Windows Event ID 4624 rule 60106 (level 3) successful logon; check data.win.eventdata.logonType: 2 interactive, 3 network, 10 RemoteInteractive/RDP
Windows Event ID 4625 rules 60105, 60122 (level 5); burst → rule 60204 (level 10) failed logon; subStatus separates bad password from unknown user
Windows Event ID 4648 none (search raw events) logon with explicit credentials (runas, lateral tools)
Windows Event ID 4672 rule 67028 (level 3) special privileges assigned: admin-equivalent logon. Low level, high meaning for non-admins
Windows Event ID 4720, Event ID 4722 rule 60109 (level 8) account created / enabled
Windows Event ID 4738 rule 60110 (level 8) account changed
Windows Event ID 4728, Event ID 4732, Event ID 4756 rules 60141, 60144, 60151 (level 5); rule 60154 Administrators group changed (level 12) member added to security-enabled global / local / universal group
Windows Event ID 4740 lockout rule 60115 (level 9) account locked out after multiple failures
Windows Event ID 4768, Event ID 4771 none stock (search raw events) Kerberos TGT request / pre-auth failure: spraying against a DC
Linux sshd failure rules 5716, 5760 (level 5); rule 5710 non-existent user (level 5) single failures
Linux sshd burst rules 5712, 5720, 5763 (level 10); rule 5758 max attempts exceeded (level 8) composite brute-force rules
Linux sshd success rule 5715 (level 3) Accepted password / publickey
Linux sudo rule 5402 to root (level 3), rule 5401 failed (level 5), rule 5403 first time for user (level 4) privilege use
Linux PAM rule 5503 login failed (level 5), rule 5551 multiple failures (level 10) console / other PAM services
Linux account changes rule 5902 new user (level 8), rule 5904 user information changed (level 8) useradd / usermod

Read the full file on GitHub · 83 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. yesterday First seen · 83 lines · 40 tokens per session scan B e3044598b3a8

Subscribe to this mod's changes

identity-compromise is a skill published in the GitHub repository gensecaihq/Wazuh-Autopilot (57 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 1,470 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.