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)+8criticalRust 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;
+8warningSSH/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"))+5warningSolidity 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))
}+4Scores 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.
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.
- http://www.greenwoodsoftware.com/lessurlsrc/less.rs:48 +2 more
- https://greenwoodsoftware.com/lessurlsrc/less.rs:87
- https://github.com/sharkdp/hyperfineurltest onlytests/benchmarks/run-benchmarks.sh:8
- https://jqlang.github.io/jq/download/urltest onlytests/benchmarks/run-benchmarks.sh:15
- https://github.com/eth-p/…urltest onlytests/syntax-tests/highlighted/Bash/batgrep.sh:5
- https://github.com/eth-p/bat-extras/issues%1B[0murltest onlytests/syntax-tests/highlighted/Bash/batgrep.sh:6
- https://github.com/eth-p/bat-extrasurltest onlytests/syntax-tests/source/Bash/batgrep.sh:241 +1 more
- https://github.com/trishume/syntect/issues/222urlcomment onlyassets/create.sh:46
- https://github.com/sublimehq/Packages/pull/2331urlcomment onlyassets/create.sh:47
- https://www.khronos.org/registry/webgl/extensions/…/urltest onlytests/examples/longline.json:2 +7 more
- https://dom.spec.whatwg.orgurltest onlytests/examples/longline.json:2 +21 more
- https://webkit.org/b/174980urltest onlytests/examples/longline.json:2 +15 more
- https://w3c.github.io/orientation-sensor/urltest onlytests/examples/longline.json:2 +3 more
- http://www.greenwoodsoftware.com/less/…urltest onlytests/syntax-tests/highlighted/Rust/output.rs:88
- https://eips.ethereum.org/EIPS/…urltest onlytests/syntax-tests/highlighted/Solidity/ERC721.sol:14 +1 more
- https://github.com/eth-p/bat-extras/issuesurlcomment onlytests/syntax-tests/source/Bash/batgrep.sh:6
- test.fsdomaintest onlysrc/assets.rs:588
- config.json.devdomaintest onlysrc/assets.rs:729
- user.emaildomaintest onlysrc/diff.rs:129 +1 more
- test.zipdomaintest onlytests/integration_tests.rs:2971
- http://www.greenwoodsoftware.com/less/news.530.htmlurlcomment onlysrc/output.rs:162 +1 more
- https://discord.com/channels/273534239310479360/1120124565591425034/1170543402870382653urlcomment onlysrc/syntax_mapping.rs:145
- https://github.com/rust-lang/rust-clippy/issues/9280urlcomment onlysrc/syntax_mapping.rs:147
- https://espterm.github.io/docs/VT100%20escape%20codes.htmlurlcomment onlysrc/vscreen.rs:249
- https://github.com/sharkdp/fdurlcomment onlytests/scripts/find-slow-to-highlight-files.py:12
architecture░▒▓
entry (3) flagged (4) pkg (97)
179 nodes · 131 edgesscroll to zoom · click node to jump to finding