Open folder
Select your project folder in the chat.
You open a folder and ask the agent to look for secrets. It lists the files, searches for patterns, and reads the code around matches. You review the findings in a plain text file and decide what to fix after reading the findings and the code, checking the vulnerabilities data sources to understand where the reported issues originated.
Select your project folder in the chat.
The agent lists all files in the directory.
It searches for credential-like strings in the code.
The agent reads the code around each match.
.11 filespassword3 matchesconfig.pyreadscan-findings.txtsaved# Scan Findings
src/main.py:42 Hardcoded password found, CWE-798, high
src/utils.py:15 Weak hash algorithm used, CWE-327, medium
src/db.py:88 SQL query built from string, CWE-89, high
src/auth.py:12 Certificate check disabled, CWE-295, medium
src/config.py:5 Value masked, CWE-798, high
src/api.py:30 Value masked, CWE-798, high
src/lib.py:60 Value masked, CWE-798, high
src/test.py:100 Value masked, CWE-798, lowThis plain text file lists 18 findings with file paths, line numbers, descriptions, CWE types, and severity levels.
The agent uses list_dir and glob to map your project structure and it then uses grep to search for patterns like credential-like names or string-built queries. Ask first. You should consider what to focus on in code review when evaluating these findings. This approach helps you find potential issues without running the code. The agent reads the code around each match so you can judge if it is a real problem. You can use Ask first to pause before actions that change something. This ensures you stay in control of the source code analysis tools process. This page covers source code scanning tools for your workflow.
You can use edit_file to apply a fix, and the agent shows a diff so you can see exactly what changed and understand the context. This is key. Run your test command to confirm the fix did not change behavior. A clean scan does not prove the code is secure. Treat findings as leads to confirm with human judgment before merging. Use web_search to find official documentation for the weakness type. Code scanning tools reveal issues that need your attention and review. Source code analysis tools help you understand the full picture, and skills for sql code review matter.