Code Pathfinder | AI-Native Open Source Static Code Analysis

Get started in seconds

Choose your preferred installation method

brew install shivasurya/tap/pathfinder

macOS & Linux • v0.0.34+

Developers trust findings from Code Pathfinder

SecureFlow AI

Say goodbye to false positives

Get findings you feel confident bringing to developers across SAST, SCA, and Secrets scanning. Filter out the false positives that traditional tools always flag with contextual, AI-powered noise filtering.

Read our guide on reducing false positives

Vulnerability Trend (Last 30 days)

Jan 1Jan 30

1from django.db import connection

2

3def get_user(user_id):

4cursor = connection.cursor()

5query = f"SELECT * FROM users WHERE id = {user_id}"

6cursor.execute(query)

7return cursor.fetchone()

SQL Injection (CWE-89)

User input flows to SQL execution without sanitization

Code Graph Analysis

Eliminate developer friction

Automatically hide likely false positives from developers. Present findings and fixes to developers in their native workflows with structural search, call graphs, and source-to-sink tracing.

Explore security rules and code graph analysis

.github/workflows/security.yml

name: Security Scan

on: [push, pull_request]

jobs:

security:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v6

- name: Run Code Pathfinder

run: |

npm install -g codepathfinder

pathfinder ci --project . --ruleset cpf/python

Performance that doesn't compromise security

Lightning-fast scans with AI precision that actually catches vulnerabilities.

98%

Fewer false positives with AI filtering

Security rules that grow with threats

Protect your code with an ever-growing set of security rules covering OWASP Top 10, CVEs, and framework-specific vulnerabilities.

View all security rules

Connect your AI assistant to your codebase

Query your codebase with natural language through Claude Code, Codex, OpenCode, or Windsurf. Get instant answers about function calls, dependencies, and code structure without leaving your editor.

Natural Language Queries

Ask "What calls this function?" or "Show me all database queries"

Deep Call Graph Analysis

Trace function calls, dependencies, and data flows across your entire project

Multi-Project Support

Query across microservices, monorepos, and complex architectures

Example Query

Ask your AI assistant

You ask:

"What functions call validate_user?"

AI responds:

Found 12 functions that call validate_user:

• app.api.login_endpoint
• app.api.register_endpoint
• app.middleware.auth_middleware
• app.cli.login_command
... and 8 more

Powered by Model Context Protocol (MCP)

Build secure software without drowning in alerts

Focus on real vulnerabilities with AI-powered precision that cuts through the noise of traditional security scanners.