Introducing Bevor
Infrastructure for development and security workflows
About 2 years ago we started building Bevor on the premise that securing our own, and our clients', codebases was a challenge and cost we couldn't incur. It was something that always got back-loaded, delayed launching, required unmanageable back and forth with PDF's, and largely assumed a static target. One deeply nested code change meant you had to trace down call-sites, entrypoints impacted by that change, pre-conditions, cross-function state dependencies, and more. Teams were shipping to production with no security mandate, then coming to us sometimes when it was too late. We built Bevor to move security left.
In the last couple of years, AI's use-cases in coding and security have 10x'd. The feasibility of attacking and securing a codebase at scale has increased as well: it's a double-edged sword. Having 1% lapse in coverage opens the door to 100% loss of assets, causing a huge imbalance in the cost and time to secure vs. exploit. We also had to consider that frontier models, fine-tuned models, or pre/post-processing techniques could improve so much that the act of writing code or securing code becomes purely machine driven. It'd be naive to think we could build Bevor to be this one shotter AI system for security tasks that outperforms frontier models just because we added some additional prompting or recursion. We've seen many claim this over the last couple years, but it often ends up adding bloat and additional token spend that becomes obsolete on the next model release: we wanted Bevor to have more meaning than that. Some of the stances we took when building Bevor are as follows:
- Deterministic principles should still be applied when doing non-deterministic inference against a codebase, and context is key
- Code is hierarchical and intertwined, but LLM's natively use flattened representations of text. With incremental code changes, the
diffonly tells half the story, and figuring out what's impacted costs money and time via non deterministic traversal - Compaction can lose pertinent granular context without some persistent layer, especially when you're operating against not just code, but also security posture and findings
- Collaboration, progress tracking, tool performance, and portability are important for developer and security teams
LLM's are obviously insanely powerful, people have their own trusted workflows, and both will improve over time. Bevor does not want to interfere with your workflow, it wants to work with it.
Code as a Graph
Code is hierarchical and there is merit to treating it as such. Bevor graph is built with semantics and annotations such as state propagation, effects, ownership, and non-determinism, such that any entrypoint can be highly informative up front, and optimally used for user and machine interfaces. Basically, pre-load annotations around execution paths, not just understand where you're positioned in a code graph and where you can go, but understand why going there might be pertinent for security tasks. Every traversal in the traditional sense of LLM's expands context and costs tokens, so we optimize for it. Every compaction or session restart throws away granularity, detail, and forces a recomputation, so we make it recoverable. On internal evaluations, we saw that giving an agent (Codex, mostly) access to the Bevor CLI (and therefore the Bevor Graph) and asking it to secure a codebase led to 76.1% reduction in uncached input tokens and a 28.9% reduction in model requests.
Bevor Graph also allows us to show complete execution diffs between code versions (commits), understand where your coverage is retained or lacking between code iterations, and make deeper annotation immediately retrievable. More on that soon.
Bring Your Own Security
While Bevor comes with its own internal security pipeline (will improve it in the near future), it's mostly treated as a first impression and operates against the Bevor Graph directly.
Build on whatever finds your bugs, Bevor remembers them. Your agent's context compacts and resets, your security doesn't. Your findings have a stable home, deeply linked to execution paths and nodes in the graph, that become persistent, referenceable, and collaborative, even as you're iterating on the codebase itself.
Often times, people use several tools or several runs of the same non-deterministic agents. Bevor gives those reports a home too in a unified manner. On top of that, it provides a way for you to infer which tools are outperforming others, where you should direct your cost + time, and helps you de-duplicate to produce a final report if needed.
Moving Security to the Left
A major painpoint for us doing development and security work for clients over the years were:
- pushing off security until the end of SDLC, where tight deadlines rushed security work in order to not delay launch
- not having a static target. Constant code changes and last minute commits made it challenging to do security against the code itself
- managing multiple people doing security evaluations without stepping on each others' toes and without duplicating work
- aggregating reports, back-and-forth with clients using static documents that became questionably obsolete with any given code change
How could 2 of us independently work against a codebase that was constantly changing without duplicating work, while seamlessly producing a final report? How do we know if a code change should cause us to invalidate or carry forward findings? Bevor solved these problems for us.
On collaboration:
git solved collaboration for development, and people/agents are familiar with it, so why not port it over to security? In Bevor, users can operate against the same codebase, fork others' analyses, and merge them together. Divy up the work across your team, then re-aggregate. Findings are tied to code, so this merging is seamless, even if the underlying code has changed. One of us uses tool X, the other uses Y, we aggregate, discuss findings via comments directly in Bevor, and iterate until we have a final report, for example. Bevor comes with a baked in chat that has insight into your findings and the Bevor Graph, and can be used to triage and drive the analysis as well.
On not having a static target:
A single code change, especially if deeply nested, can make it hard to infer which entrypoints into your system are impacted. A diff only shows you the segment that changed, but not what's impacted. Bevor solves for this by coupling the Bevor Graph with the actual findings.
Consider git commit X that you conducted your analyses against, and there are 10 entrypoints each with 1 finding. Commit Y comes in, which resolves a bug in a helper function that spans 2 entrypoints. Bevor will prompt you to sync your analysis with the new commit -> once you do, your "new" analysis against commit Y will borrow findings for 8 of the 10 entrypoints. Now you know your coverage is no longer complete (that new helper method could feasibly require analysis), but you completely avoid re-implementing your security workflow on 80% of your codebase, and you have an updated security posture since that 1 changed finding was remediated. This 1:1 matching of execution paths might be too strict for your use-case, but there is flexibility in what is "potentially" invalid vs what is "definitely" invalid, and it's all configurable.
Who Bevor is For
Developers & Teams Shipping Contracts:
Security is often an afterthought, and sometimes not even assessed until it's too late. Integrating Bevor into your workflow, whether directly in the terminal via CLI + Skill, or as part of CI/CD, security can be more proactive for teams shipping code. We still suggest receiving a formal audit from an expert if possible, but Bevor can help kickstart your process, prepare you accordingly.
Security Researchers, Auditors, & Engineers Shipping Security Harnesses:
However you work, whether that’s manual review, your own harness, a fine-tuned model, a swarm of agents or all of the above, Bevor gives the work somewhere to live. Findings stay tied to the code they describe, carry forward when your client pushes a last-minute commit, and survive when your agents compact or restart, so nobody re-derives work that’s already been done. Split a codebase across people and agents without stepping on each other, see which tools actually pull their weight, and merge everything into one report at the end.
Protocols & Networks:
Networks and protocols succeed when the teams building on them ship safely. A network can offer Bevor to the builders in its ecosystem, through grants, accelerators and hackathons, with first-class support for the network’s own languages and frameworks, so security starts at the first commit rather than being bolted on before launch. A launchpad can give every project launching through it a consistent way to secure its contracts before going live, and see how ready each one is, instead of trusting a PDF handed over at the last minute.