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 Keyless Fallback

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

Overview

Design principle that every metered API tool must run with zero keys and degrade to a free alternative, making keys strictly additive rather than required.

Description

Keyless Fallback solves the problem of key-dependent tooling: a tool that requires an API key to function at all is useless on a fresh machine, blocks the keyless-by-default skill, and silently fails when a key expires. The principle states that keys are strictly additive: every tool runs with zero keys and produces useful output; a key unlocks richer data but is never the gate to running.

In practice this means:

  • WHOIS: no WhoisXML key → RDAP + port-43 fallback.
  • Recon: no FOFA/Shodan/Censys key → free sources (urlscan, crt.sh, Wayback).
  • IntelX: no IntelX key → search returns None with a clear status; the caller treats it as "not searched," never "no hits."
  • ANY.RUN: no key → sandbox submission is skipped with a clear capability report.

The keyless disclosure rule ("no sibling domains" is a fact about credentials, not the operator) is enforced by wp_capabilities.py + meta.capability in every result JSON.

Usage

Use this principle when designing any API-consuming tool where:

  • The tool must produce useful output on a machine with zero API keys.
  • A key unlocks richer data (history, reverse search, metered engines) but is never required to run.
  • The tool's result must disclose its capability level so the caller does not mistake "keyless" for "no data."
  • Free alternatives must be first-class, not degraded afterthoughts.

Theoretical Basis

The principle is a graceful degradation pattern with capability disclosure. Each tool probes its key at call time and selects its data source accordingly. The result JSON carries a capability field so the caller can distinguish "this domain has no WHOIS data" from "we ran keyless and got what RDAP had."

# Abstract pattern (NOT real implementation)
def lookup(domain):
    if have_key("WHOISXML_API_KEY"):
        return whoisxml_full(domain)      # rich: current + history
    return rdap_lookup(domain)            # keyless: current only, never empty

The invariant: a tool that returns an empty result must always be able to tell the caller whether the emptiness is a fact about the target or a fact about the credentials. This is why the keyless layer must be a real implementation, not a "no key, skip" stub.

Related Pages

Implemented By

Used By Workflow

Uses Heuristic

Page Connections

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