← Back to scan
File as GitHub Issue repo: seifreed/yaraast

Push this scan report to seifreed/yaraast

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

LDAP injection — non-constant search filter

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 Missing import: `ast` used but not imported benchmarks/benchmark_large_files.py:111
CRIT MINED107 Missing import: `ast` used but not imported examples/vt_livehunt_demo.py:42
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… yaraast/lsp/diagnostics_helpers.py:62
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… yaraast/lsp/code_action_semantic.py:131
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… yaraast/cli/yarax_services.py:109
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… yaraast/libyara/ast_optimizer.py:152
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… yaraast/cli/metrics_reporting.py:159
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … yaraast/metrics/dependency_graph_finder…:118
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … yaraast/lsp/workspace_index.py:104
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … yaraast/cli/libyara_handlers_compile.py:38
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… yaraast/cli/commands/performance.py:227
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). yaraast/lsp/signature_help.py:63
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). yaraast/lsp/lsp_docs.py:56
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). examples/vt_livehunt_demo.py:91
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:201
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:181
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:155
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:148
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:133
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:128
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:139
HIGH MINED108 `self.take_snapshot` used but never assigned in __init__ benchmarks/memory_profiler.py:120
HIGH MINED106 Phantom test coverage: test_data_dir benchmarks/conftest.py:38
HIGH MINED108 `self.benchmark_comparison` used but never assigned in __init__ benchmarks/benchmark_large_files.py:361
HIGH MINED108 `self._print_comparison` used but never assigned in __init__ benchmarks/benchmark_large_files.py:271
HIGH MINED108 `self.benchmark_streaming_parser` used but never assigned in __init__ benchmarks/benchmark_large_files.py:268
HIGH MINED108 `self.benchmark_standard_parser` used but never assigned in __init__ benchmarks/benchmark_large_files.py:261
HIGH MINED108 `self.measure_memory` used but never assigned in __init__ benchmarks/benchmark_large_files.py:192
HIGH MINED108 `self.measure_memory` used but never assigned in __init__ benchmarks/benchmark_large_files.py:184
HIGH MINED108 `self.measure_memory` used but never assigned in __init__ benchmarks/benchmark_large_files.py:108
HIGH MINED108 `self.measure_memory` used but never assigned in __init__ benchmarks/benchmark_large_files.py:99
HIGH MINED108 `self.visit` used but never assigned in __init__ examples/custom_visitor.py:219
HIGH MINED108 `self.visit` used but never assigned in __init__ examples/custom_visitor.py:214
HIGH MINED108 `self._count_modifiers` used but never assigned in __init__ examples/custom_visitor.py:85
HIGH MINED108 `self._count_modifiers` used but never assigned in __init__ examples/custom_visitor.py:80
HIGH MINED108 `self._count_modifiers` used but never assigned in __init__ examples/custom_visitor.py:75
HIGH MINED108 `self._is_simple_condition` used but never assigned in __init__ examples/custom_visitor.py:67
HIGH MINED108 `self.visit` used but never assigned in __init__ examples/custom_visitor.py:63
HIGH MINED108 `self.visit` used but never assigned in __init__ examples/custom_visitor.py:44
HIGH MINED108 `self.visit` used but never assigned in __init__ examples/custom_visitor.py:42
HIGH MINED115 Action `pypa/gh-action-pypi-publish` pinned to mutable ref `@release/v1` .github/workflows/release.yml:142
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v4` .github/workflows/release.yml:136
HIGH MINED115 Action `softprops/action-gh-release` pinned to mutable ref `@v2` .github/workflows/release.yml:116
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v4` .github/workflows/release.yml:82
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/release.yml:79
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/release.yml:67
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/release.yml:49
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/release.yml:46
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/release.yml:20
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/release.yml:17
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/ci.yml:105
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:102
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/ci.yml:80
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:77
HIGH MINED115 Action `actions/cache` pinned to mutable ref `@v4` .github/workflows/ci.yml:51
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/ci.yml:46
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:43
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… yaraast/lsp/server_feature_document_han…:42
HIGH SEC004 [SEC004] SQL Injection Risk: String interpolation in SQL execution. Allows SQL injection. yaraast/lsp/authoring_actions_basic.py:104
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … yaraast/yaral/lexer_tables.py:63
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … yaraast/parser/error_tolerant_recovery.…:172
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… yaraast/conformance/differential.py:57
MED MINED111 Bare except continues silently yaraast/performance/parallel_execution.…:103
MED MINED111 Bare except continues silently yaraast/performance/parallel_execution.…:81
MED MINED111 Bare except continues silently yaraast/performance/parallel_execution.…:51
MED MINED111 Bare except continues silently yaraast/performance/batch_processor.py:164
MED MINED111 Bare except continues silently yaraast/yaral/enhanced_parser.py:55
MED MINED111 Bare except continues silently yaraast/metrics/dependency_graph_helper…:68
MED MINED111 Bare except continues silently yaraast/metrics/string_diagrams_graph_b…:43
MED MINED111 Bare except continues silently yaraast/metrics/workflows.py:144
MED MINED111 Bare except continues silently yaraast/metrics/workflows.py:138
MED MINED111 Bare except continues silently yaraast/lsp/document_context.py:195
MED MINED111 Bare except continues silently yaraast/lsp/diagnostics.py:125
MED MINED111 Bare except continues silently benchmarks/run_all_benchmarks.py:325
MED MINED111 Bare except continues silently benchmarks/run_all_benchmarks.py:207
MED MINED111 Bare except continues silently benchmarks/run_all_benchmarks.py:170
MED MINED111 Bare except continues silently benchmarks/run_all_benchmarks.py:128
MED MINED111 Bare except continues silently benchmarks/run_all_benchmarks.py:96
MED MINED111 Bare except continues silently benchmarks/memory_profiler.py:214
MED MINED111 Bare except continues silently benchmarks/memory_profiler.py:152
MED MINED111 Bare except continues silently benchmarks/benchmark_large_files.py:179
MED MINED111 Bare except continues silently benchmarks/benchmark_large_files.py:94
MED MINED111 Bare except continues silently benchmarks/benchmark_large_files.py:221
MED MINED111 Bare except continues silently benchmarks/benchmark_large_files.py:135
MED DEPCUR-NPM npm package `vscode-languageclient` is 1 major version(s) behind (9.0.1 -> 10.0.0) vscode-yaraast/package.json
LOW COMP001 [COMP001] High cognitive complexity: Function `example_scanning` has cognitive complexity… examples/libyara_integration.py:63
LOW COMP001 [COMP001] High cognitive complexity: Function `generate_summary_report` has cognitive com… benchmarks/run_all_benchmarks.py:215
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 13 (SonarSo… benchmarks/run_all_benchmarks.py:284
LOW DEPCUR-NPM npm package `@types/vscode` is minor version(s) behind (1.110.0 -> 1.120.0) vscode-yaraast/package.json
LOW AIC003 Duplicated implementation block across source files yaraast/types/_registry_builtins.py:4
LOW AIC003 Duplicated implementation block across source files yaraast/types/_expr_inference.py:13
LOW AIC003 Duplicated implementation block across source files yaraast/types/_expr_inference.py:8
LOW AIC003 Duplicated implementation block across source files yaraast/types/_expr_inference.py:6
LOW AIC003 Duplicated implementation block across source files yaraast/shared/ast_analysis.py:23
LOW AIC003 Duplicated implementation block across source files yaraast/serialization/serializer_helper…:34
LOW AIC003 Duplicated implementation block across source files yaraast/serialization/json_serializer.py:91
LOW AIC003 Duplicated implementation block across source files yaraast/performance/parallel_job_helper…:68
LOW AIC003 Duplicated implementation block across source files yaraast/performance/memory_transformer_…:9
LOW AIC003 Duplicated implementation block across source files yaraast/parser/parser.py:94
LOW AIC003 Duplicated implementation block across source files yaraast/parser/comment_aware_parser.py:331
LOW AIC003 Duplicated implementation block across source files yaraast/parser/comment_aware_parser.py:210
LOW AIC003 Duplicated implementation block across source files yaraast/parser/_expressions_postfix.py:162
LOW AIC003 Duplicated implementation block across source files yaraast/optimization/expression_optimiz…:373
LOW AIC003 Duplicated implementation block across source files yaraast/metrics/string_diagrams_render.…:70
LOW AIC003 Duplicated implementation block across source files yaraast/metrics/dependency_graph_finder…:133
LOW AIC003 Duplicated implementation block across source files yaraast/metrics/dependency_graph_finder…:23
LOW AIC003 Duplicated implementation block across source files yaraast/metrics/dependency_graph.py:278
LOW AIC003 Duplicated implementation block across source files yaraast/metrics/complexity.py:173
LOW AIC003 Duplicated implementation block across source files yaraast/lsp/server_features.py:4
LOW AIC003 Duplicated implementation block across source files yaraast/lsp/server_feature_language_han…:10
LOW AIC003 Duplicated implementation block across source files yaraast/lsp/references.py:38
LOW AIC003 Duplicated implementation block across source files yaraast/lsp/authoring_actions_sorting.py:21
LOW AIC003 Duplicated implementation block across source files yaraast/cli/visitors/dumper.py:12
LOW AIC003 Duplicated implementation block across source files yaraast/cli/serialize_reporting.py:14
LOW AIC003 Duplicated implementation block across source files yaraast/cli/ast_visualization.py:100
LOW AIC003 Duplicated implementation block across source files yaraast/builder/expression_builder.py:21
LOW AIC003 Duplicated implementation block across source files yaraast/analysis/string_usage.py:211
LOW AIC003 Duplicated implementation block across source files yaraast/analysis/optimization.py:202
LOW AIC003 Duplicated implementation block across source files vscode-yaraast/src/extension.ts:51
INFO MINED076 [MINED076] Catch And Reraise Noop: except X: raise X — adds no value, hides traceback if … yaraast/resolution/include_resolver.py:163
INFO MINED073 [MINED073] Redos Greedy Quantifier: Pattern with nested quantifiers like (a+)+ applied to… yaraast/cli/yarax_services.py:123
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… yaraast/cli/metrics_reporting.py:160
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… yaraast/cli/commands/yarax.py:30
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… yaraast/cli/commands/yaral.py:50
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. yaraast/ast/conditions.py:23
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. yaraast/ast/comments.py:9
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. yaraast/ast/base.py:21
INFO MINED079 [MINED079] Off By One Slice: range(len(x)+1), arr[i+1:i+n+1], or while i<=len(arr) — off-… yaraast/analysis/best_practices_helpers…:42
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… examples/vt_livehunt_demo.py:31
INFO DEPCUR-NPM npm package `@vscode/vsce` is patch version(s) behind (3.9.1 -> 3.9.2) vscode-yaraast/package.json
Reset to top 5 130 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `seifreed/yaraast`

**Score: 76/100 (B+)**  ·  180 findings  ·  scanned 2026-06-05 19:58 UTC  ·  207,804 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 57 |
| MEDIUM | 26 |
| LOW | 34 |

📊 [Full filterable report](https://repobility.com/scan/0266e438-e39a-440a-ad31-f481200c60c0/)  ·  ![scorecard](https://repobility.com/scan/0266e438-e39a-440a-ad31-f481200c60c0/report.png?v=1780689482-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `ast` used but not imported
   `benchmarks/benchmark_large_files.py:111` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `ast` used but not imported
   `examples/vt_livehunt_demo.py:42` · ✓ Repobility
3. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `yaraast/lsp/diagnostics_helpers.py:62` · A03:2021 Injection
4. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `yaraast/lsp/code_action_semantic.py:131` · A03:2021 Injection
5. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `yaraast/cli/yarax_services.py:109` · A03:2021 Injection

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/0266e438-e39a-440a-ad31-f481200c60c0/_
Megaproject â high spam risk
Could not determine 'seifreed/yaraast' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
111/184 findings (60%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.