# BaitWatch

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [sg](https://cerebralvalley.ai/u/pixelash), [Aditya Singh](https://cerebralvalley.ai/u/shellghostt), [Manan](https://cerebralvalley.ai/u/ensevengg)
- **GitHub:** https://github.com/ensevengg/BaitWatch
- **Demo video:** https://youtu.be/tGZM_d7i81E
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2696

AI coding agents read everything in a repo, so a stranger can hide instructions for them in a README, a rules file or a skill. BaitWatch installs once as a Claude Code hook and then checks each repo automatically, with no scan to remember.

It checks a repo in two ways:

- READ: a fine-tuned Llama Prompt Guard 2 (86M) runs locally and reads every file, including decoded hidden payloads such as invisible text. Muse Spark then judges the flagged and suspicious chunks and explains its findings in plain English.
- RUN: a decoy agent runs the repo in an offline Docker cage rigged with fake credentials and network traps, which catches attacks that only show up when the code runs.

The results combine into an ALLOW, ASK or BLOCK verdict that stops the agent before it acts on the repo. If anything in the check fails, BaitWatch fails closed rather than letting the agent through.

## More from Meta Global AI Developer Hackathon

- [PRLens](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2693)
- [Zenico Technologies](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2694)
- [Code Ranger](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2695)
- [Irzelindo Joaquim Artur Salvador](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2697)
- [Team ACE by B8i](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2698)
- [ProofLoop](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2699)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2696. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
