DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to scan a project for vulnerabilities with Semgrep ci

Log in once and scan source code and dependencies from the app root.

Short answer: Install with uv tool install semgrep; then run semgrep login to create your account and log in, which is optional but unlocks more rules; go to your app's root directory. All steps.

Who it is forA team that wants a first security scan of an existing repository.

The problemNobody has checked the codebase and its dependencies for known vulnerable patterns.

The outcomeA report of findings in your source code and its dependencies.

What you need first

  • Python and pip, or pipx, uv, Homebrew or Docker
  • A project directory to scan
  • Optional free Semgrep account for extra rules

Steps

  1. Install with uv tool install semgrep
  2. Run semgrep login to create your account and log in, which is optional but unlocks more rules
  3. Go to your app's root directory
  4. Run semgrep ci to scan the project
  5. Triage the findings and fix the real ones

Prompt for your agent

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.

Caveat. The README says registry configs report pseudonymous rule metrics; use --metrics=off to disable them.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for semgrep/semgrep and "Scan a project for vulnerabilities with Semgrep ci"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer