Revera 是一个 CLI 工具,通过分析质量、维护、安全、生态健康和发布者可信度来评估 npm 包,并生成可解释的贝叶斯信誉评分。

Stars

11

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

MIT

最近更新

2026-07-18

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它引入了跨依赖图的传递风险传播和基于贝叶斯有向无环图的评分引擎,结合多源漏洞聚合,比 npm audit 或 Socket 等现有工具提供更细致的洞察。

适合谁使用

  • 评估新依赖项的 npm 包使用者
  • 审计项目供应链的安全工程师
  • 自动化安装前检查的 DevOps 团队
  • 评估自身包健康度的开源维护者

典型使用场景

  • 安装前使用 `revera add` 筛选包
  • 使用 `revera audit` 审计整个项目(包括传递依赖)
  • 使用 `revera why` 获取详细的可解释评分分解
  • 比较不同包的信誉(计划中)

项目优势

  • 8 个维度的可解释评分,含贝叶斯置信区间
  • 传递风险传播,标记受污染的依赖并显示爆炸半径
  • 并行查询三个独立漏洞数据库(OSV、GitHub Advisory、npm)
  • 支持离线模式和 GitHub API 认证的加密令牌存储

使用前须知

  • V1 基准测试对恶意包(22.2%)和拼写欺骗(35.0%)检测率低,V2 否决检查旨在修复
  • 尚无官方 GitHub Action 或 VS Code 扩展(在路线图中)
  • 仅支持 npm 生态系统(未原生支持 pnpm 或 Yarn),需 Node ≥20

README 快速开始

Quick Start

项目描述

The credit score for npm packages. Analyze package reputation, maintenance, security, publisher trust, and ecosystem health before you install any package.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web 开发前端框架
14,861
vercel-labs
精选
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

开发者工具代码质量与构建
1,985
Jakubantalik
精选
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI 与机器学习AI 智能体
1,191