Deepsec Security Scanner
Agent-powered vulnerability scanner for on-demand review of large-scale codebases, surfacing hard-to-find security issues.
- Source repo
- vercel-labs/deepsec
- Stars
- ★ 8.7k
- Last updated
- 2d ago
- FARS reviewed
- Nov 08, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 73/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Engineering teams with large codebases who need periodic deep security scans to identify latent vulnerabilities.
- Not a fit if
- Teams with tight budgets who cannot spend thousands on scans
- Teams expecting out-of-the-box coverage for every tech stack
- Website
- deepsec.sh ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-30+8.6 ★/day over 7 days
- Source review
- 73/100 · Some gaps
What does this agent do, and when should you use it?
Deepsec is an agent-driven vulnerability scanner that runs in your own infrastructure, optimized for on-demand review of all code in existing large-scale repositories. It employs top-tier AI models at maximum thinking levels to uncover hard-to-find issues that have lurked for long. Parallel execution across worker machines scales for large codebases, and interrupted runs can be resumed. Deepsec maintains all state and findings in a .deepsec/ directory. It offers commands like scan, process, revalidate, and export. By default, it routes through Vercel AI Gateway but also supports bring-your-own OpenAI/Anthropic keys. Licensed under Apache 2.0.
Deepsec initializes with npx deepsec init to guide model selection and payment. It then studies the codebase, uses regex matchers for fast pattern scanning (scan), and AI-based investigation (process) to emit findings and recommendations. Additional operations include diff-specific review (process --diff), lightweight triage classification, revalidation that checks git history for fixes, enrichment with committer info, and exporting reports in Markdown/JSON. For distributed execution, pnpm deepsec sandbox process can fan out to Vercel Sandbox microVMs.
- Engineering teams with large codebases who need periodic deep security scans to identify latent vulnerabilities.
- Security auditors performing comprehensive reviews of legacy code, leveraging AI to accelerate analysis.
- CI/CD pipelines using
process --diffto gate pull requests, scanning only changed files to prevent new vulnerabilities. - Open-source maintainers using the free fast pattern scan to get candidate sites for potential issues.
- Users with budget constraints, who can set caps via
--max-cost-usdand--max-duration.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx deepsec init
How do you install or deploy this agent?
Run npx deepsec init in the root of the repository you want to scan. The command guides you through setting up the model, payment method, and initializes the tool. No separate installation needed.
How do you use this agent?
After initialization, change into .deepsec/ and use pnpm deepsec scan for fast pattern scanning, pnpm deepsec process for AI review, and pnpm deepsec export --format md-dir --out ./findings to generate a readable report. For distributed scanning, run pnpm deepsec sandbox process --project-id my-app --sandboxes 10 --concurrency 4.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- data-flow disclosure
What are this agent's strengths and limitations?
- Deep AI analysis can uncover complex, long-standing vulnerabilities that traditional tools miss.
- Resumable scans save work on interruption, continuing from the last checkpoint.
- Supports parallel distributed execution for scaling to very large repositories.
- Offers budget controls and a suite of commands for targeted, efficient review cycles.
- High cost for large codebases due to extensive AI usage, potentially thousands of dollars.
- Default dependency on Vercel AI Gateway, though direct API keys are possible.
- Requires Node.js/pnpm and network access to model APIs, with hidden environment dependencies.
- Built-in coverage may not include all tech stacks; custom matchers require additional effort.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Deepsec Security Scanner This agent | 73 · Some gaps | CLIFree + model costs | ★ 8.7k | 2d ago | TypeScript | OpenAI API |
| Bug Hunter | 76 · Good | Agent plugin / skillFree + model costs | ★ 610 | 1mo ago | JavaScript | Codex · Claude Code |
| ECC Engineering Harness | 63 · Some gaps | Agent plugin / skillFreemium | ★ 315k | 1d ago | JavaScript | Codex · Claude Code |
| ControlKeel | 58 · Major gaps | CLIFreemium | ★ 11 | 8d ago | Elixir | Codex |
How does FollowAgents rate this agent?
Why each dimension lost points
The README warns that the tool has full shell access in its runtime environment and should not be run on untrusted inputs. Sandboxes restrict egress and keep model credentials on the host, showing risk awareness (least_privilege=2). Init asks about model and payment route and offers a read-only plan, scaffold-only mode, cost and duration limits, and resumable runs, but normal init still proceeds automatically into paid AI processing (user_confirmation=2). The FAQ, README, and getting-started guide explain that code snippets go to the configured LLM and distinguish Gateway, direct providers, and local state (data_flow_transparency=3). Docs say only the API-key environment-variable name is stored, credential files are ignored, and sandboxes do not receive real model credentials; ordinary local runs still have full shell access, so sensitive-data protection is partial (sensitive_data_handling=2). The root package manifest shows dependency overrides and a pinned package manager, and CI uses frozen installation, but the packet lacks the full lockfile and per-dependency supply-chain review (dependency_security=2). The tool creates a workspace, can create a Vercel project and sandboxes, and sends code to model services; these effects are documented and sandbox use is explicit, while setup connection and processing remain automatic (external_effects=2). Interruption, budget boundaries, and resumption are documented, and state/findings live in the workspace; no complete undo path for external projects or already-sent data is shown (rollback=2). Package metadata names Vercel as author and gives a repository and Apache license; SECURITY.md gives a disclosure email. Publisher identity is unverified in this assessment, and maintenance responsibility is not assigned clearly to a team (source_attribution=1).
README, getting-started, and FAQ largely agree on setup, resumption, cost stages, and export. There are minor differences: docs use both npx and pnpm in different contexts, and the FAQ summarizes install steps more briefly than the getting-started guide (self_consistency=2). The package manifest specifies Node >=22 and pnpm; CI covers Node 22/24 with frozen install. AI services, Vercel login, and the npm package remain external availability dependencies (dependency_availability=2). The CLI validates options, the processor tracks failed batches and quota exhaustion, and docs explain exit codes and recovery; the packet does not show error handling for every command path (failure_messages=2).
The packet covers legacy repositories, one-off scans, diffs/CI, multiple projects, multiple languages, Claude/Codex/Pi, several credential routes, and local or sandbox environments (audience_and_scenarios=3). Security boundaries describe full shell access, trusted-input expectations, sandbox egress restrictions, and credential handling, but the packet does not show implementation for every agent permission or outbound data path (capability_boundaries=2). The root SKILL.md says to activate on an explicit /deepsec invocation or scan request and requires choosing scope first, giving a precise trigger (trigger_precision=3). Node 22+, pnpm/npm, headless JSON output, CI, direct APIs, local subscriptions, and optional Vercel Sandbox are addressed (environment_fit=3).
The README, standalone usage skill, installed-package skill, and topic-based docs give clear entry points. CLAUDE.md describes repository layout and contributor practices, so it is repository guidance rather than the Agent product itself (information_architecture=3). Install, execution, credentials, package-manager alternatives, headless operation, scaffold-only mode, and recovery steps have concrete commands (install_notes=3). Product and command naming is mostly stable, with minor casing and path/package-manager variations (naming_stability=2). The docs include commands, config examples, cost estimates, troubleshooting, CI, accuracy notes, and an FAQ (examples_and_faq=3). They disclose high costs, need for finding review, matcher coverage dependence, Sandbox account needs, and external credentials; model-service retention differences are not fully detailed (known_limitations=2). Apache 2.0 metadata is supported by the license file (license=3). A package version and manual semantic-version bump workflow are present, but the packet has no user-facing changelog (versioning_changelog=2). A security disclosure address and contribution-doc link exist, but no product maintenance team, support commitment, or maintenance plan is identified in the packet (maintenance_responsibility=1).
Markdown/JSON exports, project reports, status, diff gating, and resumable processing make outputs usable for review, with artifacts stored in the local workspace (output_usability=3). Regex candidate selection plus AI investigation, matcher coverage repair, revalidation, and cross-agent second opinions provide a clear security-review benefit; the claimed effectiveness is documented rather than independently demonstrated here (marginal_value=2). The docs acknowledge costs reaching thousands or tens of thousands of dollars and provide caps, staged runs, and small-sample calibration, but costs remain substantial and depend on model and code complexity (cost_benefit=2).
Claims about costs, credential routes, commands, state paths, and security boundaries are traceable to README, FAQ, guides, or CLI/processor source. Some accuracy and provider privacy claims appear only in documentation (claim_traceability=2). README, FAQ, getting-started, and CLI/processor source corroborate the main workflow and error handling; important data-transfer and sandbox-isolation details still rely mainly on documentation (cross_source_corroboration=2). Documentation sometimes blends implementation facts with cost/accuracy estimates and product claims without consistently labeling measured evidence versus general assertions, so this review deducts conservatively (fact_inference_separation=2).
- Default initialization proceeds into AI processing and may incur high model costs; use the read-only plan, budget limits, or scaffold mode first, and confirm the code may be sent to the selected model service.
- The tool runs with full shell access. For untrusted repositories or external dependency content, prefer the documented isolated sandbox and review its findings.
FAQ
What is the cost of a scan?
--max-cost-usd.Do I need a Vercel account?
--model-auth direct; no Vercel account is required in that mode.What if a scan is interrupted?
Is Deepsec itself secure to run?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.