VibeDefend by CybeDefend - The one command line to secure your Cursor and Claude Code

by•
VibeDefend installs on your AI coding agent (Claude Code, Cursor, Windsurf, Copilot, Codex and more) with one command. From then on the agent writes with your business rules, mined from your repo, and your security rules in its context. It scans each diff while the file is still open, and a guard refuses rm -rf, sudo or a read of your secrets before it runs. Scanners check code after the commit, this runs before the line is written. Free plan, no card.

Add a comment

Replies

Best

Mining rules from the repo worries me a bit on older codebases. I audited one last month where four different places decided who counts as an admin, and they disagreed: two lower cased the email, two didn't. "Most consistent convention" there is a two against two tie, and either winner is a bug.

Does the miner flag contradictions like that for a human, or pick one? I'd rather get the list of disagreements than the rules.

 Great example, and exactly why the miner doesn't pick. When implementations contradict each other, like your 2 vs 2 admin check, it flags the contradiction for a human to arbitrate instead of turning either side into a rule. As you said, either winner would be a bug.

So you get the disagreements as disagreements. Once your team settles on the right behavior, it becomes the rule and the agent stops reproducing the inconsistency.

  anything should build/improve/fix from your perspective?

 one thing: show where each mined rule came from, the files it was seen in. A rule written as a plain sentence is easy to approve without checking, and the evidence is what I'd actually review.

Florentin, flagging it for a human is the behaviour I'd want.

the 88% to 89% jump is the number I'd want more detail on, not because it's small, but because it implies 11% of cases still slip through even with the agent governed at write-time. what does that residual 11% look like in practice, is it mostly novel command patterns your ruleset hasn't seen yet, or edge cases where the agent works around the guard through a legitimate-looking path (like writing to a file that gets executed later instead of running the command directly)?

 Really sharp question, thanks. One clarification first: the 89% isn't a guard metric. It measures business-rule conformance: with VibeDefend, the agent implemented 57 of 64 graded rule specifics exactly, vs 12% for the bare agent and 13% with a realistic rules file.

The residual 11% is 7 deviations, and none of them is the agent routing around a guard:

  • 4 are rules that were never delivered: a retrieval recall gap when the rule belongs to a different family than the ticket (e.g. a loyalty rule on a refund ticket).

  • 3 were delivered but not implemented to the letter: a mis-arbitrated price edge case, a threshold the agent argued against in writing, and one rule served 13 times that the agent still dropped because the ticket explicitly asked for the opposite. Lesson learned: injection informs, it doesn't enforce.

On guards specifically: 1,769 shell commands checked, 17 refused, including one real attempt to pull a stored credential. The indirect path you describe (writing a script that runs later) is exactly what the AI judgment layer is there for, beyond literal command patterns.

Every case is detailed with its traces here:

 the "injection informs, it doesn't enforce" line is the real answer here, that one rule served 13 times and still dropped because the ticket asked for the opposite is a much better example than a clean number would've been. the retrieval-recall-gap being 4 of the 7 (rule exists but wrong family gets matched to the ticket) also makes sense as the harder failure mode, that's a search problem more than a security one. is that the piece you're actively working on improving, or is manual review of the miss list just the accepted cost for now since it's a small enough number.

 It is absolutely a context and search problem.

While we are actively improving the retrieval engine, this is exactly why we allow teams to manually complete and curate the rule corpus. It acts as a centralized, living source of truth to keep all business rules up to date and explicitly documented across the board.

 fair, and honestly "curated by the team" is a reasonable answer for something that's fundamentally a retrieval problem, not every gap needs a model fix. thanks for the detailed numbers throughout this thread, that's rare for a launch day comment section.

Your vibe-coded PR now has a bouncer. I can live with that.

 Haha, best analogy of the day!