Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:7onez Cti expert WebPivot Shaped Output

From Leeroopedia
Knowledge Sources
Domains OSINT, Data_Interoperability
Last Updated 2026-10-28 14:00 GMT

Overview

Design principle that all collection tools (web, binary, social, IP) produce the same WebPivot-shaped JSON schema, so evidence from any source type ingests into the same KB and cross-correlates on shared indicators.

Description

WebPivot-Shaped Output solves the problem of siloed evidence: a web collector produces one JSON shape, a binary analyzer another, a social collector a third — and cross-type correlation (binary backend host → web domain, social email → web registrant) is impossible without adapter glue. The principle states that every collector emits the same schema:

{
  "meta": {collector, host, source, final_url, collected_at, ...},
  "artifacts": {trackers, binary, iocs, ...},
  "pivots": [{kind, value, confidence, queries, note}]
}

The meta.collector field identifies the source (webpivot/..., binarypivot/analyze_artifact). The KB adapter (ingest_webpivot.ingest_file) routes on this field — binary JSON goes to _ingest_binary, web JSON to the web-host branch. Both produce the same KB entities and edges.

Cross-type correlation happens naturally: a binary's embedded backend host (app:backend_host pivot) becomes a domain entity in the KB; if a web-collected domain shares a registrant email with the binary's signing cert subject, they cluster together.

Usage

Use this principle when designing collection tools where:

  • Evidence from web, binary, social, and IP sources must cross-correlate in one KB.
  • A new collector should not require a new KB adapter — the schema is the contract.
  • The meta.collector field routes ingest, so a new source type just needs a collector name.
  • Pivots from any source must carry kind, value, confidence, and queries for the analyst.

Theoretical Basis

The principle is a shared schema contract: the WebPivot JSON shape is the interface between collectors and the KB adapter. Any tool that produces this shape can ingest into the KB. This is the duck typing approach — the adapter does not check the source's type, it checks the shape.

# Abstract contract (NOT real implementation)
def ingest_file(kb, path):
    doc = json.load(path)
    if doc.meta.collector.startswith("binarypivot/"):
        return _ingest_binary(kb, doc)
    if doc.meta.kind == "github":
        return _ingest_github(kb, doc)
    # default: web-host branch
    return _ingest_web(kb, doc)
    # ALL branches produce the same KB entities + edges

The cross-type correlation is emergent: no code explicitly links binary IOCs to web evidence. The shared KB entities (domain, IP, email, wallet) are the join keys — if a binary's app:backend_host and a web domain's hosted_on edge point to the same IP, the KB naturally clusters them.

Related Pages

Implemented By

Used By Workflow

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment