Add a keyless passive-DNS source next to CT and Wayback

Aperta
#489 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, networking

Direzione di ricerca

Start with internal/passive/passive.go and wayback.go to understand source registration, response bounds, and truncation handling; inspect the existing retryhttp use and pkg/subenum constructors. Check whether AlienVault OTX still serves passive DNS without a key under rate limits, then compare its integration with the existing sources. Done means it can be opted into with -sources, handles optional API keys safely, and is refused in lab/simulate mode.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted severity: low

Summary

The passive sources are two CT indexes and one URL archive (var Known = []string{"ct", "wayback", "certspotter"}, internal/passive/passive.go:42). #193 named passive-DNS indexes as part of the motivation for the pluggable source registry, but only the archive half shipped.

Problem

Passive DNS sees names that never had a public certificate or archived URL, such as internal-looking hosts and mail and VPN endpoints. Those are exactly what CT and Wayback miss.

Proposal

Add one keyless passive-DNS source behind the existing registry, for example AlienVault OTX's indicators/domain/<d>/passive_dns (check first that it still answers without a key under a rate limit).

  • Reuse retryhttp, and the size/line bounds and truncated flag from wayback.go.
  • Optional API-key environment variable sent as a header and never printed, as CERTSPOTTER_API_KEY is.
  • Opt-in through -sources, with a pkg/subenum constructor, refused in lab/simulate mode like the others.

Who benefits

Users who want broader coverage while keeping the "no API keys" promise.

Related: #193


Filed by repo-audit/full-audit at a45b999. Severity: low. Effort: M. audit-key: enhancement|internal/passive/passive.go|Known

Lingua principale
Go
Stelle
1
Fork
1
Merge medio
10h
PR unite (30g)
26

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TMHSDigital/subenum

Tutte le issue di TMHSDigital/subenum

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.