Skip to content
7 changes: 7 additions & 0 deletions src/platform/workspaceChunkSearch/node/workspaceFileIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ const EXCLUDE_EXTENSIONS = new Set([
'jar', 'class', 'ear', 'war', // Java
'apk', 'dex', // Android
'phar', // PHP

// Certificates and private keys (security sensitive)
'pfx', 'p12', // PKCS#12 files
'pem', 'crt', 'cer', // Certificate files
'key', 'priv', // Private key files
'jks', 'keystore', // Java keystore files
'csr', // Certificate signing requests
]);

const EXCLUDED_FOLDERS = [
Expand Down