live · scanning repos
Scanrepo
github.com / grafana

grafana/k6

Go·4147 files·commit 0110662·scanned 6d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 15 — 32,351+ stars — findings likely false positives

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

verdict accurate?
32,351 stars
27% file coverage
Partial architecture graph
threat-state: lowlive

FINDINGS ░▒▓

criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.internal/cmd/launcher.go
func (b *customBinary) run(ctx context.Context, gs *state.GlobalState) error {
	cmd := exec.CommandContext(ctx, b.path, gs.CmdArgs[1:]...) //nolint:gosec

	// we pass os stdout, err, in because passin...
+8
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/cmd/tests/test_state.go
	"testing"
	_ "unsafe" //nolint:revive,nolintlint // needed for the go:linkname and nolintlint is buggy

	"go.k6.io/k6/v2/lib"
+3
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.internal/js/module_loading_test.go
			try {
				b = eval("require('buffer')");
			} catch (err) {
				b = "correct";
+8
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.internal/js/modules/k6/browser/common/browser_process.go
) (command, error) {
	cmd := exec.CommandContext(ctx, path, args...) //nolint:gosec
	killAfterParent(cmd)
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.internal/js/modules/k6/browser/common/element_handle.go
	}
	result, err := eval(
		h.ctx,
		evalOptions{forceCallable: true, returnByValue: false},
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.internal/js/modules/k6/browser/common/execution_context.go
//nolint:funlen
func (e *ExecutionContext) eval(
	apiCtx context.Context, opts evalOptions, js string, args ...any,
) (any, error) {
+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
criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.internal/js/modules/k6/browser/chromium/browser_type.go
	if userProfile, ok := env("USERPROFILE"); ok {
		paths = append(paths, filepath.Join(userProfile, `AppData\Local\Google\Chrome\Application\chrome.exe`))
	}
	for _, path := range paths {
+10
criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.internal/js/modules/k6/browser/chromium/browser_type_test.go
			lookPath: func(file string) (string, error) { // we look chrome.exe in the user profile
				if file == filepath.Join("home", `AppData\Local\Google\Chrome\Application\chrome.exe`) {
					return "", ...
+10
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.packaging/bin/create-rpm-repo.sh
%_gpgbin        $(command -v gpg2)
%_gpg_path      $HOME/.gnupg
%_gpg_name      k6
%_gpg_pass      -
+5
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.internal/cmd/testdata/example.js+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.internal/js/initcontext_test.go+4
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.internal/js/modules/k6/browser/common/js/web_vital_iife.js+3
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.internal/js/modules/k6/grpc/client_test.go+4
infoSuspicious file in repoVery large source file (1055KB) — could contain obfuscated payloadinternal/js/modules/k6/browser/tests/static/react-dom.development.js+2
infoAuthor has no other public repositoriesGitHub user "renovate-sh-app[bot]" 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

1112 files scanned @ 0110662 | 11/19/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration0
file system access20
obfuscation15
supply chain4
owasp / injection0
telemetry
files 1112/4147rules hit 16engine v10commit 0110662

github

grafana/k6

A modern load testing tool, using Go and JavaScript

Go
32351
1727
3901d
4147 files
1112 scanned(27%)
0110662

network indicators░▒▓

Hosts this code names or would connect to. Top 50 of 344, decoded and call-site destinations first. Informational, not scored.

architecture░▒▓

entry (1) flagged (13) pkg (213)
613 nodes · 1669 edgesscroll to zoom · click node to jump to finding