Skip to content

Commit 21f1863

Browse files
authored
Merge pull request #102 from syncable-dev/develop
Develop
2 parents 627c76d + c05c444 commit 21f1863

4 files changed

Lines changed: 270 additions & 17 deletions

File tree

src/analyzer/security/config.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ impl Default for SecurityAnalysisConfig {
100100
".vercel".to_string(),
101101
".netlify".to_string(),
102102

103+
// Python virtual environments
104+
"venv/".to_string(),
105+
".venv/".to_string(),
106+
103107
// Minified and bundled files
104108
"*.min.js".to_string(),
105109
"*.min.css".to_string(),
@@ -143,6 +147,11 @@ impl Default for SecurityAnalysisConfig {
143147
"*.woff2".to_string(),
144148
"*.eot".to_string(),
145149

150+
// Database & Certificate files
151+
"*.wt".to_string(),
152+
"*.cer".to_string(),
153+
"*.jks".to_string(),
154+
146155
// Test and example files
147156
"*_sample.*".to_string(),
148157
"*example*".to_string(),

src/analyzer/security/turbo/file_discovery.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ impl FileDiscovery {
438438
"coverage", "__pycache__", ".pytest_cache", ".mypy_cache",
439439
"vendor", "packages", ".bundle", "bower_components",
440440
".nuxt", ".output", ".vercel", ".netlify", ".vscode", ".idea",
441+
".venv", "venv", // Python virtual environments
441442
];
442443

443444
for dir in always_ignore {
@@ -478,9 +479,9 @@ impl FileDiscovery {
478479
"pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx",
479480
"odt", "ods", "odp", "rtf",
480481
// Databases
481-
"db", "sqlite", "sqlite3", "mdb", "accdb",
482+
"db", "sqlite", "sqlite3", "mdb", "accdb", "wt",
482483
// Other binary formats
483-
"pyc", "pyo", "class", "jar", "war", "ear",
484+
"pyc", "pyo", "class", "jar", "war", "ear", "cer", "jks",
484485
];
485486

486487
for ext in binary_exts {

0 commit comments

Comments
 (0)