{"id":50709263,"url":"https://github.com/masteribro/privacy-sentinel","last_synced_at":"2026-06-09T14:01:54.129Z","repository":{"id":361355039,"uuid":"1250935008","full_name":"masteribro/privacy-sentinel","owner":"masteribro","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-30T08:00:45.000Z","size":1956,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-30T10:04:37.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masteribro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-27T05:12:08.000Z","updated_at":"2026-05-30T08:00:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/masteribro/privacy-sentinel","commit_stats":null,"previous_names":["masteribro/privacy-sentinel"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/masteribro/privacy-sentinel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masteribro%2Fprivacy-sentinel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masteribro%2Fprivacy-sentinel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masteribro%2Fprivacy-sentinel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masteribro%2Fprivacy-sentinel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masteribro","download_url":"https://codeload.github.com/masteribro/privacy-sentinel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masteribro%2Fprivacy-sentinel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-09T14:01:53.388Z","updated_at":"2026-06-09T14:01:54.122Z","avatar_url":"https://github.com/masteribro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Privacy Sentinel\n\nA Python-based tool for comparing and scoring privacy labels across iOS and Android platforms. Built as part of a BSc Cyber Security final year project at De Montfort University.\n\n---\n\n## What it does\n\nPrivacy labels — the short summaries apps publish on the App Store and Google Play — are often incomplete, vague, or inconsistent between platforms. Privacy Sentinel lets you enter label data for both platforms side by side, then scores them on three criteria:\n\n- **Completeness** — are all the required fields filled in?\n- **Specificity** — are the data types described in meaningful terms, or just vague catch-alls?\n- **Consistency** — how much do the iOS and Android labels actually agree with each other?\n\nResults are shown with a transparency score, a risk rating, and a breakdown of exactly where the two labels differ.\n\n---\n\n## Getting started\n\n**1. Clone the repo and set up a virtual environment**\n```bash\ngit clone https://github.com/masteribro/privacy-sentinel.git\ncd privacy-sentinel\npython -m venv .venv\nsource .venv/bin/activate      # Windows: .venv\\Scripts\\activate\n```\n\n**2. Install dependencies**\n```bash\npip install -r requirements.txt\n```\n\n**3. Run the app**\n```bash\nstreamlit run app.py\n```\n\nOpens at `http://localhost:8501` in your browser.\n\n---\n\n## Pages\n\n| Page | What it does |\n|---|---|\n| Dashboard | Overview of all apps analysed — KPI cards, average score by category, recent submissions |\n| Submit | Enter iOS and Android label data side by side and run the analysis |\n| Results | Transparency score, radar chart, discrepancy list, and CSV export |\n| History | Browse, search, and filter all past submissions |\n| Settings | Adjust the High / Medium risk score thresholds |\n\n---\n\n## Project structure\n\n```\nprivacy_sentinel/\n    db_setup.py       — creates and migrates the SQLite database\n    comparator.py     — compares two labels using Jaccard similarity\n    scoring.py        — calculates completeness, specificity, consistency scores\n    data_manager.py   — handles all database reads and writes\napp.py                — Streamlit interface\nrequirements.txt\ntests/\n    test_comparator.py\n    test_scoring.py\n```\n\n---\n\n## Running tests\n\n```bash\npytest\n```\n\n---\n\n## Built with\n\n- Python 3.11\n- Streamlit\n- Plotly Express\n- SQLite3\n- pandas\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasteribro%2Fprivacy-sentinel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasteribro%2Fprivacy-sentinel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasteribro%2Fprivacy-sentinel/lists"}