Skip to content

Conversation

iywang2016
Copy link
Contributor

@iywang2016 iywang2016 commented Mar 3, 2025

Associated with JDK pull request #224

gitfundo and others added 30 commits June 18, 2024 14:42
SQL tainting qualifiers and basic tests
…bined SqlQuoteless and SqlEvenQuotes; revised documentations
Copy link
Member

@mernst mernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just a couple last comments.

@iywang2016 iywang2016 requested a review from mernst June 10, 2025 09:32
@mernst mernst requested a review from Copilot July 18, 2025 14:35
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new Confidential Checker to the Checker Framework that identifies sensitive information exposure (information leakage). The checker prevents confidential values from flowing to non-confidential locations, helping prevent security vulnerabilities like PII exposure in logs, UI elements, or other public-facing sinks.

Key changes:

  • Implements a complete type system with @Confidential, @NonConfidential, @UnknownConfidential, and related qualifiers
  • Adds extensive library annotations for logging frameworks (Log4j, SLF4J, Apache Commons), Android UI components, and Spring Security
  • Includes comprehensive documentation and test cases

Reviewed Changes

Copilot reviewed 49 out of 50 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
checker-qual/src/main/java/org/checkerframework/checker/confidential/qual/*.java Core qualifier annotations defining the confidential type hierarchy
checker/src/main/java/org/checkerframework/checker/confidential/*.java Main checker implementation with type factory, visitor, and transfer functions
checker/src/main/java/org/checkerframework/checker/confidential/*.astub Library annotations for popular frameworks (Spring Security, logging libraries, Android)
docs/manual/confidential-checker.tex Complete documentation chapter explaining the checker's purpose and usage
framework/tests/all-systems/*.java Test files with @SuppressWarnings annotations for confidential checker warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants