Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cletqui/api
Cyber API
https://github.com/cletqui/api
certificate-transparency cloudflare-workers crt-sh cybersecurity doh doh-json doh-server hono honojs rfc-8484
Last synced: 27 days ago
JSON representation
Cyber API
- Host: GitHub
- URL: https://github.com/cletqui/api
- Owner: cletqui
- License: mit
- Created: 2024-04-08T16:08:11.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T15:43:58.000Z (8 months ago)
- Last Synced: 2024-05-22T16:55:27.509Z (8 months ago)
- Topics: certificate-transparency, cloudflare-workers, crt-sh, cybersecurity, doh, doh-json, doh-server, hono, honojs, rfc-8484
- Language: TypeScript
- Homepage: https://api.cybai.re/
- Size: 178 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API
## Table of Contents
- [API](#api)
- [Table of Contents](#table-of-contents)
- [Motivation](#motivation)
- [URLs](#urls)
- [Swagger](#swagger)
- [Endpoints](#endpoints)
- [Roadmap](#roadmap)
- [Endpoints ideas](#endpoints-ideas)## Motivation
Cyber API on the go, deploy endpoints for cybersecurity actions.
## URLs
[api.cybai.re](https://api.cybai.re/)
### Swagger
[Swagger](https://api.cybai.re/swagger)
[Swagger JSON](https://api.cybai.re/swagger/json)### Endpoints
/dns-query: DNS records
/certs : Certificate Transparency
/ipinfo: Fetch IP information
/whois: Fetch IP/domain whois information## Roadmap
- [x] Add more DoH resolvers to resolvers.json
- [ ] Improve `README.md`
- [ ] Handle errors returned by DoH or crt.sh
- [ ] Validation based on { content: `application/json` } header
- [ ] Add more parameters for CRT ("limit" to limit the number of certificates returned)
- [ ] Implement [IP Info](https://freeipapi.com/api/json/{ip}) endpoint
- [ ] Implement [Whois](https://rdap.org/domain/{domain}) endpoint
- [ ] Implement Spamhaus endpoint for [domains](https://www.spamhaus.org/api/v1/sia-proxy/api/intel/v2/byobject/domain/malakoffhumanis.com/overview) and [IP](https://www.spamhaus.org/api/v1/sia-proxy/api/intel/v1/byobject/cidr/ALL/listings/live/{ip})
- [ ] Implement CVE API endpoint
- [ ] Fix the linting issue in `doh.ts`
- [ ] Add more methods for the endpoints
- [ ] Implement authentication (JWT, Bearer, Basic...)
- [ ] When linked with frontends, implement CSRF Protection or IP Restriction## Endpoints ideas
Web Related Endpoints
/header: Fetch website header
/pages: Fetch all website pages
/ping: Ping domain to check latency and status