Skip to content

Conversation

phawrylak
Copy link

This pull request updates the list of excluded file extensions in the workspaceFileIndex.ts file to improve security and prevent indexing of sensitive files. The change specifically adds several certificate and private key file types to the exclusion list.

Security-related exclusions:

  • Added certificate and private key extensions (pfx, p12, pem, crt, cer, key, priv, jks, keystore, csr) to the EXCLUDE_EXTENSIONS set in workspaceFileIndex.ts to prevent indexing of security-sensitive files.

@Copilot Copilot AI review requested due to automatic review settings September 26, 2025 09:15
Copy link
Contributor

@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 pull request enhances security by preventing the indexing of sensitive certificate and private key files in the workspace file indexing system. It adds security-related file extensions to the exclusion list to avoid accidentally processing or exposing sensitive cryptographic materials.

  • Adds certificate file extensions (pfx, p12, pem, crt, cer) to prevent indexing
  • Adds private key extensions (key, priv) to the exclusion list
  • Includes Java keystore formats (jks, keystore) and certificate signing requests (csr)

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

Successfully merging this pull request may close these issues.

2 participants