endpoint-threat-hunt

endpoint-threat-hunt is a skill for Claude Code, Codex from forefy/.context. It costs 37 tokens per session (2,182 once invoked), scanned A, original, MIT.

A read-only investigation of a macOS, Linux, or Windows computer for signs of malware. It checks running programs, network activity, and ways threats may start automatically.

In plain words
What is it for?
Use it to scan an endpoint, assess possible compromise, record uncertain findings for manual review, and document coverage gaps.
Why use it?
It helps identify suspicious activity without installing monitoring software or changing the system.

Skill for Claude CodeCodex

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

Good fit Use it to scan an endpoint, assess possible compromise, record uncertain findings for manual review, and document coverage gaps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forefy/.context/endpoint-threat-hunt
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 forefy/.context --skill endpoint-threat-hunt
Clone the repo
git clone --depth 1 https://github.com/forefy/.context

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 endpoint-threat-hunt

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/forefy/.context/endpoint-threat-hunt"><img src="https://agentmods.dev/badge/skills/forefy/.context/endpoint-threat-hunt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,182 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 51
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 56
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 61
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Excessive Agency · line 53
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Privilege Escalation · line 56
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 56
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00037 $0.02182
Opus 5.5 $0.00015 $0.00873
Sonnet 5.5 $0.00007 $0.00436
Haiku 4.5 $0.00004 $0.00218

Measured yesterday against content hash 636835bc7739, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

endpoint-threat-hunt scanned grade A 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/t2_batch.sh), 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- If no → proceed T1-only, all sudo commands → `⏭️ SKIP (T1 only - rerun elevated for full coverage)`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/defensive/endpoint-threat-hunt/SKILL.md · 140 lines

How it starts

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

Endpoint Threat Hunt Skill

Identity

Expert IR analyst. Hunt malicious activity using native OS tools only. No agents, no kernel extensions, no SIP bypass. Read/query only - never modify, delete, or exfiltrate, except a removal the user explicitly requests (Rule 10). T1 (no privs) or T2 (sudo/admin). Ambiguous finding → "Suspicious - requires manual review", not "Confirmed malicious". Document blind spots same as findings.


Reference Files

Load on demand:

File Load When
references/macos-checks.md OS = macOS/Darwin
references/linux-checks.md OS = Linux
references/windows-checks.md OS = Windows
references/ioc-patterns.md Analyzing output, any OS
references/known-attacks-macos.md OS = macOS - cross-check named campaigns
references/known-attacks-linux.md OS = Linux - cross-check named campaigns
references/known-attacks-windows.md OS = Windows - cross-check named campaigns
references/coverage-constraints.md Naming blind spots for the SKIP row
scripts/t2_batch.sh T2 interactive run - one-prompt batch of every elevated macOS check

Engagement Protocol

Step 0 - Detect OS + privilege (always first):

uname -s && id          # Unix
[System.Environment]::OSVersion.Platform; whoami /priv   # Windows
  • Darwin → macOS → load macos-checks.md
  • Linux → load linux-checks.md
  • Windows_NT → load windows-checks.md
  • T1: uid≠0, no sudo/wheel/admin group. T2: uid=0 or privileged group present.

If T1 detected → ask before proceeding (interactive sessions only):

Non-interactive/cron runs: do NOT ask - proceed T1-only and mark T2 items SKIP. "You're running as a standard user. Some checks (auth logs, kernel modules, audit policy, etc.) require elevated privileges. Want me to request admin/root access via a native OS prompt for full coverage? If not, I'll run T1-only checks and mark T2 items as SKIP."

  • If yes → elevate interactively per OS (below), then proceed T2.
  • If no → proceed T1-only, all sudo commands → ⏭️ SKIP (T1 only - rerun elevated for full coverage).

Read the full file on GitHub · 140 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 Changed · +3 lines 636835bc7739
  2. 21d ago Changed · +4 lines 747aecd984d1
  3. 2mo ago Changed · +4 lines 7e98b240a34f
  4. 3mo ago First seen · 129 lines · 37 tokens per session scan A a19cfc2b4c52

Subscribe to this mod's changes

endpoint-threat-hunt is a skill published in the GitHub repository forefy/.context (156 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,182 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

endpoint-threat-hunt compared with skills from other repositories

endpoint-threat-hunt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
endpoint-threat-huntforefy/.contextSkill156yesterdayMITA37Claude Code, Codex
eresus-manual-security-auditEresusSecurity/appsec-skillsSkill77mo agoApache-2.0A145Claude Code, Codex
eresus-php-auditEresusSecurity/appsec-skillsSkill77mo agoApache-2.0A92Claude Code, Codex
eresus-sast-scannerEresusSecurity/appsec-skillsSkill77mo agoApache-2.0A100Claude Code, Codex
eresus-python-auditEresusSecurity/appsec-skillsSkill77mo agoApache-2.0A101Claude Code, Codex
eresus-remediatorEresusSecurity/appsec-skillsSkill77mo agoApache-2.0A84Claude Code, Codex
eresus-variant-analysisEresusSecurity/appsec-skillsSkill77mo agoApache-2.0A85Claude Code, Codex