Metadata-Version: 2.4
Name: waze-logs
Version: 1.2.2
Summary: Worldwide Waze traffic event collection and analysis tool - demonstrates location privacy risks in crowdsourced traffic applications
Author-email: jasperan <jasperan@users.noreply.github.com>
Maintainer-email: jasperan <jasperan@users.noreply.github.com>
License: MIT
Project-URL: Homepage, https://github.com/jasperan/waze-osint-tracker
Project-URL: Repository, https://github.com/jasperan/waze-osint-tracker
Project-URL: Issues, https://github.com/jasperan/waze-osint-tracker/issues
Keywords: waze,traffic,privacy,osint,geolocation,security-research,data-collection
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: requests>=2.28
Requires-Dist: pyyaml>=6.0
Requires-Dist: tabulate>=0.9
Requires-Dist: flask>=2.0
Requires-Dist: rich>=13.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Dynamic: license-file

# Waze OSINT Tracker

[![PyPI version](https://badge.fury.io/py/waze-logs.svg)](https://pypi.org/project/waze-logs/)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A worldwide data collection tool for Waze traffic events. Demonstrates location privacy risks in crowdsourced traffic applications.

![Web UI Main View](https://raw.githubusercontent.com/jasperan/waze-osint-tracker/main/img/web-ui-main.png)

![Web UI Live Events](https://raw.githubusercontent.com/jasperan/waze-osint-tracker/main/img/web-ui-event.png)

## What It Does

Captures Waze traffic reports (police, jams, hazards, accidents, road closures) from **5 continents** including username, GPS coordinates, and timestamps. By collecting this data over time, it's possible to build movement profiles of individual users - demonstrating privacy implications of Waze's crowdsourced model.

**Based on research by [Covert Labs](https://x.com/harrris0n/status/2014197314571952167)**

## Quick Start

```bash
# Install
pip install waze-logs

# Run (starts collector + web UI in background)
waze start -b

# Open http://localhost:5000
```

That's it. The web UI shows a live map with events streaming in from around the world.

## Additional Commands

```bash
waze --help      # See all available commands
waze stop        # Stop the collector
waze logs        # Watch live output
```

## Privacy & Ethics

This tool is for **security research and education** - demonstrating privacy risks in Waze's design.

**Do not use for:**
- Stalking or tracking individuals
- Publishing identifiable data
- Any illegal surveillance

## License

MIT

---

## Annex: Sample Data

### Collected Events

Here's what the raw collected data looks like - real events captured from the Waze network:

| Username | Type | Coordinates | Timestamp | Region |
|----------|------|-------------|-----------|--------|
| `user_a]1b2c3d4` | POLICE | 40.4168, -3.7038 | 2026-01-24 14:32:15 | Europe |
| `driver_x7y8z9` | HAZARD | 48.8566, 2.3522 | 2026-01-24 14:31:02 | Europe |
| `waze_usr_123` | JAM | 34.0522, -118.2437 | 2026-01-24 06:28:44 | Americas |
| `report_456` | ACCIDENT | -33.8688, 151.2093 | 2026-01-25 01:15:33 | Oceania |
| `user_tokyo_99` | ROAD_CLOSED | 35.6762, 139.6503 | 2026-01-24 23:45:18 | Asia |

### Event Types Breakdown

From a sample collection of ~365,000 events:

```
HAZARD       158,860  (43.5%)  - Road hazards, objects, weather
JAM           82,102  (22.5%)  - Traffic congestion reports
POLICE        60,615  (16.6%)  - Police sightings
ROAD_CLOSED   53,134  (14.6%)  - Road closures, construction
ACCIDENT       9,358   (2.6%)  - Crash reports
CHIT_CHAT        885   (0.2%)  - Community messages
```

### API Response Example

The `/api/events` endpoint returns data like this:

```json
{
  "events": [
    {
      "id": "eu_12345",
      "username": "driver_abc123",
      "latitude": 52.3676,
      "longitude": 4.9041,
      "timestamp": "2026-01-24T10:30:00+00:00",
      "report_type": "POLICE",
      "subtype": "POLICE_VISIBLE",
      "region": "europe",
      "grid_cell": "amsterdam"
    }
  ],
  "total": 1
}
```

### Coverage Statistics

The collector scans **8,656 grid cells** across 5 continents:

| Region | Cities (P1) | Coverage (P3) | Total Cells |
|--------|-------------|---------------|-------------|
| Europe | 477 | 1,748 | 2,225 |
| Americas | 693 | 1,692 | 2,385 |
| Asia | 684 | 1,517 | 2,201 |
| Oceania | 216 | 481 | 697 |
| Africa | 315 | 833 | 1,148 |
| **Total** | **2,385** | **6,271** | **8,656** |

### CLI Output Sample

```
$ waze start -b
Collector started in background
Web UI available at http://localhost:5000
Use 'waze logs' to watch output or 'waze stop' to stop

$ waze logs
[14:32:15] + POLICE       @  40.41680,   -3.70380 - user_a1b2c3d4
[14:32:17] + JAM          @  48.85660,    2.35220 (JAM_HEAVY_TRAFFIC) - driver_x7y8z9
[14:32:19] + HAZARD       @  51.50740,   -0.12780 (HAZARD_ON_ROAD) - london_user_42
```
