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

Aberta
#489 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
57/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
cli, networking

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Go
Estrelas
1
Forks
1
Merge médio
10h
PRs com merge (30d)
26

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TMHSDigital/subenum

Todas as issues de TMHSDigital/subenum

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.