
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
codepathfinder
Advanced tools
Write security rules in Python for Code Pathfinder, an open-source security scanner that combines structural code analysis with AI-powered vulnerability detection.
What you can do:
Documentation: https://codepathfinder.dev/
pip install codepathfinder
This installs both the Python SDK and the pathfinder CLI binary for your platform.
# Test CLI binary
pathfinder --version
# Test Python SDK
python -c "from codepathfinder import rule, calls; print('SDK OK')"
Source distributions are available for other platforms - the binary will be downloaded automatically on first use.
from codepathfinder import rule, flows, calls
from codepathfinder.presets import PropagationPresets
@rule(id="sql-injection", severity="critical", cwe="CWE-89")
def detect_sql_injection():
"""Detects SQL injection vulnerabilities"""
return flows(
from_sources=calls("request.GET", "request.POST"),
to_sinks=calls("execute", "executemany"),
sanitized_by=calls("quote_sql"),
propagates_through=PropagationPresets.standard(),
scope="global"
)
calls(), variable() for pattern matchingflows() for source-to-sink taint trackingAnd(), Or(), Not() for complex rulesFor detailed documentation, visit https://codepathfinder.dev/
Apache-2.0 - Apache License, Version 2.0
FAQs
Python SDK for code-pathfinder static analysis for modern security teams
The pypi package codepathfinder receives a total of 131 weekly downloads. As such, codepathfinder popularity was classified as not popular.
We found that codepathfinder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.