Skip to main content

Security Scanning

Intro

Security review is a key step in software development. CodeSouler provides powerful security review capabilities that support comprehensive security checks on code blocks and files to help developers effectively prevent potential security issues.

💡Method

Taking VScode for instance, code review is mainly through the /codereview operator in the session box.

1.Code snippet

Firstly, select a code segment and use shortcut Command + L/Ctrl + Lto add it to the dialog box context, enter /secscan, CodeSouler will analyze the content of the code segment and generate corresponding review reports and modification comments. The generated modification comments can be directly applied or inserted into the original code by clicking the option in the upper right corner.

2.Specified file

Use @filein the CodeSouler session box to specify a file for /secscan , and CodeSouler will review the entire file and provide modification comments. Users can accept or reject the revision for each modification.