github.com / linshenkx
linshenkx/ prompt-optimizer
TypeScript·2256 files·commit 62b49a1·scanned 5d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 41,983+ stars — findings likely false positives
scored by engine v10: rules have changed since, rescan for the current result
verdict accurate?
41,983 stars
Partial architecture graph
threat-state: lowlive
FINDINGS ░▒▓
warningVM code executionvm.runInNewContext or similar can execute arbitrary code in a sandboxed context that may be escaped.packages/desktop/config/quit-lifecycle.test.js
};
vm.runInNewContext(source.slice(start, end), context);
return {
quit: context.app.quit,+4warningSuspicious Windows batch commandBatch file contains commands commonly used to download and execute remote payloads (powershell, certutil, bitsadmin, curl to pipe, etc.).packages/desktop/build-desktop.bat
echo Step 5: Creating ZIP archive... powershell -Command "Compress-Archive -Path 'dist\prompt-optimizer-win32-x64' -DestinationPath 'dist\prompt-optimizer-windows-x64.zip' -Force" echo ==============...+5
warningClipboard read accessnavigator.clipboard.readText() reads the user's clipboard. In a wallet/crypto context this is often used to steal copied seed phrases or private keys.packages/ui/src/composables/ui/useClipboard.ts
const text = await navigator.clipboard.readText()
return text
} catch (err) {+4warningHigh-entropy string literalsFound 4 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.packages/core/src/services/template/default-templates/evaluation-rewrite/runtime-copy.ts+3
warningHigh-entropy string literalsFound 35 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.packages/ui/src/i18n/locales/_legacy/zh-CN.ts+3
warningHigh-entropy string literalsFound 35 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.packages/ui/src/i18n/locales/_legacy/zh-TW.ts+3
infoSuspicious file in repoExecutable file (build-desktop.bat) in repositorypackages/desktop/build-desktop.bat+2
infoSuspicious file in repoVery large source file (493KB) — could contain obfuscated payloadtests/e2e/fixtures/vcr/analysis-basic-system-spec-ts/点击-v0-后重新分析应回到-prompt-only-而不是沿用旧版本的-iterate-状态.json+2
infoSuspicious file in repoVery large source file (969KB) — could contain obfuscated payloadtests/e2e/fixtures/vcr/test-basic-system-compare-test-spec-ts/对比评估详情会显示-structured-compare-产物-并可通过智能改写生成新版本.json+2
Scores reflect the files and rules covered by this scan. How to read this report
1288 files scanned @ 62b49a1 | 11/20/2026 | heuristic scan — always review manually
risk by category
code execution11
network & exfiltration0
file system access4
obfuscation15
supply chain12
owasp / injection0
telemetry
files 1288/2256rules hit 10engine v10commit 62b49a1
github
linshenkx/prompt-optimizer
An AI prompt optimizer for writing better prompts and getting better AI results.
41983
4722
651d
2256 files
1288 scanned(57%)
62b49a1
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 162, decoded and call-site destinations first. Informational, not scored.
- https://openrouter.ai/api/v1/modelsurlnext to network callpackages/core/src/services/image/adapters/openrouter.ts:80
- https://api.cloudflare.com/client/v4urlpackages/core/src/services/image/adapters/cloudflare.ts:30 +1 more
- https://dash.cloudflare.com/profile/api-tokensurlpackages/core/src/services/image/adapters/cloudflare.ts:32 +1 more
- https://dashscope.aliyuncs.comurlpackages/core/src/services/image/adapters/dashscope.ts:41 +3 more
- https://bailian.console.aliyun.comurlpackages/core/src/services/image/adapters/dashscope.ts:43 +1 more
- https://generativelanguage.googleapis.comurlpackages/core/src/services/image/adapters/gemini.ts:22 +9 more
- https://aistudio.google.com/apikeyurlpackages/core/src/services/image/adapters/gemini.ts:24 +1 more
- https://api.x.ai/v1urlpackages/core/src/services/image/adapters/grok.ts:29 +3 more
- https://console.x.ai/team/default/api-keysurlpackages/core/src/services/image/adapters/grok.ts:31 +1 more
- https://api-inference.modelscope.cn/v1urlpackages/core/src/services/image/adapters/modelscope.ts:43 +4 more
- https://modelscope.cn/my/myaccesstokenurlpackages/core/src/services/image/adapters/modelscope.ts:45 +2 more
- https://api.openai.com/v1urlpackages/core/src/services/image/adapters/openai.ts:39 +50 more
- https://platform.openai.com/api-keysurlpackages/core/src/services/image/adapters/openai.ts:41 +1 more
- https://openrouter.ai/api/v1urlpackages/core/src/services/image/adapters/openrouter.ts:26 +6 more
- https://openrouter.ai/settings/keysurlpackages/core/src/services/image/adapters/openrouter.ts:28 +2 more
- https://ark.cn-beijing.volces.com/api/v3urlpackages/core/src/services/image/adapters/seedream.ts:185 +8 more
- https://console.volcengine.com/ark/…/…urlpackages/core/src/services/image/adapters/seedream.ts:187 +1 more
- https://api.siliconflow.cn/v1urlpackages/core/src/services/image/adapters/siliconflow.ts:24 +12 more
- https://cloud.siliconflow.cn/account/akurlpackages/core/src/services/image/adapters/siliconflow.ts:26 +2 more
- https://api.anthropic.comurlpackages/core/src/services/llm/adapters/anthropic-adapter.ts:46 +4 more
- https://console.anthropic.com/settings/keysurlpackages/core/src/services/llm/adapters/anthropic-adapter.ts:48
- https://api.cloudflare.com/client/v4/accounts/urlpackages/core/src/services/llm/adapters/cloudflare-adapter.ts:47 +1 more
- https://dashscope.aliyuncs.com/compatible-mode/v1urlpackages/core/src/services/llm/adapters/dashscope-adapter.ts:92 +1 more
- https://api.deepseek.comurlpackages/core/src/services/llm/adapters/deepseek-adapter.ts:60 +3 more
- https://platform.deepseek.com/api_keysurlpackages/core/src/services/llm/adapters/deepseek-adapter.ts:62
- https://api.minimax.io/v1urlpackages/core/src/services/llm/adapters/minimax-adapter.ts:15 +5 more
- https://api.minimax.io/anthropicurlpackages/core/src/services/llm/adapters/minimax-adapter.ts:16 +1 more
- https://platform.minimax.io/docsurlpackages/core/src/services/llm/adapters/minimax-adapter.ts:17 +1 more
- https://api.minimaxi.com/v1urlpackages/core/src/services/llm/adapters/minimax-adapter.ts:21 +8 more
- https://api.minimaxi.com/anthropicurlpackages/core/src/services/llm/adapters/minimax-adapter.ts:22 +1 more
- https://platform.minimaxi.com/docsurlpackages/core/src/services/llm/adapters/minimax-adapter.ts:23 +1 more
- https://platform.minimaxi.com/user-center/basic-information/interface-keyurlpackages/core/src/services/llm/adapters/minimax-adapter.ts:70
- https://token-plan-cn.xiaomimimo.com/v1urlpackages/core/src/services/llm/adapters/xiaomi-mimo-token-plan-adapter.ts:44 +6 more
- https://platform.xiaomimimo.comurlpackages/core/src/services/llm/adapters/xiaomi-mimo-token-plan-adapter.ts:46
- https://open.bigmodel.cn/api/paas/v4urlpackages/core/src/services/llm/adapters/zhipu-adapter.ts:52 +4 more
- https://open.bigmodel.cn/usercenter/apikeysurlpackages/core/src/services/llm/adapters/zhipu-adapter.ts:54
- https://api.anthropic.com/v1urlpackages/core/src/services/model/converter.ts:283 +3 more
- https://api-inference.modelscope.cn/v1/chat/completionsurlnext to network calltest onlypackages/core/tests/unit/llm/openai-adapter.test.ts:309
- https://api.openai.com/v1/chat/completionsurlnext to network calltest onlypackages/core/tests/unit/utils/llm-mock-service.spec.ts:10
- https://github.comurlpackages/desktop/config/update-config.js:171
- https://github.com/$urlpackages/desktop/config/update-delivery-policy.js:20 +1 more
- https://dash.cloudflare.com/[AccountID]/home/overviewurlpackages/ui/src/i18n/locales/en-US/context.ts:422 +2 more
- https://token-plan-sgp.xiaomimimo.com/v1urlpackages/ui/src/i18n/locales/en-US/models.ts:104 +4 more
- https://token-plan-ams.xiaomimimo.com/v1urlpackages/ui/src/i18n/locales/en-US/models.ts:104
- https://token-plan-cn.xiaomimimo.com/…urlpackages/ui/src/i18n/locales/zh-CN/models.ts:106 +1 more
- https://token-plan-ams.xiaomimimo.com/v1%E3%80%82%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E9%A2%84%E7%BD%AE%E4%BD%BF%E7%94%A8urlpackages/ui/src/i18n/locales/zh-CN/models.ts:106
- https://api.minimaxi.com/v1%EF%BC%9B%E8%BF%99%E9%87%8C%E4%B8%8D%E8%A6%81%E4%BD%BF%E7%94%A8urlpackages/ui/src/i18n/locales/zh-CN/models.ts:107
- https://token-plan-ams.xiaomimimo.com/v1%E3%80%82%E7%92%B0%E5%A2%83%E8%AE%8A%E6%95%B8%E9%A0%90%E7%BD%AE%E4%BD%BF%E7%94%A8urlpackages/ui/src/i18n/locales/zh-TW/models.ts:104
- https://api.minimaxi.com/v1%EF%BC%9B%E9%80%99%E8%A3%A1%E4%B8%8D%E8%A6%81%E4%BD%BF%E7%94%A8urlpackages/ui/src/i18n/locales/zh-TW/models.ts:105
- https://chatgpt.comurlpackages/ui/src/utils/copy-open-action.ts:13 +2 more
architecture░▒▓
entry (3) flagged (15) pkg (42)
442 nodes · 1090 edgesscroll to zoom · click node to jump to finding