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...+4warningPython 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...+4warningPython 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)
+4criticalGo 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+8criticalGo 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....+8criticalGo 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+8criticalRemote 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...+4warningGo 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 {
...+3warningGo 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(), ...+3warningGo 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...+3warningVM 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...+4warningDownload 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+4criticalRemote 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...+4criticaleval() 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...+8criticaleval() 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...+8criticaleval() 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();+8criticalFunction() 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;+5criticalHTTP 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))+10criticalFunction() 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...+5infoBase64 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),
);+2criticalRemote 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.
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.
- https://docs.docker.com/engine/install/urlnext to network callscripts/install.sh:82
- https://get.docker.comurlnext to network callscripts/install.sh:85
- https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.jsonpaste hostweb/vscode-web/extensions/configuration-editing/package.json:1 +1 more
- https://raw.githubusercontent.com/microsoft/…/master/docs/customData.schema.jsonpaste hostweb/vscode-web/extensions/css-language-features/package.json:1 +1 more
- https://cursor.com/installurlnext to execinternal/runtime/cli_ondemand.go:19 +2 more
- https://antigravity.google/cli/install.shurlnext to execinternal/runtime/cli_ondemand.go:20 +1 more
- https://github.com/login/device/codeurlnext to network callinternal/httpapi/github_auth.go:202 +1 more
- https://github.com/login/oauth/access_tokenurlnext to network callinternal/httpapi/github_auth.go:261 +1 more
- https://api.github.com/userurlnext to network callinternal/httpapi/github_auth.go:266 +2 more
- https://api.github.com/user/reposurlnext to network callinternal/httpapi/github_auth.go:335
- https://npmmirror.com/mirrors/playwrighturldeploy/bind-cli.sh:527
- http://www.apple.com/DTDs/PropertyList-1.0.dtdurldeploy/bind-cli.sh:656
- https://github.comurllocal/install.sh:43 +17 more
- https://api.github.comurllocal/install.sh:44 +2 more
- https://github.com/gitleaks/gitleaks/releases/download/v$urllocal/scripts/scan-secrets.sh:22 +1 more
- https://api.github.com/repos/gitleaks/gitleaks/releases/assets/$urllocal/scripts/scan-secrets.sh:33 +1 more
- https://docs.docker.com/desktop/setup/install/mac-install/urlscripts/install.sh:92
- 43.160.231.118ipscripts/test-install.py:493 +3 more
- http://43.160.231.118:8090ipscripts/test-install.py:494
- https://json.schemastore.org/packageurlweb/vscode-web/extensions/npm/package.json:1
- https://json.schemastore.org/bowerurlweb/vscode-web/extensions/npm/package.json:1
- https://json.schemastore.org/tsconfigurlweb/vscode-web/extensions/typescript-language-features/package.json:1 +2 more
- https://json.schemastore.org/typingsurlweb/vscode-web/extensions/typescript-language-features/package.json:1
- https://json.schemastore.org/bowerrcurlweb/vscode-web/extensions/typescript-language-features/package.json:1
- https://json.schemastore.org/babelrcurlweb/vscode-web/extensions/typescript-language-features/package.json:1 +2 more
- https://json.schemastore.org/jsconfigurlweb/vscode-web/extensions/typescript-language-features/package.json:1 +1 more
- https://swc.rs/schema.jsonurlweb/vscode-web/extensions/typescript-language-features/package.json:1
- https://typedoc.org/schema.jsonurlweb/vscode-web/extensions/typescript-language-features/package.json:1
- ghcr.iodomainscripts/ghcr-mirror.sh:61 +4 more
- source.asp.vb.netdomainweb/vscode-web/extensions/vb/package.json:1 +6 more
- https://www.codebuddy.ai/profile/keysurlchatbot/src/credentials.js:21 +13 more
- https://copilot.tencent.com/profile/urlchatbot/src/credentials.js:27 +13 more
- https://tencent.sso.copilot.tencent.com/profile/keysurlchatbot/src/credentials.js:33 +7 more
- https://github.com/$urlchatbot/src/QuickAccessWizard.jsx:576 +3 more
- https://github.com/settings/tokensurlchatbot/src/QuickAccessWizard.jsx:1870 +6 more
- https://github.com/owner/repourlchatbot/src/QuickAccessWizard.jsx:2166 +7 more
- https://github.com/example/loopforge-e2e-fixtureurlnext to network calltest onlye2e/public/welcome.spec.mjs:157
- wss://openws.work.weixin.qq.comurlinternal/botinteraction/service.go:47
- https://api.openai.com/v1urlinternal/httpapi/assistant_diagnostic_environment.go:84 +6 more
- https://api.anthropic.comurlinternal/httpapi/assistant_diagnostic_environment.go:89 +5 more
- https://api.github.com/repos/a/b/issuesurlnext to network calltest onlyinternal/httpapi/assistant_workspace_mode_test.go:245 +1 more
- https://api.github.com/repos/a/b/pullsurlnext to network calltest onlyinternal/httpapi/assistant_workspace_mode_test.go:261
- https://api.kimi.com/coding/v1urlinternal/httpapi/cli_models_probe.go:140 +2 more
- https://api.deepseek.comurlinternal/httpapi/cli_models_probe.go:142 +2 more
- https://open.bigmodel.cn/api/coding/paas/v4urlinternal/httpapi/cli_models_probe.go:144 +1 more
- https://generativelanguage.googleapis.comurlinternal/httpapi/cli_models_probe.go:150 +1 more
- https://github.com/login/deviceurlinternal/httpapi/github_auth.go:209 +3 more
- https://api.githubcopilot.com/mcp/urlinternal/httpapi/mcp_market_catalog.json:14 +7 more
- https://github.com/github/github-mcp-serverurlinternal/httpapi/mcp_market_catalog.json:18
- https://api.skillhub.cnurlinternal/httpapi/skillhub_client.go:22
architecture░▒▓
entry (2) flagged (301) pkg (116)
516 nodes · 1193 edgesscroll to zoom · click node to jump to finding