Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

jinzd-ai-cli

Latest version: v0.4.343

Overview

Last scanned
19 Nov 2026
Published
19 Nov 2026
npm package Publisher: jinzd005
73 Versions
2.8K Downloads

Scan summary

jinzd-ai-cli was last scanned on 19 Nov 2026 at version 0.4.343. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 73 versions; the latest 2 were published within 4 days (16–19 Nov 2026).
  • Findings: 3 rules fired in version 0.4.343 (11 instances: 2 high, 9 low). The score describes this version only.
  • Downloads: 2,775 downloads.

Versions

73 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.343 LATEST 19 Nov 2026 3 rules fired
0.4.342 16 Nov 2026 3 rules fired
0.4.341 9 Nov 2026 3 rules fired
0.4.340 7 Nov 2026 Not shown
0.4.339 6 Nov 2026 Not shown

Rules fired in 0.4.343: 3

Findings

2 High 9 Low

Findings for v0.4.343. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH

Several suspicious behaviors form a known attack pattern

HIGH

WebAssembly module included

LOW
Checking access…

🔒 Create a free account to see all 11 findings with descriptions and instance counts

The score describes 0.4.343; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

English | 中文

ai-cli

跨平台 AI 编程助手 — CLI 终端、Web 界面、桌面应用三合一,支持 10 大 Provider(含本地 Ollama)与 Agentic 工具调用

npm version License: MIT Node.js GitHub Release CI

特性亮点

  • 10 大内置 Provider — Claude、Gemini、DeepSeek、OpenAI、智谱 GLM、Kimi、Qwen、MiniMax(海螺)、OpenRouter(300+ 模型)、Ollama(本地模型,无需 API Key)
  • 三种使用方式 — 终端 CLI、浏览器 Web UI(aicli web)、Electron 桌面应用
  • Agentic 工具调用 — AI 自主执行 bash 命令、读写文件、搜索代码、抓取网页、运行测试(默认 200 轮,可通过 config.maxToolRounds 或 --max-tool-rounds 调整,上限 10000)
  • Prompt Caching(v0.4.70+)— system prompt 拆分稳定/易变两段,Claude 对稳定段启用 cache_control: ephemeral,命中时按 10% 计费
  • Unified Diff Patch 编辑(v0.4.72+)— edit_file 支持标准 @@ -a,b +c,d @@ hunk,大文件多处小改最省 token;容忍 ±200 行漂移与空白差异
  • Anthropic Batches API(v0.4.73+)— aicli batch submit/list/status/results/cancel 包 Message Batches(50% 折扣 + 24 小时窗口),适合离线分析和批量 eval
  • Web UI 会话回放(v0.4.71+)— 会话列表每项 🎬 按钮打开时间轴回放:消息、工具调用、推理内容、cache-aware token 用量一目了然
  • 对话分支(v0.4.74+)— REPL 内 /branch list/new/switch/delete/rename/diff/cherry-pick,Web UI 回放面板每条消息旁 🌿 "fork here" 按钮,任意位置开辟新分支探索不同方向,原对话保持不变;v0.4.81 起所有子命令支持 id / title / 唯一前缀
  • 符号索引(v0.4.76+,C1;v0.4.143 起多语言)— tree-sitter 持久化索引(TS / JS / TSX / JSX / Python / Go / Rust / Java / C/C++)+ 3 个只读 AI 工具(find_symbol / get_outline / find_references)+ /index status/rebuild/clear;启动后台增量刷新,write_file 后自动 upsert
  • 语义代码搜索(v0.4.77+,C2)— search_code AI 工具 + 本地 sentence embedding(paraphrase-multilingual-MiniLM-L12-v2,117 MB 一次性下载,384 维,CPU 运行);支持中英文自然语言查询代码;/index semantic-rebuild/semantic-clear 管理
  • MCP Server 模式(v0.4.84+,E1)— aicli mcp-serve 把 aicli 反转为 MCP 服务器(JSON-RPC 2.0 over stdio),把 30 个内置工具(含 find_symbol / search_code / run_tests)输出给 Claude Desktop / Cursor / 任何 MCP 客户端;支持 --tools 白名单、--cwd 覆盖、--allow-destructive
  • Session 敏感数据脱敏(v0.4.88+)— 统一 redactor 在 session 落盘前自动替换 password= / api_key / bearer token / OpenAI key 为 [REDACTED:*];查询文本也走脱敏,secret 不会进 embedding 或日志;/security status + /security scan 审计
  • 类人长期记忆(v0.4.89+,B4)— 聊天记录语义索引跨 session 可召回 + recall_memory AI 工具 + /memory rebuild/refresh/status/recall/index-clear;AI 看到"上次"/"之前"/指代不明时自动回忆。复用 C2 的 MiniLM embedder
  • Web UI Memory 面板(v0.4.90+,B4)— sidebar 新增 🧠 Memory 标签页,跨 session 语义搜索;每条 hit 带 ➕ Inject(把片段作为 markdown 引用块塞进聊天输入框,用户可在上面继续打字编辑——不是静默注入上下文)和 ↗ Load(跳转对应 session);顶部"➕ Inject top 3"一键批量
  • 流式工具调用 — 实时流式展示 AI 推理过程和工具调用
  • 子代理系统 — 将复杂子任务委派给独立子代理执行
  • 思考控制 — /think on|off|low|high|max,覆盖 Claude、DeepSeek、GLM-5、Ollama 思考模型(API 允许关闭的默认关闭)
  • 规划模式 — /plan 进入只读规划,AI 先分析后执行,内置死循环检测
  • 自动暂停 — 每 10 轮自动暂停,用户可审查进度或重定向 AI
  • MCP 协议 — 接入外部 MCP 服务器,动态发现工具
  • 多用户认证 — Web UI 支持多用户密码登录
  • PWA 支持 — Web UI 可安装为桌面/移动应用,支持局域网访问
  • 三层级上下文 — 全局 / 项目 / 子目录上下文文件自动注入;支持原生 AICLI.md、Claude 兼容 CLAUDE.md、Codex 兼容 AGENTS.md 及 override 文件
  • 无头模式 — aicli -p "提示词" 用于 CI/CD 管道和脚本
  • 49 个 REPL 命令 — 会话管理、检查点、代码审查、安全审查/扫描、对话回退、脚手架、聊天记忆召回、智能模型路由(/route)等
  • GitHub Actions CI/CD — Node 20/22 自动测试 + Release tag 自动发布 npm
  • 跨平台 — Windows、macOS、Linux

