CodeQL library for C#
codeql/csharp-all 0.9.1 (changelog, source)
Search

Module PrivateData

Provides classes and predicates for identifying private data and methods for security.

‘Private’ data in general is anything that would compromise user privacy if exposed. This library tries to guess where private data may either be stored in a variable or produced by a method.

This library is not concerned with credentials. See SensitiveActions for expressions related to credentials.

Import path

import semmle.code.csharp.security.PrivateData

Imports

Forms

Provides definitions related to the namespace System.Windows.Forms.

csharp

The default C# QL library.

Classes

PrivateControlAccess

Reading the text property of a control that might contain private data.

PrivateDataExpr

An expression that might contain private data.

PrivateIndexerAccess

An indexer access that might produce private data.

PrivateMethodCall

A method call that might produce private data.

PrivateVariableAccess

An access to a variable that might contain private data.