Skip to content

Risks and hygiene

Security and maintenance issues noticed while building this portal. Secret values are deliberately not reproduced here. Each item should be fixed in its repo and then removed from this page.

Credentials and secrets

  • A service-account key file is tracked in aggregator-2 under backend/config/. It should be removed from git history and rotated.
  • Development database credentials are hard-coded in aggregator-2/compose.yaml.
  • Some crawlers rely on manually harvested session cookies (hiring.cafe and builtin.com). They expire and must be refreshed by hand.
  • Rotate the exposed values above before sharing this portal beyond the engineering team. Rotation status is not recorded anywhere in the repositories.

Access control

  • Aggregator HTTP APIs have no authentication. Anything that can reach them can trigger crawls or read job data. Restrict them to the internal network.
  • CORS is wide open on the backend (*, without credentials). Tighten it to the dashboard and extension origins.

Data consistency

  • Two job collections can drift. The unicorn aggregator writes into the backend's jobs collection by hand-maintained field shapes. A change to the backend's job model needs a matching change in the aggregator, and nothing enforces it.
  • Database name defaults differ (smart-apply vs smart_apply). Confirm the deployed values match.
  • Aggregator-2 job fields differ from the backend's (for example, locations and stack are strings there). Nothing converts them.

Documentation gaps

  • The dashboard does not yet contain pages the backend's notes describe (Auto Apply and data retention screens). Confirm the branch the dashboard is deployed from.
  • Some READMEs are out of date (for example, the dashboard README refers to a frontend/ folder that is not in the repo).