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

オープン
#489 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
57/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli, networking

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
1
フォーク
1
平均マージ
10時間
マージ済み PR(30日)
26

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/subenum のほかの issue

TMHSDigital/subenum の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。