Jev directory
CommunityJev Tools & CLIs
Omamori
Ruby gem that scans code and diffs for security vulnerabilities, combining static analysis with AI. A fast decision model such as TypeSafe Jev answers 35 yes/no risk checks, and an LLM writes reports only for the flagged checks.
- Reading time
- 3 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Checks 35 vulnerability types as yes/no questions with a decision model such as TypeSafe Jev.
- The reporter can be any API RubyLLM supports or a Claude Code / Codex subscription.
- Integrates with Brakeman and Bundler-Audit and reports in console, HTML, or JSON.
- Scans staged changes, a branch diff with --base, the whole codebase, or specific paths.
- Classifier sub-checks cover XSS, SQL injection, mass assignment, CSRF, open redirect, and more.
Questions about this entry
Short answers drawn from the linked project or page.
Add gem 'omamori', group: :development, require: false to your Gemfile and run bundle install. Then run omamori init with flags such as --reporter claude_code, --reporter codex, or --reporter anthropic with --reporter-model. This writes .omamorirc and .omamoriignore and prints the next steps. An existing .omamorirc is not overwritten unless you pass --force.
API keys are passed through environment variables named after RubyLLM's settings in upper case, such as ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, OPENROUTER_API_KEY, and TYPESAFE_API_KEY for the Jev classifier. The claude_code and codex reporters use the installed CLI's login, so no API key is needed for them.
The optional classifier checks each of 35 risks as a yes/no question. For each file, all checks are sent in a single request and files are processed in parallel. Checks below the probability threshold pass immediately, and only the remaining checks go to the reporter. If the classifier fails for a file, every check for that file is escalated to the reporter.
Code diffs are sent to the classifier and reporter providers you choose. For code that must not leave your environment, choose a model that runs locally, such as one on Ollama. The claude_code and codex reporters send diffs through the installed CLI's own login.
It scans staged changes with git diff --staged, a branch diff with --base, the entire codebase, or specified files and directories. There is no default reporter, so if neither .omamorirc nor --reporter sets one, omamori scan stops and shows how to run init.
Run omamori doctor. It sends the classifier and the reporter one small request each and reports what is missing, such as an API key or a CLI that needs installing or logging in to, along with how to fix it. It exits with 0 when everything works and 1 otherwise.
The gem describes itself as a protective charm and does not guarantee the safety of your programs. LLM results tend to vary from run to run. Risks about something being absent, such as CSP, security headers, production settings, two-factor authentication, password policy, and audit logging, are judged as whether a change weakens or removes an existing protection.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Vercel's fx safety reviewer, measured at 18× faster
Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.
YouTube: Ray Amjad puts Jev inside an agentic coding loop and looks at what it costs to run.
YouTube: RoboNuggets puts Jev to work inside Claude Code.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.