r/reactjs • • 19d ago

Built an open-source local LAN security scanner with React & Tauri

Hey everyone,

I built Developer Shield—an open-source desktop app created specifically for devs and homelab enthusiasts who want to scan their local network without sending any telemetry or data to the cloud.

Key Features:

- Zero-Knowledge Local Scanning: Everything stays strictly on your local network/LAN.

- Custom Rules Engine: Define your own security checks and scan targets.

- Local LAN Sync: Sync scan reports across your local machines securely.

- Built with React & Tauri for a lightweight desktop footprint.

I’d love to get feedback from this community on features you'd like to see, code architecture, or custom rules!

GitHub: https://github.com/dvirby6/developer-shield

1 Upvotes

12 comments sorted by

2

u/HiHungryImDad2 19d ago

why is this a desktop app? wouldn’t it be nicer to just have it as a cli which checks across my repo / specific files via lint-staged in a precommit hook and throws an error if i try to check in a secret? this way i could also check-in the config so colleagues who are not on my LAN could use the same rules while working in the repo.

1

u/dvirby 19d ago

That’s a great point, but Developer Shield is designed for a broader scope than just standard git commit hooks!

It operates as a real-time system/network guardian to protect against API key leaks and credential theft especially when using AI coding assistants (like OpenCode/cloud models) or background scanners targeting GitHub tokens on the local environment.

Since it monitors continuous execution and system behavior in real-time (rather than just running a static check on git commit), a desktop app architecture fits best for background monitoring and active local alerts.

That said, adding a secondary CLI binary for optional pre-commit integration alongside the desktop guard is definitely an interesting direction to explore!

Appreciate the feedback!

1

u/CesnaitisSwitlana 15d ago

100%, nobody remembers to manually run a desktop app before pushing code

1

u/dvirby 15d ago

Totally get that! The goal of the desktop guard is to run continuously in the background (auto-start on boot) so you don't have to remember to open it.

However, based on this exact feedback, I'm prioritizing a CLI binary for optional pre-commit hooks as the next major addition. Appreciate the input!

1

u/dvirby 19d ago

Why I built this:
I wanted a simple, lightweight local network scanner for my setup without relying on external cloud services or telemetry. Built the UI with React and combined it with Tauri for a tiny memory footprint.

Would love to hear your thoughts on the code architecture or potential UI/UX improvements!

1

u/nopcodex90x90x90 18d ago

Who fucking hurt you?

1

u/dvirby 18d ago

Cloud telemetry services mostly.

1

u/jakiestfu 14d ago

You didn’t explain wtf it does this is so cryptic and just gives me vibe coded feelings

1

u/dvirby 12d ago

Fair point, too many vibe coders but not me.

It’s a Rust (Tauri) background scanner that watches local dev folders, processes, and open LAN ports using custom regex/entropy rules to catch leaked API keys before AI tools or scripts index them with encrypted local subnet sync and zero cloud backend.

Appreciate the feedback, updating the README to be much more direct.

1

u/dsmack6 4d ago

Please list some alternative apps in this niche. What problems it solve. Some case studies.

1

u/dvirby 1d ago

Fair enough. Closest alternatives in this space are TruffleHog and GitLeaks (great for git history and CI, but they're static CLI tools rather than live daemons watching active processes or ports), ggshield (does real-time checks, but relies heavily on a cloud SaaS backend), and Little Snitch or LuLu (monitors outbound traffic, though not built for catching leaked keys in local folders or LAN bindings).

As for what it solves, it mainly covers three gaps:

  1. Catching API keys dropped into untracked scratch folders or temp .env files before AI coding extensions or local indexers read them.
  2. Flagging local dev servers accidentally bound to 0.0.0.0 on shared Wi-Fi (offices, hackathons, cafes) that expose debug endpoints or tokens to the local subnet.
  3. Syncing alerts across teammates on the same LAN without sending file snippets or metadata to a third-party cloud server.