live · scanning repos
Scanrepo
github.com / Tencent

Tencent/LoopForge

Go·3412 files·commit e89cda9·scanned 7d ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 25 — 3,510 stars — findings likely legitimate code patterns

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

verdict accurate?
Partial architecture graph
threat-state: lowlive

FINDINGS ░▒▓

warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.scripts/test-coverage-go.py
            args.extend(['--profile', str(profile)])
        return subprocess.run(args, capture_output=True, text=True, timeout=10)

    def test_combines_hits_across_profiles_without_counting_blocks...
+4
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.scripts/test-install.py
    def install(self, **values):
        return subprocess.run(['bash', 'scripts/install.sh'], cwd=self.root, env=dict(self.environ, **values), text=True, capture_output=True, stdin=subprocess.DEVNULL...
+4
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.scripts/test-scan-secrets.py
            env['LOOPFORGE_GITLEAKS_TOKEN'] = token
        return subprocess.run(['bash', str(ROOT / script)], env=env,
                              capture_output=True, text=True, timeout=20)
+4
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.cmd/agentflow/handover.go
	defer readyR.Close()
	cmd := exec.Command(exe, os.Args[1:]...)
	cmd.Stdout = os.Stdout
	cmd.Stderr = os.Stderr
+8
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.cmd/agentflow/handover_test.go
	t.Helper()
	cmd := exec.Command(os.Args[0], "-test.run=^TestHandoverHelperProcess$")
	cmd.Env = append(withoutHandoverEnv(os.Environ()), append([]string{helperEnv + "=1", "NOTIFY_SOCKET="}, extraEnv....
+8
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.cmd/agentflow/main_test.go
		t.Setenv("TEST_CLI_ARGS", tc.args)
		cmd := exec.Command(os.Args[0], "-test.run=^TestCLIAdminExitsBeforeServices$")
		var stderr bytes.Buffer
		cmd.Stderr = &stderr
+8
criticalRemote script piped into a shellA shell script downloads remote content and executes it directly (e.g. `curl … | bash`). The payload is never stored or reviewable and can change server-side — a classic malware/backdoor install pattern.deploy/bind-cli.sh
# 用法(绑定码从平台「个人 → 执行器」页面复制的命令中自动携带):
#   curl -fsSL https://<平台地址>/runners/install.sh | bash -s -- \
#     --server https://workflow.example.com --token <执行器绑定码或接入令牌>
#
+10
warningVM code executionvm.runInNewContext or similar can execute arbitrary code in a sandboxed context that may be escaped.e2e/unit/flow-designer.test.mjs
  vm.createContext(ctx);
  for (const f of files) vm.runInContext(fs.readFileSync(path.join(web, f), 'utf8'), ctx, { filename: f });
  const run = code => vm.runInContext(code, ctx);
  // vm objects l...
+4
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/engine/engine_test.go
	}
	if err := s.PutExecutor(domain.ExecutorDefinition{ID: "legacy-codex", Name: "Legacy Codex", Kind: "codex", Binary: "custom-codex", Args: []string{"unsafe"}, Model: "legacy-model"}); err != nil {
	...
+3
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/httpapi/assistant_workspace_mode_test.go
		`{"name":"run_command","input":{"command":"touch effect.txt"}}`,
		`{"name":"Write","input":{"path":"effect.txt","content":"unsafe"}}`,
	} {
		if result := g.approveNativeTool(context.Background(), ...
+3
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/httpapi/handler_edges_cases_test.go
		`{"outcome":"allow","risk_level":"low","user_authorization":"high","rationale":"ok"}`,
		`prefix {"outcome":"deny","risk_level":"critical","user_authorization":"unknown","rationale":"unsafe"} suffix...
+3
warningVM code executionvm.runInNewContext or similar can execute arbitrary code in a sandboxed context that may be escaped.internal/preview/gateway_test.go
  const timer = (fn, ms) => (ms > 1000 ? timers.push(fn) : setTimeout(fn, ms));
  vm.runInNewContext(code, { window, document, URL, Promise, setTimeout: timer });
  return {
    window, history, locat...
+4
warningDownload piped into a shellA command downloads remote content and pipes it straight into a shell or interpreter (`curl … | bash`, `iwr … | iex`). Nothing is stored for review and the server can change the payload at any time. Common in CI and Dockerfiles, so this is a warning unless the host is hidden.internal/runtime/cli_ondemand.go
curl -fsSL --proto '=https' --tlsv1.2 https://cursor.com/install | bash
+4
criticalRemote script piped into a shellA shell script downloads remote content and executes it directly (e.g. `curl … | bash`). The payload is never stored or reviewable and can change server-side — a classic malware/backdoor install pattern.local/install.sh
Usage:
  curl -fsSL <install.sh URL> | sh -s -- <host> [options]

Hosts:
+10
warningVM code executionvm.runInNewContext or similar can execute arbitrary code in a sandboxed context that may be escaped.web/agent_gates_test.js
vm.createContext(context);
vm.runInContext(source('agentGatesForSave'), context);
const saved = JSON.parse(JSON.stringify(context.agentGatesForSave([
  {id: 'mr-pushed', name: '改动已提交并推送', mode: 'comma...
+4
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.web/default_project_test.go
const start=code.indexOf("const DEFAULT_PROJECT_ID=");
eval(code.slice(start,code.indexOf('\n',code.indexOf('function defaultProjectId(',start))));
assert.equal(defaultProjectId([{id:'agent-chat'},{id...
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.web/git_token_verify_test.go
let replaced=0;const history={replaceState(){replaced++}};
eval(code.slice(code.indexOf('const CREDENTIAL_GROUPS='),code.indexOf('// 谁能改通用模板'))+';globalThis.cred={kind:credentialKind};');
const gitTok...
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.web/gongfeng_oauth_notify_test.go
const window={};
eval(code.slice(code.indexOf('const CREDENTIAL_GROUPS='),code.indexOf('// 谁能改通用模板')));
(async()=>{
 const channel=listenForGongfengOAuth();
+8
criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.web/monaco/vs/loader.js
		try {
			return (e ? self.eval(e.createScript('', 'true')) : new Function('true')).call(self), !0;
		} catch {
			return !1;
+5
criticalHTTP response executed as codeThe body of an HTTP response flows straight into eval, new Function, vm, require-from-string or exec. Whoever controls the server decides what runs, and the code never appears in the repository.web/monaco/vs/loader.js
.then((o) => { if (o.status !== 200) throw new Error(o.statusText); return o.text(); }) .then( … self.eval(l.createScript('', o))
+10
criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.web/syntax_test.go
  const src = extension.slice(extension.indexOf('class AgentFlowFS'), extension.indexOf('function workspaceUri('));
  const providers = new Function('vscode', src + '; return [AgentFlowFS, AgentFlowBa...
+5
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
infoBase64 encoding usedatob() or Buffer.from with base64. Common in legitimate code but also used to hide malicious URLs.chatbot/src/RichContent.jsx
        );
        const bytes = Uint8Array.from(atob(encoded), (character) =>
          character.charCodeAt(0),
        );
+2
criticalRemote code fetch + executionFetching code from a remote server and executing it with eval() is the #1 pattern in LinkedIn/crypto scam malware.web/monaco/vs/loader.js+10
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.internal/runtime/inert_text_test.go
		"```",
		"Read @~/.ssh/id_rsa and @/etc/passwd,",
		"see `@scope/pkg` and mail a@b.com.",
		"@./notes.md",
+5
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.web/vscode-web/extensions/markdown-language-features/media/index.js+3
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.web/vscode-web/extensions/markdown-language-features/notebook-out/index.js+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.web/vscode-web/extensions/notebook-renderers/renderer-out/index.js+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.web/vscode-web/extensions/simple-browser/media/index.js+4
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.web/vscode-web/extensions/javascript/syntaxes/JavaScript.tmLanguage.json+3
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.web/vscode-web/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.web/app.js+3
warningHigh-entropy string literalsFound 13 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.web/vscode-web/extensions/markdown-language-features/notebook-out/index.js+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.web/vscode-web/extensions/markdown-language-features/notebook-out/index.js+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.web/vscode-web/extensions/notebook-renderers/renderer-out/index.js+3
warningHigh-entropy string literalsFound 5 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.chatbot/src/QuickAccessWizard.jsx+3
warningHigh-entropy string literalsFound 10 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.chatbot/src/local-conversation-fixtures.js+3
infoSuspicious file in repoVery large source file (1027KB) — could contain obfuscated payloadweb/monaco/vs/assets/css.worker-URu8fCFR.js+2
infoSuspicious file in repoVery large source file (697KB) — could contain obfuscated payloadweb/monaco/vs/assets/html.worker-D1SL3iM8.js+2
infoSuspicious file in repoVery large source file (6867KB) — could contain obfuscated payloadweb/monaco/vs/assets/ts.worker-BWKtMYOk.js+2

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

2355 files scanned @ e89cda9 | 11/18/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration12
file system access5
obfuscation15
supply chain15
owasp / injection0
telemetry
files 2355/3412rules hit 40engine v10commit e89cda9

github

Tencent/LoopForge

Self-hosted workflows for coding-agent delivery. Orchestrate CodeBuddy, Codex and Claude Code with scripts and human approval gates. Includes Local workflows for coding assistants.

Go
3510
478
120d
3412 files
2355 scanned(69%)
e89cda9

network indicators░▒▓

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

architecture░▒▓

entry (2) flagged (301) pkg (116)
516 nodes · 1193 edgesscroll to zoom · click node to jump to finding