Open folder
Launch the app and select your project directory.
You open your project folder and ask the agent to find route handlers that lack authorization checks. The agent uses grep to scan the source code and read_file to inspect the context of each match. You review the findings in the chat and approve the suggested fixes using Ask first mode, then explore why xss persists in modern frameworks.
Launch the app and select your project directory.
Request a list of route handlers to check for missing access checks.
Check the proposed code changes in the chat.
Approve the edit_file action to apply the fix.
expected-headers.txt8 lineshttps://staging.example.com200 OKContent-Security-Policy1 matchconfig.yamlsaved# Security headers for staging environment
Content-Security-Policy: default-src 'self'
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=()
# End of headersThis plain-text file lists the security headers your own staging site should return. Each line defines a standard header name and its expected value. Lines starting with a hash symbol are comments. The agent compares the live headers with this list.
You start by asking the agent to scan your repository for potential SQL injection points, and it uses grep to search for raw string concatenation in your database queries. It reads the file. The agent uses read_file to show you the surrounding code context for each match. grep finds candidate lines, and you judge each one for actual risk. If you spot a vulnerability, you can ask the agent to fix it using edit_file. The agent generates a diff that shows the proposed change, and you review it in Ask first mode. This ensures you stay in control of every change to your codebase during your web application security review. This approach supports web application security best practices as owasp helps secure web applications.
The agent uses http_get to fetch response headers from your staging URL and compares them against the expected-headers.txt file you created, so missing or incorrect headers trigger a suggested configuration change. You review the edit. The agent shows the exact diff that will be applied to your configuration file. You approve the change using Ask first mode before the agent writes the file. Every action appears in the chat as a card with its real result. The expanded card shows the full output of the command or file diff. This workflow helps you maintain web application security best practices without manual checking. We ask why broken access control vulnerabilities keep rising in modern web apps.