elementalsouls/claude-osint/continuous-exposure-monitoring
Claude Code and agent skill by elementalsouls/claude-osint
- community
Checking that the SKILL.md file is still in the repository.
Turns one-shot external recon into a continuous monitoring program. Covers the scheduled re-scan-and-diff loop (baseline snapshot -> interval sleep -> re-scan -> asset/finding delta -> threshold-gated webhook alert), the scan-to-scan diff engine (new/removed/changed assets by a tracked-attribute table, new/resolved findings by a stable cross-scan fingerprint), adversary CTI / chatter monitoring across six public feeds (ransomwatch, ransomware.live, HackerNews Algolia search, Reddit security-subreddit RSS, GitHub Gist code-search, public Telegram channel scraping) with a source-kind-aware severity engine (leak-site/forum/telegram/paste tiers, CRITICAL through INFO), literal/glob/regex watchlist pattern matching, full-corpus capture with retroactive rescan on new watchlist entries, infrastructure-tracking-over-time discipline (certificate-transparency, passive-DNS, port/service, and typosquat re-enumeration cadence, and what a genuine 'perimeter drift' event looks like in the diff output), a five-state finding-lifecycle state machine (open/triaged/risk_accepted/resolved/false_positive) with per-severity SLA and fingerprint-based cross-scan dedup and auto-resolve/reopen rules, the alert-fatigue trap where a lifecycle-unaware rule re-fires on an already-accepted finding, a durable retry/backoff alert-outbox pattern ('queued is not delivered'), and copy-paste bash-cron plus PowerShell-Scheduled-Task recipes for a re-scan+diff loop with the Slack-compatible webhook payload shape. Passive OSINT and analysis only -- no new active-intrusion technique. Use when setting up ongoing monitoring for a retainer or MSSP engagement, tuning alert thresholds to avoid fatigue, triaging a finding's lifecycle status, investigating adversary chatter about a brand, building a 'what changed on the perimeter since last week' report, or deciding whether a persisting finding should re-alert.
Install
npx vskill@latest install elementalsouls/claude-osint/continuous-exposure-monitoringSKILL.md
The same SKILL.md was published earlier as elementalsouls/claude-osint/continuous-exposure-monitoring.
Continuous Exposure Monitoring — Loop, Diff, Chatter, Lifecycle
Companion skills: `osint-methodology` (the 5-stage pipeline this skillloops — see its §7.2 "ongoing weekly diff" profile, which this skill fills in with concretemechanics), `offensive-osint` (§29 Threat Intel & IOCs — this skilldeepens that section's advisory/IOC-feed directory with the continuous adversary-chatterwatch loop and CTI-feed cadence it explicitly lacks; use §29 for indicator enrichment andvulnerability-prioritization data sources, this skill for the standing collection loop),`org-attack-surface` (the org-first discovery this skill's re-scansre-run on a schedule), `exposure-risk-quantification` (readsthis skill's finding-lifecycle suppression state to computerisk_trendand the FAIR score — seeits risk-score model). This skill answers a different question than all four: not "what does thetarget expose right now," but "is what the target exposes changing, and should anyone be told."
0. When to Use / When NOT
Use this skill when:
- Standing up ongoing monitoring for a retainer, MSSP, or bug-bounty program instead of a one-shot
engagement — the client wants to know about new exposure, not to re-read yesterday's report.
- Deciding how often to re-run which recon stage (daily vs. weekly vs. monthly) without either
wasting API quota / detection budget on cheap-to-skip stages or missing real drift.
- Building or tuning adversary-chatter monitoring (ransomware leak sites, forum/paste mentions,
Telegram brand mentions) for a target's brand/domain.
- Deciding whether a finding that keeps showing up in every re-scan should keep alerting, or has
already been triaged/accepted and should go quiet.
- Debugging "the webhook never fired" or "the webhook fired twice" — alert delivery reliability,
dedup, and backoff behavior.
- Writing a "what changed on the perimeter since last week" deliverable.
Do NOT use this skill when:
- You need the one-shot discovery methodology itself — that's
osint-methodology(5-stage
pipeline) and offensive-osint (the per-technique arsenal). This skill assumes discovery already happened at least once and is about the second and every subsequent run.
- You need a new active-intrusion technique. This skill is a scheduling, diffing, and alerting
layer over recon that is already authorized and already running — see §5.
- The target's authorization isn't established, or a recurring cadence hasn't been explicitly
agreed — see §1's monitoring-specific authorization note.
1. Authorization & Legal Posture
Same base posture as the companion skills: intended for assets the operator owns or has written authorization to assess — see osint-methodology §1 for the full soft-scope-check script.
The monitoring-specific nuance: a point-in-time engagement authorization does not automatically cover an indefinite recurring cadence. Before standing up a monitor/chatter watch daemon or a dashboard-scheduled job against a target, confirm the authorization window explicitly covers the monitoring period (retainer end date, RoE renewal terms), not just "the engagement." A scheduled job that outlives its authorization is a standing violation, not a one-off mistake — it fires every interval until someone notices and tears it down.
Always-on guardrail specific to this skill: a monitoring loop must never silently escalate its own authorization tier. The monitor CLI command's flag surface only exposes --only/--exclude module filters — it has no path to enable --validate (the credential/token-submission tier), so a scheduled asm-cli monitor loop cannot accidentally re-arm that tier. The dashboard job scheduler is different: a job's flags field accepts the same flags a manual scan does, so an operator can configure a recurring job with --validate/--validate-creds set. Treat that as a standing-authorization decision that needs its own explicit sign-off, not a monitoring-cadence decision — see §5.
2. Confidence Levels
Same three-tier scale as the companion skills — TENTATIVE / FIRM / CONFIRMED — answers "how sure am I this is real." This skill adds one axis that is easy to conflate with confidence and must not be:
Confidence is not lifecycle status. A chatter hit can be HIGH severity and still TENTATIVE confidence (adversary-controlled content is always TENTATIVE by design — see §7.6). A finding can be CONFIRMED confidence and still be risk_accepted in the lifecycle (§9) — the client acknowledged a real exposure and chose to keep it. Never let a severity or confidence label imply anything about whether a human has already triaged the finding, and never let a lifecycle status imply anything about whether the underlying evidence was independently verified. They are orthogonal axes recorded in different places (the Finding's confidence field vs. finding_lifecycle.status).
3. Output Format
Three schemas this skill's outputs use. All timestamps UTC ISO-8601.
Finding — same schema as the companion skills (see osint-methodology §3); chatter-sourced findings always carry confidence: tentative (§7.6).
Delta event — what a monitoring cycle reports:
Lifecycle record — cross-scan identity for one finding at one target (see §9):
4. Source Hygiene & Citations
Same discipline as the companion skills: URL + UTC timestamp + SHA-256 + tool version + run_id per artifact. One monitoring-specific addition: the chatter corpus tables (`ransomware_corpus`) persist every observed row regardless of whether it currently matches a watchlist, precisely so retroactive analysis (§7.4) has real historical data to search rather than needing to re-fetch a since-rotated feed. Treat that corpus as an evidence store in its own right — dedup on the natural key (source/group/victim), never delete rows to "clean up," and cite corpus_id alongside the hit id when a finding traces back to a retroactive match.
5. Do NOT
- Do not treat a scheduled job's "queued" status as "delivered" — see §10.1. Confirm delivery by
querying the outbox, not by the enqueue call succeeding.
- Do not re-alert on a finding whose lifecycle status is
resolved,false_positive, or
risk_accepted just because a re-scan rediscovered it — see §9.6 for the exact mechanics and which alerting subsystem actually protects against this (only one of the two does, natively).
- Do not let a recurring monitoring job silently carry
--validate/--validate-credsunless
that specific standing authorization was explicitly confirmed — see §1.
- Do not open a chatter-sourced URL (leak site, paste, Telegram post) directly in your working
browser. Adversary-controlled content is TENTATIVE by definition (§2, §7.6) — open only in an isolated browser/VM/Tails, exactly as osint-methodology §6.1 (OpSec) requires generally.
- Do not invent an SLA day-count, backoff schedule, or poll interval. This skill's numbers (§9.4,
§10.2) are transcribed from the shipped defaults; if an operator wants different numbers, say so explicitly rather than presenting a made-up default as authoritative.
- Do not widen a
findings_watchlistrule'sseverity_minor drop itscategory/module
filters to "catch more" without first reading §9.6 and §10.5 — an unscoped rule on this subsystem re-fires every re-scan on a persisting issue, unlike the fingerprint-diff alerting in §6.
- Do not introduce a new active-intrusion technique to "monitor better." Every module a
monitoring loop re-runs is a technique that was already authorized for the one-shot engagement; this skill only adds cadence, diffing, and alerting around it.
6. The Monitoring Loop Model
6.1 The five-step loop
The canonical pattern (monitor.py):
- On startup, run a scan immediately — establishes a baseline if none exists.
- Sleep
intervalseconds. - Run a new scan.
- Diff the latest two scans for the target (§6.3 / §7).
- If the delta crosses the alert threshold, POST a webhook (§10). Otherwise log and continue.
- Go to 2.
A first run against a fresh target has no prior scan to diff against — the loop logs "first scan — no prior baseline to diff against; skipping alert" and simply establishes the baseline. Nothing alerts on run #1 by design.
6.2 Two implementations
A mature ASM implementation ships two ways to run this loop — pick based on scope:
| CLI foreground daemon | Dashboard job scheduler | ||
|---|---|---|---|
| Entry point | asm-cli monitor <target> ... | monitor_scheduler.scheduler_daemon_loop | |
| Scope | one target per process | many jobs, persisted in MonitorJobStore | |
| Visibility | own stdout only | dispatched via ScanManager.launch() — appears in the live dashboard scan list | |
| Poll/dispatch cadence | the loop's own --interval | polls for due jobs every 30s (_POLL_SECONDS) | |
| Per-run safety cap | none — interval only | 7200s (2h) _SCAN_MAX_SECONDS; a wedged scan is cancelled and the loop moves on (already rescheduled) | |
| Disable | Ctrl-C | ASM_DISABLE_MONITOR_SCHEDULER=1 | |
--validate reachable? | No — the CLI's flag surface is --only/--exclude only | Yes — job flags accepts the same flags a manual scan does; see §1 |
Both funnel through the same diff-and-alert logic (monitor._maybe_alert) — the scheduler literally imports and calls it, so §6.5's alert-worthy rule is identical either way.
6.3 What "diff" means
The diff engine (reporting/diff.py) compares two scan.db files and produces:
- New / removed assets — pure set difference on asset
key. - Changed assets — for keys present in both scans, a per-type tracked-attribute table decides
what counts as a meaningful change (deliberately narrow — noise like response time or timestamp casing would otherwise drown the real signal):
| Asset type | Tracked attrs | Asset type | Tracked attrs | |
|---|---|---|---|---|
webapp | status, title, server, tech, waf, cdn_name, jarm, favicon_hash, content_hash, redirect_off_scope | certificate | not_after, issuer, self_signed | |
port | ip, port, transport | bucket | provider, listable, public | |
service | ip, port, product | credential | email, breach | |
subdomain, ip, email, person, repo, domain, typosquat_domain, wayback_endpoint, asn, netblock | existence-only — no attrs tracked |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/continuous-exposure-monitoring/SKILL.md
Popularity
- Repository stars
- 2,306
- Repository forks
- 429
- 7-day trend score
- 39
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/elementalsouls/claude-osint/continuous-exposure-monitoring)