[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111233":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":14,"starSnapshotCount":14,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},111233,"flyover-scrub","lizTheDeveloper\u002Fflyover-scrub","lizTheDeveloper","Remove aircraft Doppler signatures from audio\u002Fvideo so recordings can't be geolocated from flyovers. Includes a reference attack scorer to measure it.",null,"Python",474,46,8,0,9,82,323,44,92.99,"MIT License",false,"main",true,[25,26,27,28,29,30],"ads-b","audio","doppler","geolocation","osint","privacy","2026-11-10 20:42:33","2026-11-23 19:20:36","# flyover-scrub\n\nRemove aircraft Doppler signatures from audio and video, so a recording can't be\ngeolocated from the planes flying over it.\n\nThe attack was shown by **colsto** in\n[*I discovered a sound that leaks your exact location (and it's everywhere)*](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=UytYrhYLOKI)\n([@colsto](https:\u002F\u002Fwww.youtube.com\u002F@colsto)). This repo is a defence against it, plus an independent replication.\n\n> **It works on real phone videos.** On my own iPhone videos and public ADS-B data, a Cessna nobody could hear\n> located an indoor selfie to 61–134 m, and a helicopter heard from a parked car picked the right aircraft out of 18.\n> It survived 32 of 34 codec and filter chains, and TikTok passes faint tones through untouched.\n> Full write-up, data and a reproducible proof of concept: [`research\u002F`](research\u002FREADME.md).\n\n![One sound. 787 m from the true spot.](research\u002Ffigures\u002Fvideo\u002F03_where_it_was_recorded.png)\n\n\u003Cdetails>\u003Csummary>All figures\u003C\u002Fsummary>\n\n| | |\n|---|---|\n| ![The sound you can't hear](research\u002Ffigures\u002Fvideo\u002F01_the_sound_you_cant_hear.png) | ![18 aircraft nearby. One fits.](research\u002Ffigures\u002Fvideo\u002F02_eighteen_aircraft_one_fits.png) |\n| ![Re-encoding doesn't hide it](research\u002Ffigures\u002Fvideo\u002F04_reencoding_doesnt_hide_it.png) | ![Posting it doesn't wash it out](research\u002Ffigures\u002Fvideo\u002F05_platforms_keep_it.png) |\n| ![flyover-scrub: the line is gone](research\u002Ffigures\u002Fvideo\u002F06_before_after_scrub.png) | ![Ordinary processing barely dents it](research\u002Ffigures\u002Fvideo\u002F07_what_removes_it.png) |\n\n\u003C\u002Fdetails>\n\n```sh\nuv tool install .                         # or: uv run flyover-scrub ...\nflyover-scrub input.mov -o output.mov     # audio scrubbed, video copied, metadata stripped\nflyover-scrub --check input.mp4           # report long tonal ridges, write nothing\n```\n\nBoth modes also report **grid hum (ENF)**: mains hum whose frequency wanders with the power grid, which can date\na recording and tell which grid it was made on. Scrubbing removes it by default (`--keep-hum` keeps it). See\n[`research\u002F`](research\u002FREADME.md#4-the-other-leak-grid-hum-enf).\n\n## Audit your own recordings against real flights\n\n```sh\n# 1. While you record, log aircraft around where you are (gently: one small\n#    request every 5 s to the free adsb.lol community API, with backoff).\nflyover-capture --at 42.36,-83.13 --minutes 15 -o flights.jsonl\n\n# 2. Ask: would the attack have found me? And after scrubbing?\nflyover-audit recording.mov --flights flights.jsonl --scrub\n\n# 3. If you can see a line in the spectrogram, fit it directly (stronger on real recordings):\nflyover-audit recording.mov --flights flights.jsonl --scrub --trace 10,75,65,95   # t_lo,t_hi,f_lo,f_hi\n```\n\n```\n  N123AB (C172, cat A1) closest 1.1 km\n    original  top guess    158 m from you, your spot ranked 3\u002F1357, signal 34.4x chance  -> EXPOSED\n    scrubbed  top guess   1553 m from you, your spot ranked 506\u002F1352, signal  1.1x chance  -> not located\n```\n\nThe audit reads the start time and position from the file's own tags (iPhone\n`.MOV` has both), or takes `--start` and `--at`. It **requires your true\nlocation**. It answers \"am I exposed?\" and isn't meant for locating recordings you\ndidn't make. For the same reason, the package has no bulk or historical flight download. (The research\nscripts include one that reads adsb.lol's public daily archive with ranged requests, used to find aircraft passes\nin my own clips.)\n\n\"Signal × chance\" compares the best match against the same search run on the\ntime-reversed spectrogram, where aircraft lines rise instead of falling and can\nonly match by chance. It reads ~0.5 with no aircraft, ~1–2 after scrubbing and\n20–35 for an inaudible *synthetic* light-aircraft flyover. The verdict threshold is 4. A real Cessna flyover\nscored only 2–3× while ranking the true spot first, so 2–4× with the true spot in the top 10 reads \"possibly exposed\". These\ncalibration numbers come from a handful of synthetic cases; treat borderline\nresults with care.\n\nNotes: the live API only records the present, so start `flyover-capture` before\nyou record. Exports, edits and messaging apps often rewrite a file's creation\ndate, so pass `--start` if the file has been through anything. Each aircraft is\naudited separately; jets and helicopters are tested too, though the scorer was\ntuned on propeller tones.\n\n## The attack\n\n[colsto showed](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=UytYrhYLOKI) that one minute of\naudio with an *inaudible* propeller flyover is enough to locate a recording to\nwithin a couple of hundred feet. The method:\n\n1. A long-window, whitened spectrogram shows the aircraft's Doppler curve, even\n   when you can't hear it.\n2. Public ADS-B data gives every aircraft's track.\n3. For each candidate location, model the exact curve that track would produce\n   there. The pitch heard at time *t* depends on the plane's motion when it\n   **emitted** the sound, not where it is at *t*.\n4. Sum the spectrogram energy under each modelled curve. The best match is the\n   location.\n\nHe showed that a high-pass filter doesn't stop this (boosting brings the line\nback), that talking over it doesn't either, and that it survives phone-call\ncompression.\n\n`flyover_scrub.attack` is a working reference implementation of the scorer.\nIt's here so the defence can be **measured** rather than assumed.\n\n`flyover_scrub.trace` is the trace-and-fit variant colsto uses for faint curves: follow the visible line, solve\nthe source pitch in closed form for each candidate spot, and score the RMS residual in cents. On real recordings\nit is the stronger of the two (see [`research\u002F`](research\u002FREADME.md)).\n\n## Why \"just denoise it\" isn't enough\n\nThe attack is a **matched filter**. It adds up evidence along a long,\nprecisely predicted curve, so it can recover lines far below the noise floor and\nlines that were only *attenuated*. A defence must leave the affected bins with\n**no information about the curve**, not just make them quieter. A per-frame\ndetector can't do this alone: we measured that a −28 dB line and chance noise\nchains look the same frame by frame.\n\n## The defence\n\nFor every STFT bin in the protected band (default 20–2000 Hz):\n\n| Bin type | Treatment |\n|---|---|\n| Background (\u003C 12 dB above the local floor) | **Re-synthesised** with fresh random-phase noise at the same local power. The room tone sounds the same, and sub-floor lines are gone. |\n| Long, slowly gliding narrowband ridges (aircraft, drones, traffic, HVAC, hum) | Replaced with floor-level noise (removed) |\n| Other foreground (speech, music, transients) | Passed through untouched |\n\nLevel corrections use only one whole-file number per frequency, so they can't\nreintroduce time-varying structure.\n\n## Results\n\nA physically modelled propeller flyover (700 m AGL, gentle turn) was mixed into\ntwo real iPhone recordings. The recording's GPS fix is the ground truth. The\nattacker gets an ADS-B-like copy of the track (1 Hz, metre-level noise, smoothed),\na clock that is off by 2.5 s, and a 10 × 10 km search box with ~2,400–3,000\ncandidates refined to 50 m. Run with `eval\u002Frun_eval.py`.\n\n| Condition | Location error | Rank of true location |\n|---|---|---|\n| No aircraft (control) | 1.5–5.3 km | random |\n| Raw, flyover −30 dB (inaudible) | 0–461 m | #1 in 4\u002F6, #3 and #15 otherwise |\n| Raw, flyover −10 dB | 0–461 m | #1 in 4\u002F6, #2 and #10 otherwise |\n| High-pass 300 Hz then boost | 0–112 m | #1 (no defence, matching the video) |\n| **flyover-scrub** (12 runs: 2 recordings × 3 seeds × 2 levels) | **1.1–5.1 km** | **351–2087**, no better than chance |\n\nQuality (vs the aircraft-free original, phase-insensitive):\n\n* Above 2 kHz: untouched (0.01 dB).\n* 120 Hz–2 kHz: long-term tonal balance within ~1 dB.\n* Below 100 Hz: −4 to −9 dB, because steady hum and machine tones are removed. Mains\n  hum is a separate forensic leak (ENF timestamping), so this is the default;\n  `--keep-hum` keeps perfectly steady tones.\n* Foreground content between 8 and 12 dB above the floor is re-synthesised. Quiet\n  details close to the noise floor get softer.\n\n## Limits (read these)\n\n* **Tested against both scorers**: on simulated flyovers in real recordings, and on two real\n  ADS-B-matched flyovers (a Cessna and an R44 helicopter; after scrubbing, neither leaves a traceable line). Not yet\n  tested against learned detectors or multiple flights with a locked offset. Treat the results as evidence, not a guarantee.\n* Aircraft energy that **overlaps loud foreground** (speech harmonics crossing the\n  line) is kept along with the foreground. In our tests the residual was too small\n  to score, but louder flyovers under continuous speech are the most likely leak.\n* It only protects the copy you publish. The original file, live streams, calls and\n  CCTV are out of scope.\n* Stereo channels are scrubbed independently, so the background noise becomes\n  decorrelated (slightly wider room tone).\n* **Cutting** the audio (no long continuous stretches) remains a cheap, complementary\n  defence. **Metadata** is a far easier leak than any of this, so the CLI strips it by\n  default.\n\n## Development\n\n```sh\nuv run pytest -q\nuv run python eval\u002Frun_eval.py path\u002Fto\u002Frecording.wav --level-db -30 --seed 1\nuv run python eval\u002Fquality.py path\u002Fto\u002Frecording.wav out_dir raw scrub\n```\n\n## Credits\n\n* **colsto**, [*I discovered a sound that leaks your exact location (and it's everywhere)*](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=UytYrhYLOKI):\n  the attack, the emission-time Doppler model and the trace-and-fit method.\n* [adsb.lol](https:\u002F\u002Fadsb.lol): open ADS-B data.\n\nMIT licensed.\n","flyover-scrub 是一个用于消除音视频中飞机多普勒频移特征的隐私保护工具，防止通过飞行器声学信号对录制位置进行地理定位。其核心功能包括：自动检测并抹除音频\u002F视频频谱中由飞越飞机引起的线性多普勒轨迹（如ADS-B关联的Cessna或直升机特征），同时可选去除电网哼声（ENF）以防范时间与区域双重泄露；提供攻击效果评估模块（flyover-audit）和真实航班数据联动审计能力。项目基于Python实现，兼容手机直录视频，经实测在TikTok等平台转码后仍有效。适用于记者、活动人士、敏感场所工作人员等需防范声学地理溯源的隐私敏感场景。",2,"2026-11-24 04:40:30","CREATED_QUERY"]