{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "semgrep-semgrep--scan-a-project-with-semgrep-ci",
 "repo": "semgrep/semgrep",
 "repo_url": "https://github.com/semgrep/semgrep",
 "repo_slug": "semgrep-semgrep",
 "title": "Scan a project for vulnerabilities with Semgrep ci",
 "page_title": "How to scan a project for vulnerabilities with Semgrep ci",
 "summary": "Log in once and scan source code and dependencies from the app root.",
 "who": "A team that wants a first security scan of an existing repository.",
 "problem": "Nobody has checked the codebase and its dependencies for known vulnerable patterns.",
 "outcome": "A report of findings in your source code and its dependencies.",
 "steps": [
  "Install with `uv tool install semgrep`",
  "Run `semgrep login` to create your account and log in, which is optional but unlocks more rules",
  "Go to your app's root directory",
  "Run `semgrep ci` to scan the project",
  "Triage the findings and fix the real ones"
 ],
 "agent_prompt": "With semgrep/semgrep installed via `uv tool install semgrep`, run `semgrep ci` in my project root and group the findings by severity with a suggested fix for each.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says registry configs report pseudonymous rule metrics; use --metrics=off to disable them.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "c",
 "requirements": [
  "Python and pip, or pipx, uv, Homebrew or Docker",
  "A project directory to scan",
  "Optional free Semgrep account for extra rules"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/semgrep-semgrep/scan-a-project-with-semgrep-ci/",
 "md": "https://dedupedai.com/use-cases/semgrep-semgrep/scan-a-project-with-semgrep-ci/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/semgrep-semgrep--scan-a-project-with-semgrep-ci.json",
 "api_version": "v1"
}
