# y0oshi/project-eyes-on — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `dev`
- Overall score: `2.9/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `bdfe9cbea14e` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/y0oshi/project-eyes-on
- Radar entry: https://radar.alplab.co/#repo/y0oshi/project-eyes-on
- License: `MIT`
- Tags: `osint`, `camera-discovery`, `dorking`, `scraping`, `recon`, `security-audit`

## Summary

Single-file Python CLI/TUI that discovers publicly exposed unauthenticated IP cameras by scraping the Insecam directory and dorking four search engines, then live-verifies streams and enriches with GeoIP.

## Implementation Check

All README features are implemented in eyes.py — 4-engine dorking with redirect decoding (DorkEngine.search_*), 3-stage Insecam crawl (InsecamScraper), magic-byte stream verification (CameraVerifier._classify), path probing (probe_stream_paths), GeoIP, TUI, and the full argparse flag table matches the README; no stubs found.

## When to Use

For authorized audits/OSINT work enumerating unauthenticated public cameras; not for anything requiring reliability guarantees — no tests, and the scrapers break whenever Yahoo/Bing/DDG change their HTML or tighten bot detection.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 3.0/5 |
| usability | 4.0/5 |
| reliability | 2.5/5 |
| security | 3.0/5 |
| integration | 2.0/5 |

## Code Evidence

eyes.py implements each claimed feature end to end: per-engine pacing, cooldown and block detection (DorkEngine._engine_fetch/_looks_blocked), Yahoo /RU=, Bing base64url /ck/a and DDG uddg= redirect decoding, ~250-dork CAMERA_DORKS list with junk-domain filtering and public-IP camera validation (_is_camera), InsecamScraper types→views→streams crawl, Harvester + probe_stream_paths (~27 common stream paths), CameraVerifier classifying MJPEG/JPEG/video from content-type and magic bytes, JSON/CSV/HTML reports (write_report), config persistence, and an arrow-key TUI with CLI fallback.

## Issues Found

No tests or CI for ~1500 lines of threading and parsing logic (eyes.py). GeoIP uses http:// not https:// (eyes.py ~L1055). install.sh demands root and symlinks into /usr/local/bin, and README says to run `sudo eyeson` — root is unnecessary for a scanner. Country targeting filters on free-text location strings (run_scan.emit), so matches can miss or false-positive. JUNK_DOMAINS contains short substrings like 'cve' and 'docs.' that over-filter legitimate hosts.

## Key Risks

Nothing was executed, so no claim of working scrapers — they depend on volatile third-party HTML and Insecam availability. No tests, no CI in the repo. GeoIP lookup sends every found camera hostname to ip-api.com over plain HTTP (eyes.py get_location), so queried IPs leave the machine in cleartext. Dual-use by design: enumerating third-party cameras has legal exposure in many jurisdictions despite the 'educational' disclaimer. The X post's 'deep web dorking' is an overclaim — the code queries ordinary search engines only.

## Reviewed Files

- `README.md`
- `eyes.py`
- `requirements.txt`
- `install.sh`
- `install.bat`
