{"id":13844410,"url":"https://github.com/CIRCL/bgp-ranking","last_synced_at":"2025-07-11T22:32:04.768Z","repository":{"id":1325170,"uuid":"1270554","full_name":"CIRCL/bgp-ranking","owner":"CIRCL","description":"BGP ranking is a free software to calculate the security ranking of Internet Service Provider (ASN).","archived":false,"fork":false,"pushed_at":"2023-08-31T10:09:00.000Z","size":5120,"stargazers_count":105,"open_issues_count":0,"forks_count":17,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-11-16T05:16:27.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bgpranking.circl.lu/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CIRCL.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-01-19T11:04:59.000Z","updated_at":"2024-10-08T02:18:07.000Z","dependencies_parsed_at":"2022-08-16T13:05:23.888Z","dependency_job_id":"b9c9a1f5-9f4e-4a6b-8a41-933a18f52f85","html_url":"https://github.com/CIRCL/bgp-ranking","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2Fbgp-ranking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2Fbgp-ranking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2Fbgp-ranking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CIRCL%2Fbgp-ranking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CIRCL","download_url":"https://codeload.github.com/CIRCL/bgp-ranking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225763408,"owners_count":17520455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:02:41.902Z","updated_at":"2024-11-21T16:31:28.411Z","avatar_url":"https://github.com/CIRCL.png","language":"Python","funding_links":[],"categories":["Python (1887)","Python","Cybersecurity"],"sub_categories":[],"readme":"# BGP AS / ISP Security Ranking\n\nFor an Internet Service Provider, AS numbers are a logical representation of\nthe other ISP peering or communicating with his autonomous system. ISP customers\nare using the capacity of the Internet Service Provider to reach Internet\nservices over other AS. Some of those communications can be malicious (e.g. due\nto malware activities on an end-user equipments) and hosted at specific AS location.\n\nIn order to provide an improved security view on those AS numbers, a trust ranking\nscheme will be implemented based on existing dataset of compromised systems,\nmalware C\u0026C IP and existing datasets of the ISPs.\n\nThe official website of the project is: https://github.com/CIRCL/bgp-ranking/\n\nThere is a public BGP Ranking at http://bgpranking.circl.lu/\n\nBGP Ranking is free software licensed under the GNU Affero General Public License\n\nBGP Ranking is a software to rank AS numbers based on malicious activities.\n\n\n# Data access\n\n## Database 5 (contains all raw data):\n\n```python\n    \u003cYYYY-MM-DD\u003e|sources -\u003e set(sources)\n    \u003cYYYY-MM-DD\u003e|\u003csource\u003e|asns -\u003e set(asns)\n    \u003cYYYY-MM-DD\u003e|\u003csource\u003e|asn_details -\u003e set(\u003casn\u003e|\u003cipblock\u003e)\n    \u003casn\u003e|\u003cipblock\u003e|\u003cYYYY-MM-DD\u003e|\u003csource\u003e -\u003e set(\u003cip\u003e|\u003cdatetime_isoformat\u003e)\n\n    \u003casn\u003e -\u003e set(ipblock) # The bloc can be ipv4 or ipv6\n                          # WARNING: some of the entries are timestamp, this is\n                          # a bug in old data and should be discarded\n    \u003casn\u003e|\u003cipblock\u003e -\u003e hash(\u003cdatetime_isoformat\u003e: \u003cverbose_description_from_riswhois\u003e)\n```\n\n## Database 6 (contains rankings):\n\n```python\n    \u003cYYYY-MM-DD\u003e|amount_asns -\u003e value(nb_asns_day) # from all the ASNs known by RIPE for a day\n    \u003casn\u003e|\u003cYYYY-MM-DD\u003e|\u003csource\u003e|rankv4 -\u003e value(rank)\n    \u003casn\u003e|\u003cYYYY-MM-DD\u003e|\u003csource\u003e|rankv4|details -\u003e zset((\u003cipblock\u003e, \u003ccomputed rank\u003e) )\n                            # WARNING: some of the entries are timestamp, this is\n                            # a bug in old data and should be discarded\n    \u003casn\u003e|\u003cYYYY-MM-DD\u003e|\u003csource\u003e|rankv6 -\u003e value(rank) # Not used\n    \u003casn\u003e|\u003cYYYY-MM-DD\u003e|\u003csource\u003e|rankv6|details -\u003e zset((\u003cipblock\u003e, \u003ccomputed rank\u003e) ) # Not used\n                            # WARNING: some of the entries are timestamp, this is\n                            # a bug in old data and should be discarded\n\n    \u003casn\u003e|\u003cYYYY-MM-DD\u003e|clean_set\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCIRCL%2Fbgp-ranking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCIRCL%2Fbgp-ranking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCIRCL%2Fbgp-ranking/lists"}