Go Deeper Privacy and data

How we tested privacy

How Kestrel's privacy promises are checked, in plain words first, then in technical detail with the test behind each claim.

Kestrel makes promises about your data. This page says how each one is checked. The first part is in plain words. The second part names the test that proves each claim, so anyone with the source code can run it.

For a look at the wider test suite, see How Kestrel checks its own work.

In plain words

Your data stays on your computer. Your profile, resumes, notes, and saved roles live in a database on your computer. There is no Kestrel account and no Kestrel server that stores your data.

Nothing goes to an online model unless you approve it. Kestrel shows the provider, the model, and what will be sent. If the model or the service changes before you approve, Kestrel refuses and sends nothing. Background work that would go online waits for your approval instead of going ahead.

No analytics and no tracking. You are not the product. Kestrel sends no usage data and no crash reports. Its one regular call home is the update check, and that sends nothing about you.

Keys stay out of files you might share. We checked the backup, the diagnostics file, and the log for keys.

Your current employer can be hidden. With Confidential mode on, your marked employer is hidden in lists, resumes, and what Kestrel sends to an online model, and also in the data Kestrel hands to other tools on your computer.

Kestrel never acts for you. It never applies, sends an email, or messages anyone. A test blocks every connection leaving the computer while the assistant-facing action tools run, and checks that they stay local.

What these checks do not prove

A passing test shows that Kestrel behaves this way in the cases we wrote down. It does not replace your own care.

  • Backups hold your original profile and document text, even with Confidential mode on. Store them privately.

  • An online provider keeps what you approve under its own terms. Kestrel cannot take it back.

  • The diagnostics file can include up to 500 characters of a model's reply, which can repeat part of a posting, and your data folder path, which can include your user name. Look at it before you share it, and do not post it publicly.

  • Every call Kestrel makes lists the outside calls that are part of how Kestrel works. The checks below do not turn those off.

In technical detail

Test names are in the Kestrel source repository, under tests/.

Online models

Claim What the test checks Test
An approval names the provider address and the model. If either changes after the dialog opens, the request is refused and nothing is sent. A run request with a changed online destination returns an error. The same holds for document Assess, Suggest, and resume import: a stale destination is refused, and the model client is replaced by one that fails if called. tests/test_final_consent.py: test_c1_both_refuses_a_change_to_the_unselected_hosted_destination, test_c8_a_new_online_tier_requires_fresh_approval. tests/test_documents_consent.py: test_online_suggestion_asks_and_rejects_stale_destination, test_online_assessment_rejects_stale_destination, test_online_import_rejects_stale_destination
Every run route refuses a request without the right approval, and a local run ignores a hidden online approval. Each start route returns an error when the approval is missing. A local run stores an empty approval. tests/test_final_consent.py: test_c1_every_run_route_refuses_missing_trigger_approval, test_c1_local_run_does_not_accept_the_hidden_online_approval
Queued work that would go online without a matching confirmation is held, shown as waiting, and resumes only after you confirm. A held role shows "Waiting for your confirmation". A fresh confirmation requeues it. Each hold is leased once and other work finishes. tests/test_final_consent.py: test_c2_held_scoring_is_visible, test_c2_fresh_confirm_resumes_held_scoring, test_c7_every_scrape_consent_hold_is_leased_once_and_other_work_finishes
A company summary stops if online mode is turned off while the pages are being fetched. The model is never called, and the summary is held. tests/test_final_consent.py: test_c4_company_summary_stops_if_hosted_is_disabled_during_fetch
Document actions ask before any text goes to an online model. The online import does not start on its own. The model client fails the test if it is called before consent. tests/test_documents_consent.py: test_online_import_does_not_auto_start, test_online_current_assessment_requires_confirmation

Confidential mode

