DEV Community

andreagomez
andreagomez

Posted on

Medama Analytics needs separate discovery rules for its tracker and dashboard

Medama Analytics needs separate discovery rules for its tracker and dashboard

Medama Analytics is a self-hostable, cookie-free website analytics service. A site loads a small tracker that sends page-view data to the Medama backend, while operators use a dashboard to inspect traffic and manage the service. A single title query can find the dashboard, a documentation page, or a site that merely discusses the project.

The tracker and dashboard should not share an exposure decision. The tracker is expected to be public enough for browsers to reach it. The dashboard contains aggregate traffic, site configuration, and potentially enough context to identify customers or internal projects. An exposed tracker proves nothing about the dashboard, and a missing public dashboard does not prove that the internal service is absent.

Use the title query as a candidate list

Start with title="Medama" and compare it with a confirmed application fingerprint only if one is known. Record the final hostname, response status, and login redirect. Do not infer that every match is a production analytics deployment.

No live count was collected for this run, and no stored count was available. That limitation should stay visible in the evidence record. A future observation should include the exact query, date, sub_type, pagesize, and count. The count is an index measurement, not a number of exposed dashboards.

When a candidate is found, verify whether the browser reaches the tracker endpoint, the dashboard, or both. A reverse proxy may route /api or an ingestion path to the backend while keeping the operator UI behind a separate hostname. Inventory the hostname rather than the product name alone.

Protect the operator surface

Restrict the dashboard to the analytics team through a VPN or identity-aware proxy. Use strong passwords or an identity provider, and remove unused accounts. Put the dashboard on a different DNS name from the public tracker so cookies and origin policies can be scoped separately.

Review how the service stores site records and raw events. A self-hosted deployment may keep a database file on local storage, which needs filesystem permissions and encrypted backups. Do not place that file in a public object bucket.

The tracker endpoint itself still needs abuse controls. Rate limits, request-size limits, and basic validation reduce storage growth from fake events. A tracking API key, if used, should be publishable and limited to event submission. It must not grant dashboard access.

Query evidence and limitations

Run the title query only after confirming that the product is in scope for discovery. Preserve the response screenshot or headers under the organization's evidence policy. Do not attempt login bypass or bulk enumeration.

The query can miss installations with a custom title, a reverse proxy, or no publicly indexed page. It can also match a hosted marketing site. Treat every hit as a lead and link it to an owner through DNS and certificate records.

References

Top comments (0)