Scanners
Rules for the languages you use
About 980 OpenGrep rules from five open packs, including mobsfscan for Android and iOS. Only the rules for languages in your repository load, and a pull request that changes no source file skips OpenGrep.
Open source · AGPL-3.0
Open-source scanners check the change. Your own Claude Code, Codex or Cursor triages what they find and reads the diff. The result lands on the pull request as a check and review comments.
At or above high, on lines this change touched.
Each one is pinned by version and SHA-256 checksum and baked into the sandbox image. Their rules and configs come from the image, not from the pull request.
About 980 OpenGrep rules from five open packs, including mobsfscan for Android and iOS. Only the rules for languages in your repository load, and a pull request that changes no source file skips OpenGrep.
A credential-like value is committed to the repository. Anyone with read access to the repository (or its history) can use it. It was added in commit 8c41f0a2e9b1 of this pull request and removed by a later one, but it is still in the branch's history.
Revoke and rotate the credential, remove it from the code, and load it from a secret manager or environment variable instead.
Gitleaks scans what each commit added, not only the final files. A key added in one commit and deleted in the next is still in the branch's history on GitHub, so it is still reported.
This package version is known to be malicious.
Remove flatmap-stream now, treat any machine that installed it as compromised, and rotate the credentials it could reach.
OSV-Scanner checks lockfiles against OSV.dev, including the OpenSSF malicious packages dataset. A match is critical, and the AI can't dismiss it. Vendored C and C++ libraries are matched by file hash.
The pipeline contains an injection into bash or JavaScript with an expression that can contain user input. Sources: CI_MERGE_REQUEST_TITLE
zizmor audits GitHub workflows. poutine covers GitLab CI, Azure Pipelines and Tekton: untrusted input in scripts, a fork's code run with the pipeline's secrets, and scripts piped from curl into a shell.
This write operation is not protected by any security scheme. (at paths./orders/{id}.delete)
The route handler checks the session, but the spec tells API clients and gateways it's public.
Spectral checks OpenAPI and Swagger files with the OWASP API Security ruleset, kept to its security rules: endpoints with no authentication, credentials in URLs, plain HTTP and SSRF-prone parameters.
Scanners read files the author wrote, so they ignore suppression comments, ignore files, .gitignore and configs in the pull request. Each runs with the config in the image.
| 12 | + | export async function searchOrders(req: Request, res: Response) { |
| 13 | + | const q = String(req.query.q ?? ""); |
| 14 | + | const rows = await db.query(`SELECT * FROM orders WHERE note LIKE '%${q}%'`); |
🟠 High · OpenGrep — Tainted sql string (CWE-89)
User input from req.query reaches a SQL string built with a template literal. Use parameterized queries instead.
AI triage: confirmed — req.query.q goes straight into db.query(). This pull request removed the sanitizeSearch() call that used to escape it.
Fix: Pass the search term as a bound parameter.
opengrep.javascript.express.security.injection.tainted-sql-string·CWE-89
Reviewed 3f9c2e1 · 🟠 2 high · 🟡 1 medium
This pull request adds an order search endpoint. It removes input sanitization and builds SQL from the query string, and a new lookup route returns any order by id without checking who owns it. The OpenAPI spec adds a DELETE route with no security scheme.
| Severity | Finding | Source | Location |
|---|---|---|---|
| 🟠 high | Tainted sql string (CWE-89) | OpenGrep ✓ | api/orders/search.ts:14 |
| 🟠 high | Order lookup doesn't check who owns the order | AI review | api/orders/[id].ts:22 |
| 🟡 medium | Unauthenticated write operation | Spectral (OWASP API) ✓ | api/openapi.yaml:41 |
View full report →
Scanners: OpenGrep · OSV-Scanner · Gitleaks · Spectral (OWASP API) (3 skipped: no relevant files changed) · AI: Claude Code. Re-run from the Checks tab or the dashboard.
On the exact line, with the agent's reasoning and a suggested fix you can commit.
Fails only for findings in the diff at or above your threshold. Set it to advisory if you prefer.
Rewritten in place on each push, so the thread doesn't fill up with bot noise.
2 of 50
A file on GitHub, a gist, or a skills.sh skill page. Up to 512 KB, fetched once and saved as a copy.
All amounts are integer cents. Flag float arithmetic on money and refunds without an idempotency key.
Updated 2d ago · skills.sh
Every query on a tenant table filters by org_id from the session, never from the request.
Updated 5d ago
Instructions the reviewer reads and applies, in the order picked.
This pull request adds an order search endpoint. It removes input sanitization and builds SQL from the query string, and a new lookup route returns any order by id without checking who owns it. The OpenAPI spec adds a DELETE route with no security scheme.
Skills:API security,payments-review
A skills.sh page, a GitHub file or a gist. It's fetched once, on the server, and saved as a snapshot that never changes behind your back.
Any SKILL.md or markdown file up to 512 KB, and up to 2 MB of skills on a single review. Hidden and bidirectional characters are stripped.
Each repository picks its skills and their order. Skills shape the AI review only; the scanners stay the same.
01 / 06
Old issues elsewhere in the repository are reported for context but never fail the check, so turning OpenVScan on doesn't stop every open PR.
02 / 06
Pick which scanners run, which agent reviews, its skills and extra instructions, and the severity that fails the check.
03 / 06
Claude Code, Codex or Cursor gets a placeholder. The real credential is swapped in at the network edge, only on requests to the model API you chose.
claude -pConnectedYour Claude Pro or Max subscription, or an Anthropic API key.
04 / 06
Checkout can reach one repository, OSV-Scanner can send package names to OSV.dev, the agent can reach its model API. The rest of the time the sandbox reaches nothing.
What the container can reach, by phase
05 / 06
OpenVScan runs an MCP server. Connect Claude Code, Codex or Cursor, and ask it to read a review's findings, fix them and run the review again.
> fix the OpenVScan findings on this PR
Parameterized the search query and added an owner check to the lookup route.
✓ Check passed
06 / 06
Two Workers, a Workflow, D1, R2 and a Container. Self-host it under AGPL-3.0 with one deploy command.
$ pnpm db:migrate $ pnpm run deploy openvscan-engine deployed openvscan-web deployed workflow, D1, R2, container ok
Cloud
Install the GitHub App, pick repositories and add your agent credential. We run the Workers.
Self-host
The same code, deployed with one command. AGPL-3.0, no license key, no phone-home.
Agent
The AI review is optional. Leave it off and you still get scanner findings mapped to the diff.
Getting started
No. Leave the agent unset on a repository and you get scanner findings mapped to the diff, with the same check, comments and dashboard. The agent adds triage and its own findings on top.
No. The check fails only for findings on lines the PR changed, at or above the severity you choose. Everything else is reported for context. You can also set it to never fail.
OpenGrep has rules for about 20 languages, and only the ones in your repository load. OSV-Scanner reads lockfiles for 11 ecosystems, Trivy covers infrastructure-as-code, zizmor and poutine cover CI pipelines, Spectral checks OpenAPI specs, and Gitleaks scans any text file.
The software is free. You pay Cloudflare for Containers (Workers Paid, $5/month plus usage) and your model provider for the agent, which is optional.
Security & privacy
Claude Code: a subscription token from claude setup-token or an Anthropic API key. Codex: a ChatGPT login, a Business or Enterprise access token, or an OpenAI API key. Cursor: a Cursor API key. If you run OpenVScan as a service for other people, check your provider's terms for subscription logins; API keys are the safe choice there.
During the review the sandbox can reach only the model API you chose, through a Worker that refuses everything else. It has no GitHub token and no way to post anything itself.
Pull requests from people without write access, including forks and bots, get the scanners only. The AI review runs when someone with write access comments @<app> review, so outsiders can't spend your quota. Text from the pull request reaches the agent as untrusted input.
Install the GitHub App, add your agent, and open a pull request. The first review takes about two minutes.