live · scanning repos
Scanrepo
github.com / sharkdp

sharkdp/bat

Rust·920 files·commit fbd9a41·scanned 5d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 15 — 61,321+ stars — findings likely false positives

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

verdict accurate?
61,321 stars
11% file coverage
threat-state: lowlive

FINDINGS ░▒▓

criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.src/less.rs

    let cmd = Command::new(resolved_path).arg("--version").output().ok()?;
    if cmd.status.success() {
        parse_less_version(&cmd.stdout)
+8
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.src/output.rs

        let mut p = Command::new(resolved_path);
        let args = pager.args;
+8
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
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.src/assets.rs
        }
        let file_path_symlink = test.temp_dir.path().join(".ssh").join("config");

        std::fs::create_dir(test.temp_dir.path().join(".ssh"))
+5
warningSolidity inline assemblyInline assembly hides logic from high-level analysis and is often used in obfuscated exploits.tests/syntax-tests/source/Solidity/ERC721.sol
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
+4
infoSuspicious file in repoExecutable file (echo.bat) in repositorytests/mocked-pagers/echo.bat+2
infoSuspicious file in repoExecutable file (more.bat) in repositorytests/mocked-pagers/more.bat+2
infoSuspicious file in repoExecutable file (most.bat) in repositorytests/mocked-pagers/most.bat+2
infoAuthor has no other public repositoriesGitHub user "keith-hall-tg" has no other public repositories, common for burner accounts used in scams.+2

Scores reflect the files and rules covered by this scan. How to read this report

101 files scanned @ fbd9a41 | 11/19/2026 | heuristic scan — always review manually

risk by category
code execution18
network & exfiltration0
file system access5
obfuscation4
supply chain15
owasp / injection0
telemetry
files 101/920rules hit 9engine v10commit fbd9a41

github

sharkdp/bat

A cat(1) clone with wings.

Rust
61321
2410
3140d
920 files
101 scanned(11%)
fbd9a41

network indicators░▒▓

Hosts this code names or would connect to. 25 found, decoded and call-site destinations first. Informational, not scored.

architecture░▒▓

entry (3) flagged (4) pkg (97)
179 nodes · 131 edgesscroll to zoom · click node to jump to finding