Principle:7onez Cti expert Collection Consent Gating
| Knowledge Sources | |
|---|---|
| Domains | OSINT, OpSec |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Design principle that gates metered API spending and direct network egress on a per-host basis, ensuring an agent cannot spend credits or touch attacker infrastructure without explicit per-host consent.
Description
Collection Consent Gating solves two problems: unbounded API spending and unattributed egress. An LLM-driven collector that can spend API credits on any host will burn through a budget silently — every metered engine (WhoisXML, FOFA, urlscan, Shodan) costs money, and the agent has no visibility into its own spend. Similarly, a collector that can directly fetch any URL will touch attacker infrastructure from the analyst's IP, burning the investigation.
The principle enforces per-host consent:
- free_only on a no-spend case (or per-host) holds every metered engine. The collector falls back to keyless sources.
- allow_spend permits spending only on the analyst's own typed seeds and an approved enrich.host. Consent is per HOST, never per round — an agent reaching other hosts in the seed round collects them free-only.
- hostile denies direct egress to attacker infra; the collector must use a proxy or passive sources.
- passive suppresses direct fetches entirely — the collector uses cached/archive sources only.
Usage
Use this principle when designing collection tools where:
- Metered API calls must be gated per-host, not per-round, to prevent budget burn.
- Direct network egress must be denied on hostile infrastructure to protect attribution.
- An LLM agent cannot self-authorize spending — consent comes from the case scope or the analyst.
- Free-keyless collection must always be available as the fallback when spending is denied.
Theoretical Basis
The principle is a positive consent gate: spending and direct egress are denied by default; only explicit consent (scope, flag, or analyst approval) enables them. The consent is scoped to the host, not the round, because an agent that reaches other hosts during a round must not inherit the seed host's spend consent.
# Abstract algorithm (NOT real implementation)
def collect_host(url, case, free_only, allow_spend, hostile):
if hostile and is_url(url):
return blocked("direct egress to hostile infra")
if is_metered(url) and not allow_spend and free_only:
return collect_keyless(url) # fallback, no spend
if is_metered(url) and case_scope.no_spend:
return collect_keyless(url)
return collect_full(url) # spend authorized
The free_only rule is a one-rule gate: free-only on a no-spend case, and while the cross-type loop is active, for every host EXCEPT the analyst's own typed seeds and an approved enrich host. This is a denylist with exceptions pattern — the default is deny, the exceptions are explicit.
Related Pages
Implemented By
Used By Workflow
- Workflow:7onez_Cti_expert_Domain_Investigation (Step 3: Collect Phase)
- Workflow:7onez_Cti_expert_Deterministic_Case_Pipeline (Step 1: Open Case and Seed Collection)