zakariagharzouli / sparda
AI writes. SPARDA proves. A deterministic, offline gate that catches when an AI edit removes a guard, exposes a route, or breaks an invariant — no API key, right in the agent edit loop.
zakariagharzouli/sparda 的健康指数为 100 分中的 63 分,处于「中等」区间。 其得分最高的类别是Engineering Quality(84/100),最低的是Sustainability & Governance(38/100)。 最近一次更新在 36 天前。 近期的大部分工作由 1 位贡献者完成。
软件健康指数
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
评分画像
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 59 经校准后在公布的指数量表上为 63(记录校准 2026-08-02)。
所有权
软件包生态系统
| 注册表 | 软件包 | 版本 | 月下载量 | 版本数 | 最近发布 | 标签 |
|---|---|---|---|---|---|---|
| npm | sparda-mcp | 0.73.0 | 795 | 49 | 42 天前 | mcpmcp-servermodel-context-protocolclaudeclaude-codeai-code-reviewcode-reviewguardrailsstatic-analysissecurityauthorizationbolaai-agentstrust-layer |
按类别列示的指标
活力
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
开发活跃度
评分方式
| 18/36 | 推送新近度 — 最近一次推送于 36 天前 |
| 7.6/36 | 提交节奏 — 52 周中有 11 周有提交 |
| 18/18 | 提交量 — 最近一年 111 次提交 |
| 10/10 | OpenSSF Scorecard:Maintained — 13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
所用输入
| 最近一年提交数 | 111 |
| 由人类编写的提交占比 | 1 |
| 距最近推送天数 | 36 |
| 最近一年有提交的周数 | 11 |
发布纪律
评分方式
| 27/27 | 有发布版本 — 已发布 8 个发布版本 |
| 36/36 | 发布时效 — 最近一次发布版本于 89 天前 |
| 27/27 | 发布节奏 — 约每 4.5 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
所用输入
| 发布版本数 | 8 |
| 最近发布版本的标签 | v0.68.0 |
| 发布版本由版本标签推导 | 否 |
| 距最近发布版本天数 | 89 |
| 发布版本之间的平均间隔天数 | 4.5 |
社区与采用
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
流行度与采用
评分方式
| 13.7/60 | 星标 — 8 个星标 |
| 0/25 | 复刻 — 1 个复刻 |
| 0/15 | 关注者 — 0 位关注者 |
所用输入
| 复刻 | 1 |
| 星标 | 8 |
| 关注者 | 0 |
| 增长真实性状态 | unverified |
| 应用于星标与复刻的乘数(%) | 100 |
| 无法评估增长的原因 | no_history |
社区健康
评分方式
| 22.5/22.5 | README |
| 16.9/22.5 | 许可证 — 存在许可证文件,但不是可识别的许可证 |
| 18/18 | CONTRIBUTING 指南 |
| 13.5/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 0/6.3 | PR 模板 |
所用输入
| 存在 README | 是 |
| 存在许可证文件 | 是 |
| README 中的徽章数 | 5 |
| 存在 CONTRIBUTING 指南 | 是 |
| 存在议题模板 | 否 |
| 存在行为准则 | 是 |
| README 中使用的徽章服务 | github.com, shields.io |
| 存在拉取请求模板 | 否 |
生态采用(下载量)
评分方式
| 38.7/80 | 月度下载量 — npm 合计每月 795 次下载 |
| 0/20 | 注册表被依赖数 — 该生态系统不报告此项 |
所用输入
| 软件包 | sparda-mcp |
| 注册表被依赖数 | — |
| 软件包生态系统 | npm |
| 累计下载量 | — |
| 月度下载量 | 795 |
| 因未经验证而排除的软件包 | — |
可持续性与治理
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
维护者韧性(巴士系数)
评分方式
| 9/54 | 巴士系数 — 1 位贡献者贡献了半数提交 |
| 0.6/22.5 | 提交分布 — 头号贡献者编写了 97% 的提交 |
| 2.7/13.5 | 贡献者广度 — 2 位贡献者 |
| 3/10 | OpenSSF Scorecard:Contributors — project has 1 contributing companies or organizations -- score normalized to 3 |
所用输入
| 巴士系数 | 1 |
| 抽样的贡献者数 | 2 |
| 头号贡献者的提交占比 | 0.972 |
议题与 PR 响应能力
评分方式
| 0/42 | 议题解决 — 0% 的议题已关闭 |
| 16.6/30 | PR 接受 — 已裁定的 PR 中 16/29 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 0/15 | OpenSSF Scorecard:Code-Review — Found 0/28 approved changesets -- score normalized to 0 |
所用输入
| 已合并的拉取请求 | 16 |
| 开放议题 | 1 |
| 已关闭议题 | 0 |
| 最近 7 天内已合并的拉取请求 | 0 |
| 最近 7 天内已裁定的拉取请求 | 0 |
| 最近 30 天内已合并的拉取请求 | 0 |
| 最近 30 天内已裁定的拉取请求 | 0 |
| 已关闭议题占比 | 0 |
| 未合并即关闭的拉取请求 | 13 |
| 最近 30 天内有拉取请求得到裁决的首次贡献者数 | 0 |
| 最近 30 天内已合并的首次贡献者拉取请求 | 0 |
| 最近 30 天内已裁定的首次贡献者拉取请求 | 0 |
所有权与托管责任
评分方式
| 10/30 | 所有权背书 — 个人(用户)账户 |
| 0/20 | 已验证域名 — 不适用于个人账户 |
| 2.2/25 | 所有者影响力 — zakariagharzouli 有 1 位关注者 |
| 14.4/25 | 既往记录 — 29 个公开仓库,账户约 1 年 |
所用输入
| 关注者 | 1 |
| 所有者账户类型 | User |
| 已验证域名 | — |
| 所有者账户 | zakariagharzouli |
| 公开仓库数 | 29 |
| 所有者账户年龄(天) | 658 |
软件包维护
评分方式
| 25/25 | 已发布且可解析 — npm 上有 1 个软件包 |
| 35/35 | 发布时效 — 最近一次发布于 42 天前 |
| 20/20 | 版本历史 — 49 个已发布版本 |
| 20/20 | 未被弃用 — 活跃,未被弃用或撤回 |
所用输入
| 软件包 | sparda-mcp |
| 软件包生态系统 | npm |
| 存在已弃用或撤回的软件包 | 否 |
| 距最近一次软件包发布天数 | 42 |
工程质量
基础的工程与文档实践是否到位?
工程实践
评分方式
| 24/24 | CI 工作流 — 2 个工作流 |
| 24/24 | 存在测试 |
| 16/16 | Linter 配置 — eslint.config.js |
| 0/9.6 | Pre-commit 钩子 |
| 0/6.4 | .editorconfig |
| 20/20 | OpenSSF Scorecard:CI-Tests — 5 out of 5 merged PRs checked by a CI test -- score normalized to 10 |
所用输入
| 存在 CI 工作流 | 是 |
| 存在测试 | 是 |
| 存在 .editorconfig | 否 |
| 存在 Linter 配置 | 是 |
| 存在 Pre-commit 配置 | 否 |
文档
评分方式
| 30/30 | README |
| 25/25 | 文档目录 |
| 0/15 | 文档 / 主页站点 |
| 10/10 | 仓库描述 |
| 10/10 | 主题标签 — 10 个主题标签 |
| 10/10 | Wiki |
所用输入
| 仓库主题标签 | ai-agents, ai-code-review, authorization, bola, claude-code, guardrails, mcp, security, static-analysis, trust-layer |
| 已启用 Wiki | 是 |
| 仓库主页 | — |
| 文档站点 | — |
| 存在 README | 是 |
| 存在文档目录 | 是 |
| 存在仓库描述 | 是 |
安全
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
安全态势
评分方式
| 7.5/7.5 | Binary-Artifacts — no binaries found in the repo |
| 0/7.5 | Branch-Protection — 无数据 |
| 2.5/2.5 | CI-Tests — 5 out of 5 merged PRs checked by a CI test -- score normalized to 10 |
| 0/2.5 | CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected |
| 0/7.5 | Code-Review — Found 0/28 approved changesets -- score normalized to 0 |
| 0.8/2.5 | Contributors — project has 1 contributing companies or organizations -- score normalized to 3 |
| 10/10 | Dangerous-Workflow — no dangerous workflow patterns detected |
| 7.5/7.5 | Dependency-Update-Tool — update tool detected |
| 0/5 | Fuzzing — project is not fuzzed |
| 2.2/2.5 | 许可证 — license file detected |
| 7.5/7.5 | Maintained — 13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| 0/5 | Packaging — 无数据 |
| 1.5/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 3 |
| 0/5 | SAST — SAST tool is not run on all commits -- score normalized to 0 |
| 2/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — 无数据 |
| 0/7.5 | Token-Permissions — detected GitHub workflow tokens with excessive permissions |
| 0/7.5 | Vulnerabilities — 58 existing vulnerabilities detected |
所用输入
| 数据来源 | openssf_scorecard |
| 已评估的 Scorecard 检查数 | 15 |
| OpenSSF Scorecard 版本 | v5.5.0 |
| 无定论的 Scorecard 检查数 | 3 |
| OpenSSF Scorecard 综合得分 | 4.9 |
依赖安全公告
评分方式
| 10.9/35 | 直接依赖不含已知公告 — 1 个受影响:@modelcontextprotocol/sdk 1.29.0 (high 8.6) |
| 25/25 | 间接依赖不含已知公告 — 没有间接依赖携带已知公告 |
| 40/40 | 没有长期未处理的公告 — 没有公告公开超过 90 天 |
所用输入
| 数据来源 | osv |
| 受影响软件包的公告总数 | 5 |
| 受公告影响的软件包数 | 1 |
| 已评估的软件包数 | 119 |
| 未评估的软件包数 | 0 |
| 按严重程度划分的受影响软件包 | high 1 |
| 受公告影响的直接依赖数 | 1 |
AI 就绪度
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
AI 代理上下文与指引
评分方式
| 0/45 | 代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则 |
| 0/15 | 机器可读文档(llms.txt) |
| 40/40 | 可读的提交历史 — 100 次人类提交中有 95 次说明了意图(结构化标题或解释性正文) |
所用输入
| 存在 llms.txt | 否 |
| 项目网站上 llms.txt 的地址 | — |
| 说明了意图的人类提交占比 | 0.95 |
| 代理指令文件 | — |
| 最大代理指令文件的大小(字节) | — |
评分方式
| 0/18 | 一条命令的引导启动 |
| 22/22 | 自动化测试 |
| 11/11 | Lint / 格式化配置 — eslint.config.js |
| 11/11 | 静态类型检查 — tests/fixtures/nest-class-seeding/tsconfig.json, tests/fixtures/nest-di-blindspot-location/tsconfig.json, tests/fixtures/nest-direct-provider/tsconfig.json, tests/fixtures/nest-provider-tapp/tsconfig.json, tests/fixtures/nest-strict-chain/tsconfig.json, tests/fixtures/ubg-graphql-resolver/tsconfig.json, tests/fixtures/ubg-guard-dominance/tsconfig.json, tests/fixtures/ubg-nest-all-verb/tsconfig.json, tests/fixtures/ubg-nest-passport/tsconfig.json, tests/fixtures/ubg-nest-status-const/tsconfig.json, tests/fixtures/ubg-nestjs-deep/tsconfig.json, tests/fixtures/ubg-nextjs-hoc-guard/tsconfig.json, tests/fixtures/ubg-param-auth-decorator/tsconfig.json, tests/fixtures/ubg-server-actions/tsconfig.json |
| 10/10 | 可复现环境 — lockfile |
| 6/10 | 已体现的代理实践 — 最近 100 次提交中有 3 次由代理编写或署名代理 |
| 5/8 | 自动化维护 — 已配置依赖自动化,但在抽样提交中未观察到 |
| 3/10 | OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 3 |
所用输入
| 存在 Nix 配置 | 否 |
| 存在测试 | 是 |
| 依赖锁定文件 | package-lock.json |
| 存在 Dockerfile | 否 |
| 主要语言为静态类型 | 否 |
| 一条命令引导启动的文件 | — |
| 存在 Dev Container 配置 | 否 |
| 存在 Linter 配置 | 是 |
| 类型检查配置文件 | tests/fixtures/nest-class-seeding/tsconfig.json, tests/fixtures/nest-di-blindspot-location/tsconfig.json, tests/fixtures/nest-direct-provider/tsconfig.json, tests/fixtures/nest-provider-tapp/tsconfig.json, tests/fixtures/nest-strict-chain/tsconfig.json, tests/fixtures/ubg-graphql-resolver/tsconfig.json, tests/fixtures/ubg-guard-dominance/tsconfig.json, tests/fixtures/ubg-nest-all-verb/tsconfig.json, tests/fixtures/ubg-nest-passport/tsconfig.json, tests/fixtures/ubg-nest-status-const/tsconfig.json, tests/fixtures/ubg-nestjs-deep/tsconfig.json, tests/fixtures/ubg-nextjs-hoc-guard/tsconfig.json, tests/fixtures/ubg-param-auth-decorator/tsconfig.json, tests/fixtures/ubg-server-actions/tsconfig.json |
| 由代理编写或署名代理的提交占比 | 0.03 |
| 工具链清单 | — |
| 自动依赖更新提交占比 | 0 |
面向模型的代码可读性
评分方式
| 27/45 | 可类型检查的代码 — JavaScript,已配置类型检查(tests/fixtures/nest-class-seeding/tsconfig.json, tests/fixtures/nest-di-blindspot-location/tsconfig.json, tests/fixtures/nest-direct-provider/tsconfig.json, tests/fixtures/nest-provider-tapp/tsconfig.json, tests/fixtures/nest-strict-chain/tsconfig.json, tests/fixtures/ubg-graphql-resolver/tsconfig.json, tests/fixtures/ubg-guard-dominance/tsconfig.json, tests/fixtures/ubg-nest-all-verb/tsconfig.json, tests/fixtures/ubg-nest-passport/tsconfig.json, tests/fixtures/ubg-nest-status-const/tsconfig.json, tests/fixtures/ubg-nestjs-deep/tsconfig.json, tests/fixtures/ubg-nextjs-hoc-guard/tsconfig.json, tests/fixtures/ubg-param-auth-decorator/tsconfig.json, tests/fixtures/ubg-server-actions/tsconfig.json) |
| 54.5/55 | 可控的文件大小 — 采样的 968 个源文件中有 8 个超过 60KB |
所用输入
| 主要语言 | JavaScript |
| 最大源文件的大小(字节) | 179,892 |
| 采样的源文件数 | 968 |
| 过大的源文件数 | 8 |
机器可读接口
评分方式
| 40/40 | API 模式(OpenAPI/GraphQL/proto) — tests/fixtures/ubg-openapi-ghost/openapi.json, tests/fixtures/ubg-openapi/openapi.json |
| 20/20 | MCP 服务器 |
| 0/40 | 可运行示例 |
所用输入
| 可运行示例目录 | — |
| 存在 MCP 服务器信号 | 是 |
| API 模式文件 | tests/fixtures/ubg-openapi-ghost/openapi.json, tests/fixtures/ubg-openapi/openapi.json |
| 应当提供接口的软件类型 | network-service |
关键数据
数据采集警告
- Star history unavailable
- Could not fetch npm package 'demo-crm' from its registry
- GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository
更多细节
OpenSSF Scorecard 4.9 / 10
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 10 | Binary-Artifacts | no binaries found in the repo |
| 不适用 | Branch-Protection | internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md |
| 10 | CI-Tests | 5 out of 5 merged PRs checked by a CI test -- score normalized to 10 |
| 0 | CII-Best-Practices | no effort to earn an OpenSSF best practices badge detected |
| 0 | Code-Review | Found 0/28 approved changesets -- score normalized to 0 |
| 3 | Contributors | project has 1 contributing companies or organizations -- score normalized to 3 |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 10 | Dependency-Update-Tool | update tool detected |
| 0 | Fuzzing | project is not fuzzed |
| 9 | License | license file detected |
| 10 | Maintained | 13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| 不适用 | Packaging | packaging workflow not detected |
| 3 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 3 |
| 0 | SAST | SAST tool is not run on all commits -- score normalized to 0 |
| 4 | Security-Policy | security policy file detected |
| 不适用 | Signed-Releases | no releases found |
| 0 | Token-Permissions | detected GitHub workflow tokens with excessive permissions |
| 0 | Vulnerabilities | 58 existing vulnerabilities detected |
直接依赖 5
| 注册表 | 软件包 | 版本约束 | 清单文件 |
|---|---|---|---|
| npm | express | ^4.19.0 | demo-app/package.json |
| npm | @babel/parser | 8.0.4 | package.json |
| npm | @babel/traverse | 8.0.4 | package.json |
| npm | @clack/prompts | 1.7.0 | package.json |
| npm | @modelcontextprotocol/sdk | 1.29.0 | package.json |
全部依赖 未采集
本报告未能采集到解析后的依赖集合:GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository
依赖安全公告 1
安装 npm:sparda-mcp@0.73.0 会引入 119 个包(直接与传递):其中 1 个存在已知公告,1 个为直接依赖。
| 软件包 | 版本 | 关系 | 严重程度 | 公告数 | 修复版本 |
|---|---|---|---|---|---|
| @modelcontextprotocol/sdk | 1.29.0 | 直接 | 高 | 5 | 2.3.1 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
原始 JSON 报告 机器可读
反馈
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。