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

Đang mở
#489 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
57/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
1
Fork
1
Merge trung bình
10 giờ
Pull request đã merge (30 ngày)
26

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TMHSDigital/subenum

Tất cả issue của TMHSDigital/subenum

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.