JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
CodeSonar finds potential injection attacks through a taint analysis that tracks paths of tainted data from source locations to sink locations.
Many dangerous software errors are due to the injection of untrusted data into sensitive routines, such as database queries, HTML output, or file system access. These attacks are generally known as injection attacks. The unifying aspect of these errors is that user input can flow, unconstrained, into sensitive routines.
CodeSonar finds potential injection attacks through a taint analysis that tracks paths of tainted data from source locations to sink locations.
We use the following terminology.
Full details of these mechanisms, including lists of automatically recognized methods and details about user annotations, see the following pages.
Checks for the following CodeSonar C# warning classes make use of this taint analysis.
When enabled, checks for the taint-related C# warning classes can be performed at either basic or advanced level.
| Basic | This is generally quicker than the advanced setting, but is likely to miss more complex warnings. |
|---|---|
| Advanced | The advanced-level checker performs a more sophisticated analysis and will generally produce fewer false negatives (that is, miss fewer real problems) than the basic setting. However, it also takes longer and generally produces more false positives |
The level of checking is controlled by the setting of configuration parameter CSHARP_ANALYSIS_ADVANCED_INJECTION. Note that this controls the level of checking for all the warning classes listed.
To report problems with this documentation, please visit https://support.codesecure.com/.