Claim What the test checks Test
The JSON API hides your current employer, and agrees with the pages. Lists and detail views return the placeholder, not the name. With the mode off, the real name returns. tests/test_confidential_api_mcp.py: test_api_list_redacts_the_current_employer, test_api_detail_redacts_the_current_employer, test_the_api_and_the_html_agree, test_confidential_mode_off_returns_the_real_name
The MCP tools, which an assistant on your computer can use, hide it too, including in search results and free text. Every read tool, search, organization view, and free-text field is checked for the name. tests/test_confidential_api_mcp.py: test_mcp_read_tools_redact_the_current_employer, test_mcp_search_results_are_redacted, test_free_text_fields_are_redacted_not_just_the_org_field, test_mcp_get_org_redacts_research_and_contacts
Online requests carry a code instead of the employer's name, and Kestrel refuses to send when nothing can be hidden. The text sent to the model never contains the name. A send with nothing marked is held and offers no Send button. tests/test_confidential_settable.py: test_suggest_sends_a_code_and_restores_only_the_code, test_suggest_refuses_when_nothing_can_be_hidden, test_assess_runs_with_confidential_mode_on_and_sends_a_code
A rendered resume hides only the marked employer, and the editor keeps your real wording. The preview shows your label and never the name. The editor shows the real text. tests/test_confidential_settable.py: test_a_render_hides_only_the_current_employer_and_the_editor_keeps_real_text

Files you might share

Claim What the test checks Test
The diagnostics file holds no key value, no database file, no profile, and no resume or posting text. The one exception is a cut-down model reply of at most 500 characters. Every member of the zip is searched for the keys and the posting text. The database and environment files must be absent. tests/test_about_page.py: test_diagnostics_zip_has_the_members_and_no_secret_or_posting_text
The diagnostics file hides your current employer in Confidential mode, and masks private service addresses and secret-looking values. The employer name is absent from every member. Backend addresses and secret names are replaced. tests/test_about_page.py: test_diagnostics_redacts_the_employer_when_confidential_mode_has_a_map, test_diagnostics_masks_yaml_backend_addresses_in_every_member, test_redact_tree_masks_secret_names_and_shaped_values_only
Backups never include the environment file where keys live, and never carry the local-network key. The zip has no .env entry. The key's bytes are absent, and a restore keeps this computer's own key. tests/test_backup_restore.py: test_backup_zip_contains_db_config_documents_never_env. tests/test_backup_lan_key.py: test_backup_holds_no_bytes_of_an_old_or_current_key, test_restore_of_an_old_backup_keeps_this_machines_key
Keys never reach the log, even where a board takes its key in the web address. Adzuna's ID and key are masked in kestrel.log. The diagnostics scrubber also masks a key in escaped form. Error text drops the query string. tests/test_adzuna.py: test_the_keys_do_not_reach_kestrel_log_even_through_httpxs_own_request_line. tests/test_desktop_logging.py: test_the_scrubber_masks_a_key_in_its_json_escaped_form. tests/test_http_client.py: test_error_strings_never_carry_the_query_string
Resume PDFs carry no generator or organization name in their metadata. The file's metadata is searched for the app name and sample organization names. This test needs a browser installed, so it runs on a computer with Edge or Chromium. tests/test_docs.py: test_render_pdf_per_kind_passes_all_pdf_asserts

Calls out of the computer

Claim What the test checks Test
The update check sends nothing about you. One GET with no query string, no cookie, no version number in any header, and a short fixed list of headers. The code has no download or run step. tests/test_updater.py: test_request_privacy, test_module_never_downloads_or_executes
Every outside web address in the code is listed. The test fails when an address appears in the code that the calls page does not list, and when a listed address has left the code. It cannot see an address built entirely from your settings or a posting, and it does not scan libraries. tests/test_outbound_inventory.py: all three tests
The assistant-facing action tools never reach outside. All five tools run with every non-local connection blocked, at both the socket and the event-loop layers. The blocking guard is itself tested. tests/test_mcp_actions.py: test_ingest_opportunity_stores_locally_and_never_fetches_the_url, test_trigger_scan_only_enqueues_and_does_not_scrape, test_the_outbound_guard_catches_the_async_path
Kestrel's own requests carry a descriptive User-Agent, are rate limited, and honor a robots.txt rule for the sources that check it. Every request is checked for the User-Agent and for the rate limiter. For a request that asks for the robots.txt check, a disallowed path is refused. The test does not cover the sources that skip the check, or the JobSpy library, which sends its own headers. The calls page lists which is which. tests/test_http_client.py: test_every_request_carries_the_configured_user_agent, test_every_request_goes_through_the_rate_limiter, test_robots_disallow_blocks_request

How the tests themselves stay offline

By rule, no test calls a live job board, hiring system, or SEC endpoint. The readers for those sources are tested on saved sample data in tests/fixtures, with the web layer mocked in dozens of test files. This is a rule each test follows, not a switch that blocks the network for every test. The strong network block is the one in tests/test_mcp_actions.py, described above.

Checked against Kestrel 0.7.6 on November 11, 2026.