Aris Kg

io.github.kennysarnoski-jarvis由 GitHub 账号 kennysarnoski-jarvis 发布v0.2.0更新于 Nov 7, 2026

Current CVEs, advisories, framework releases and reference code from a 15M-concept graph.

概览

AI 生成的概览

把编码助手连接到 Aris 知识图谱,获取最新 CVE、安全公告、框架版本与参考代码。

可以做什么
  • 按精确版本检查依赖包,返回 CVE 编号、严重程度、CVSS、受影响与修复版本及是否已被在野利用
  • 按编号或描述查找 CVE 与 GitHub 安全公告
  • 查询当前主版本、配置方式、攻击技术、缓解措施与常见陷阱
  • 获取已发布软件包中的参考代码
  • 搜索比图谱更新的信息,并附来源链接
适用场景
适合在助手选择库版本、新增依赖,或编写认证、加密、SQL、文件路径相关代码前先核查已知漏洞。也适合需要对锁文件做审计、或在拉取请求中拦截含漏洞依赖的团队。
运行要求
通过 npx 以 stdio 在本地运行(需要 Node.js)。需要在 ARIS_API_KEY 环境变量中提供 Aris API 密钥,可从服务商账户页面获取。需能访问 Aris API 网络;调用按 Aris 积分计费,每分钟最多 120 次调用。
安装前请注意
该图谱是付费 API:每次调用消耗积分(CVE、知识或代码搜索及每个依赖检查 1 美分,网页搜索 2 美分),助手自动发起的调用会产生费用。ARIS_API_KEY 密钥需写入客户端配置。查询内容(包括包名与搜索词)会发送到 Aris 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Aris Kg,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

aris-kg

Coding agents answer from training data that stops months before you use them. aris-kg connects them to the Aris knowledge graph instead: more than 15 million concepts, refreshed daily from NVD, OSV, GitHub security advisories, MITRE ATT&CK, OWASP and framework releases.

It comes three ways:

  • An MCP server for Claude Code, Cursor, Codex, Windsurf and any other MCP client.
  • A CLI that checks every pinned version in your lockfiles against known CVEs.
  • A GitHub Action that fails a pull request when it adds a vulnerable dependency.

The code is open source (MIT). The graph is a paid API: you need a key from youraris.com/account, and each call is billed to your Aris credits.

CallPrice
CVE, knowledge or code search1¢
Dependency check1¢ per package
Web search2¢

Every account is limited to 120 calls a minute.

MCP server

The server gives your agent five tools, and tells it to use them without being asked: before adding a dependency, for any CVE, when picking a library version, and before writing auth, crypto, SQL or file-path code.

ToolWhat it does
aris_check_dependenciesChecks exact package versions: CVE ids, severity, CVSS, affected and fixed versions, and whether a CVE is exploited in the wild
aris_search_cveFinds CVEs and GitHub advisories by id or description
aris_search_knowledgeCurrent major versions and setup patterns, attack techniques, mitigations and known pitfalls
aris_search_codeReference code from published packages
aris_web_searchAnything newer than the graph, with source URLs

Claude Code

bash
claude mcp add aris -e ARIS_API_KEY=your-key -- npx -y aris-kg mcp

Cursor, Windsurf and other JSON-configured clients

json
{  "mcpServers": {    "aris": {      "command": "npx",      "args": ["-y", "aris-kg", "mcp"],      "env": { "ARIS_API_KEY": "your-key" }    }  }}

Codex

In ~/.codex/config.toml:

toml
[mcp_servers.aris]command = "npx"args = ["-y", "aris-kg", "mcp"]env = { ARIS_API_KEY = "your-key" }

CLI

bash
export ARIS_API_KEY=your-key
npx aris-kg audit                   # lockfiles in the current foldernpx aris-kg audit ./service --fail-on criticalnpx aris-kg audit --json > report.jsonnpx aris-kg search cve CVE-2024-3094

audit reads these lockfiles. It only checks exact versions, so use a lockfile rather than a manifest with ranges.

EcosystemLockfiles
npmpackage-lock.json, pnpm-lock.yaml, yarn.lock
Pythonpoetry.lock, uv.lock, Pipfile.lock, requirements.txt (pinned == lines)
RustCargo.lock
Gogo.mod
Java and Kotlin (Maven)gradle.lockfile
RubyGemfile.lock
PHPcomposer.lock
.NETpackages.lock.json
Elixirmix.lock
Dart and Flutterpubspec.lock
SwiftPackage.resolved

aris_check_dependencies and the API take any of these ecosystems: npm, pypi, crates, go, maven, rubygems, packagist, nuget, hex, pub and swift. The graph also covers OSV's Hackage, CRAN, ConanCenter, Linux kernel and GitHub Actions advisories, searchable with aris_search_cve.

It exits with 1 when a vulnerability is at or above --fail-on (default high), or is exploited in the wild at any severity. --fail-on none never fails. Errors exit with 2.

GitHub Action

yaml
name: Dependency auditon: [pull_request]jobs:  aris:    runs-on: ubuntu-latest    steps:      - uses: actions/checkout@v4      - uses: kennysarnoski-jarvis/aris-kg@v0        with:          api-key: ${{ secrets.ARIS_API_KEY }}          fail-on: high

As a library

ts
import { ArisClient } from "aris-kg";
const aris = new ArisClient({ apiKey: process.env.ARIS_API_KEY! });const report = await aris.checkDependencies([{ name: "lodash", version: "4.17.20", ecosystem: "npm" }]);

Development

bash
npm installnpm testnpm run buildnode dist/bin.js --help

Set ARIS_BASE_URL to point the client at another server.

License

MIT

来源:README.md,提交 b6ba59d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0最新Nov 7, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分