CodeMender lets you proactively scan your codebase for software weaknesses and execute proof-of-concept (PoC) exploits in your local sandbox to confirm exploitability while eliminating false positives.
Scan for vulnerabilities
To run a rapid security scan across your codebase, run cm find. We recommend scanning targeted modules or batches of 10 to 50 files at a time for optimal performance.
Scan a specific subdirectory:
cm find ./src/auth/
Scan a single file:
cm find ./src/auth/session_manager.py
Skip interactive approval prompts during the scan:
cm find ./src/auth/ -y
Verify vulnerabilities
Once potential vulnerabilities are identified, ask CodeMender to verify exploitability. During verification, CodeMender generates and executes a proof-of-concept (PoC) exploit in your sandbox to confirm whether the issue is genuinely exploitable.
Locate the finding-id from the output of cm report or cm find, then run:
cm verify FINDING_ID
Verification flags
- Provide custom guidance context (
-c/--context): Pass steering instructions or application domain context to guide the agent:cm verify FINDING_ID -c "Focus analysis on the multi-tenant session validation path"
- Skip PoC exploit execution (
--skip-exploit-verification): Perform static verification only without running active exploits:cm verify FINDING_ID --skip-exploit-verification
- Auto-approve prompts (
-y): Skip confirmation prompts:cm verify FINDING_ID -y