安装

npm 安装(推荐)
npm install -g jinzd-ai-cli

需要 Node.js >= 22.12.0。安装后使用 aicli 启动。

Electron 桌面应用(Windows)

从 GitHub Releases 下载安装包,无需 Node.js:

平台 下载
Windows x64 ai-cli-setup.exe
独立可执行文件

预编译 CLI 二进制(无需 Node.js,约 56 MB):

平台 文件
Windows x64 ai-cli-win.exe
macOS arm64 ai-cli-mac
macOS x64 ai-cli-mac-x64
Linux x64 ai-cli-linux

快速开始

终端 CLI
aicli

首次运行会进入交互式配置向导,先设置你的身份档案,再选择 Provider 并输入 API Key。身份信息会注入每次 AI 对话。

[deepseek] > 你好!帮我分析一下这个项目
[deepseek] > @src/main.ts 审查这个文件有没有 bug
[deepseek] > @screenshot.png 这张图片里有什么?
[deepseek] > /help

使用 @文件路径 在提示词中引用文件或图片。

Web UI
aicli web                    # 在 localhost:3000 启动
aicli web --port 8080        # 自定义端口
aicli web --host 0.0.0.0    # 局域网访问(手机/平板)

功能:多 Tab 会话、文件树面板、拖拽/粘贴图片、Prompt 模板库、8 套 DaisyUI 主题、PWA 可安装、键盘快捷键、Diff 语法高亮。

用户管理
aicli user create admin      # 创建用户(启用认证)
aicli user list              # 列出所有用户
aicli user reset-password x  # 重置密码
aicli user delete x          # 删除用户

支持的 Provider

