Repository navigation
new: [lists] NetAPI Top 1M warninglists with a keyless generator - #463
Merged
Merged
Conversation
Member
|
Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds three warninglists built from the NetAPI Top 1M, a free daily ranking of the 1,000,000 most popular websites as registrable domains (CC BY 4.0, https://netapi.com/top-1-mln-websites/), next to the existing Tranco, Cloudflare Radar and Chrome CrUX lists:
lists/netapi-top1m(1,000,000 entries),lists/netapi-top10kandlists/netapi-top1ktools/generate-netapi-top1m.py, wired intogenerate_all.shright aftergenerate_tranco.pyThe generator follows
generate_tranco.py: typehostname, matching attributes hostname / domain / url / domain|ip, version fromget_version(). The source is one plain CSV (NetAPI_Rank,Domain, 1,000,000 rows, rebuilt every day,Last-Modifiedheader set), sodownload_to_file()skips the download when nothing has changed. No API key or sign-up is needed, unlike the Cloudflare Radar generator.Why another top list:
generate_alexa.pyis marked BROKEN and the Alexa list is frozen since 2023, the Cloudflare generator needs a token and is commented out, so Tranco is the only keyless daily top-1M generator left ingenerate_all.sh. A second independent ranking helps with the usual warninglist question "is this a well-known site", and the 10K and 1K slices give the stricter variants thattranco10kandcisco_top1000provide today.NetAPI is already part of the MISP ecosystem: misp-modules ships the
netapiexpansion module (PR 1014, merged on 27 October), which looks up the Top 1M rank and the compromised feed listing of a domain. These lists come from the same data.The three list files pass
schema.jsonandtools/validate_values.py, are formatted likejq -S ., carry no executable flag, and all 1,000,000 entries satisfy the hostname rule ofvalidate_values.py.Thanks!
Slava