live · scanning repos
Scanrepo
github.com
github.com / osquery

osquery/osquery

C++·2651 files·commit 8b8d3f4·scanned 16d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 15 — 23,698+ stars — findings likely false positives

scored by engine v7: rules have changed since, rescan for the current result

verdict accurate?
23,698 stars
4% file coverage
threat-state: lowlive

FINDINGS ░▒▓

criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.tools/codegen/genapi.py
    """Given a table tree, produce a literal of the table representation."""
    exec(compile(tree, "<string>", "exec"))
    columns = [NoIndent({
        "name": column.name,
+7
criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.tools/codegen/gentable.py
            tree = ast.parse(file_handle.read())
            exec(compile(tree, "<string>", "exec"))
            denylisted = is_denylisted(table.table_name, path=filename)
            if not args.dis...
+7
criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.tools/codegen/genwebsitejson.py
        tree = ast.parse(file_handle.read())
        exec(compile(tree, "<string>", "exec"))

        # Now that the `table` variable is accessible, we can access attributes
+7
infoSuspicious files are not reachable from entry pointsFlagged files exist but are not imported by any entry point. They may be dead code, tests, or attack payloads triggered by another mechanism.+2
infoSuspicious file in repoExecutable file (make_windows_package.ps1) in repositorytools/deployment/make_windows_package.ps1+2
infoSuspicious file in repoExecutable file (chocolateyBeforeModify.ps1) in repositorytools/deployment/windows_packaging/chocolatey/tools/chocolateyBeforeModify.ps1+2
infoSuspicious file in repoExecutable file (chocolateyinstall.ps1) in repositorytools/deployment/windows_packaging/chocolatey/tools/chocolateyinstall.ps1+2

Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.

116 files scanned @ 8b8d3f4 | 10/29/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration0
file system access0
obfuscation0
supply chain12
owasp / injection0
telemetry
files 116/2651rules hit 7engine v7commit 8b8d3f4

github

osquery/osquery

SQL powered operating system instrumentation, monitoring, and analytics.

C++
23698
2628
4491d
2651 files
116 scanned(4%)
8b8d3f4

architecture░▒▓

entry (0) flagged (4) pkg (60)
91 nodes · 161 edgesscroll to zoom · click node to jump to finding
osquery/osquery — ScanRepo