Provider 模型 获取 API Key
Claude Fable 5.1、Opus 5.5、Sonnet 5.5、Haiku 5.5(另保留旧版 Opus 4.6、Haiku 4.5) console.anthropic.com
Gemini 2.5 Pro, 2.5 Flash aistudio.google.com
DeepSeek deepseek-flash(默认,多模态), deepseek-v4-pro platform.deepseek.com
OpenAI GPT-5.4, GPT-5, GPT-4.1, o3, o4-mini platform.openai.com
OpenRouter 300+ 模型(Claude/GPT/Gemini/Llama/Qwen/Mistral...) openrouter.ai
Zhipu(智谱) glm-5.3-flash(默认)、glm-5.3-flashx、glm-5.3、glm-4.7-flash(免费) open.bigmodel.cn
Kimi kimi-k2.7-code(默认)、kimi-k2.7-code-highspeed、kimi-k3 platform.moonshot.cn
Qwen qwen3.8-flash(默认)、qwen3.7-plus、qwen3.8-max、qwen-flash bailian.console.aliyun.com
MiniMax MiniMax-M3(默认) platform.minimaxi.com
Ollama 任意本地模型(Llama、Qwen、Gemma、Mistral...) 无需 API Key — ollama.com

也可通过 customBaseUrls 配置接入任意 OpenAI 兼容 API。

Ollama(本地模型)

在自己的硬件上完全本地运行 AI,无需 API Key,无使用费,数据不离开本机。

# 从 https://ollama.com 安装 Ollama,然后拉取模型:
ollama pull qwen3:4b      # 推荐:工具调用支持好
ollama pull gemma3:4b
ollama pull llama3.1:8b

# 启动 aicli,切换到 Ollama:
aicli
[deepseek] > /provider ollama   # 自动发现已安装的模型
[ollama] > /model               # 从本地模型中选择

注意:建议使用 4B 及以上的模型以获得较好的工具调用支持。小模型(\<4B)在 MCP 服务器注入大量工具定义时可能无法正常工作。

内置工具(Agentic 能力)

AI 在对话中可自主调用 30 个工具:

工具 安全级别 说明
bash 动态判断 执行 shell 命令(Windows: PowerShell,Unix: $SHELL)
read_file 安全 读取文件内容(10 MB 限制,支持图片)
write_file 写入 创建/覆盖文件(diff 预览 + 确认)
edit_file 写入 精确字符串替换,模糊匹配提示 + replaceAll 全局替换模式
list_dir 安全 列出目录内容
grep_files 安全 正则搜索文件内容
glob_files 安全 按 glob 模式匹配文件
web_fetch 安全 抓取网页转 Markdown(防 SSRF)
web_search 安全 无需 Key 的 Bing/Google 网页搜索,弱结果自动降级
google_search 安全 Google 自定义搜索
run_interactive 写入 运行交互式程序并输入;任意可执行程序均需确认
run_tests 安全 自动检测并运行测试(JUnit XML 解析)
spawn_agent 安全 委派子任务给命名隔离 agent(agent: explorer/worker/reviewer/security/tester)
ask_user 安全 暂停并向用户提问
save_memory 安全 跨会话持久化重要信息
write_todos 安全 任务拆解,终端实时渲染进度
save_last_response 写入 保存 AI 回复到文件
task_create 写入 在后台启动命令
task_list 安全 列出后台任务及其状态/输出
task_stop 写入 停止运行中的后台任务
git_status 安全 显示工作区状态(分支、暂存、已修改、未跟踪)
git_diff 安全 显示文件差异(暂存/未暂存,统计摘要)
git_log 安全 显示提交历史(单行/完整,按文件/作者过滤)
git_commit 写入 创建 git 提交(暂存文件、提交信息)
notebook_edit 写入 编辑 Jupyter notebook 单元格(增/改/删/移动)
find_symbol 安全 按名称精确查找函数/类/方法定义(C1,tree-sitter 索引)
get_outline 安全 获取文件的符号大纲(类 → 方法树)(C1)
find_references 安全 查找符号的所有引用(C1)
search_code 安全 语义代码搜索(C2,自然语言查询,中英文均可)
recall_memory 安全 从历史聊天会话中语义召回相关片段

安全级别:安全 = 自动执行,写入 = 需要确认(文件编辑工具还会显示 diff 预览),破坏性 = 醒目警告 + 确认。

文档深入阅读
  • docs/TUTORIAL.zh-CN.md — 10 节动手教程,1 小时从零到熟练
  • docs/USAGE.zh-CN.md — 完整参考手册(所有命令、工具、配置)
  • docs/ADVANCED.zh-CN.md — 架构与内部原理(开发者向)
  • docs/RECIPES.zh-CN.md — 实战配方(按场景查)
  • docs/SECURITY.zh-CN.md — 安全模型、部署清单、审计历史。 把 aicli web 暴露到网络前请先读。
  • CHANGELOG.md — 每个版本的更新记录

主要 REPL 命令

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm jinzd-ai-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229