Arshia Heravi

Independent project · Engineering case study

HackerOne Tower

Public program changes, a durable journal and concise alerts

HackerOne Tower helps researchers follow changes to published HackerOne program rules without repeatedly comparing listings. The Python service observes public policy and scope metadata, keeps complete change evidence in SQLite, and sends a short Telegram notification with an official program link. Telegram is the user interface; the project does not include a web dashboard.

  • Python
  • HTTPX
  • SQLite
  • Telegram Bot API
  • pytest

From a public listing to a useful notification

The service first establishes a silent baseline, so an existing program is not announced as a new launch simply because monitoring has started. Later complete observations are compared with the saved snapshot to identify meaningful policy and scope additions, edits or removals.

Subscribers choose programs, asset types and bounty preferences through a private Telegram bot. They can pause notifications or delete their subscription. Each alert summarizes the change and its detection time, while full observed records and before-and-after evidence stay in the local journal.

Collection and delivery have separate responsibilities

Python workers handle catalog discovery, scope collection, bot commands and message delivery independently. HTTPX adapters read fixed official API hosts with bounded requests and validated pagination. A slow collection does not have to block bot commands or the delivery queue.

The SQLite store commits a complete snapshot, its change events and pending recipient notifications in one transaction. This keeps the change record and the work needed to notify subscribers together. Delivery state and retry deadlines survive restarts.

Making failures and stale data visible

A collection must finish and pass validation before replacing saved data. Malformed or partial responses therefore do not silently erase the previous snapshot. Unresolved failures remain attached to the affected program until a complete observation succeeds.

Health checks distinguish active workers from completed baseline coverage and current snapshot freshness. Reprocessing identical content does not create another event, and cosmetic timestamp or profile-image changes do not generate notifications. Only public metadata is collected; the service never connects to assets listed in a program's scope.

Evidence behind the workflow

The test suite uses temporary SQLite databases and HTTPX MockTransport to exercise source validation, comparison rules, transaction rollback, restart deduplication, rate limits, bot preferences and delivery recovery. The offline demo follows a fictional observation through the journal and a mocked Telegram delivery, then verifies that an unchanged observation creates no duplicate event.

A dated verification record separately documents live API observations, Telegram acceptance, migration and restore checks, and controlled Windows worker recovery. Those historical checks provide evidence for particular paths; they do not establish today's service status or uninterrupted operation.

Tradeoffs that remain explicit

The service detects changes when it observes them. Detection time is not a program's launch date, and polling cannot guarantee that every transient upstream edit will be seen. API pagination is also not an atomic snapshot, so later reconciliation remains necessary.

Telegram provides no send idempotency key, which leaves a possible duplicate after an ambiguous delivery timeout. SQLite and a single monitor process keep the deployment compact, but a larger subscriber workload would need measurement before making capacity claims.

Explore the project locally

The README provides installation steps and an offline demo that uses fictional data, a temporary database and mocked transport. After dependencies are installed, that demo requires no account credentials and sends no real Telegram message.

Live monitoring is a separate configuration with the required source and Telegram credentials. The public source, architecture notes and verification record below explain the workflow and its limits before a reader connects their own services.

Explore the source

Review the implementation and verification details in the public repository.

This case study was reviewed on . The repository may have changed since that review.

Read the current repository documentation

HackerOne Tower on GitHub (opens in a new tab)

Want to discuss an implementation or a role?

Get in touch