BlackHart
Go live

How we score open source

An open-source project's score is one number: what BlackHart-1's automated rules found in the code of one release. Here is what that number says and what it does not, what it is compared with, what we read, how the projects are chosen and who to write to.

What the score is

Each open-source score is what BlackHart-1's automated rules found in the source code of one release, compared with the typical rate for the project's main language among these 500 projects.

Where fewer than three projects we score share a main language, each of them is compared instead with a rate halfway between its own rate and the median rate across all languages. Among these 500 those are GNU Bash, Perl and Ruby, each alone in its main language.

The score runs from 300 to 1000. 1000 means no automated rule matched in a full read of the source code we scanned; it is not an audit or certification, and does not mean the release has no flaws or published advisories.

No person reviews the rules' matches, and we never show them: not how many, not what they are, not where.

How to read it

Compare a project with others in its language: a score does not rank a C library against a JavaScript one.

Small projects move the most. In a library under 10,000 lines, one match can move the score by 50 to 110 points, so treat close scores as equal.

Libraries whose job is to build database queries, run code or read files tend to score lower, because those are the patterns the rules look for.

It reads code. It does not assess how a project is maintained.

This is not an audit or a certification, and open-source scores are not comparable with the protocol and market scores on this site.

What we read

We read the latest release of each project, as its registry lists it, or as the project releases it where it has no registry. Each project's page names the release and the day it was published. For a package that shares a repository with others, we read only its own folder.

A project whose main code we did not read has no score. Its page says so and shows what we read of it, and it counts in no figure of the index.

The scores in the index come from one run of BlackHart-1 over every project, made on Dec 1, 2026. A score changes only when we publish a new run or update the model.

On Dec 4, 2026, the top of the open-source scale moved from 955 to 1000: every score rose by 45 points, and nothing else about the method or the reads changed.

Own code, and with its dependencies

The index calls this score Own code. It is the one number the index shows, on the landing and in the table, and the number /dependencies and Builder count a library by, so a library two of your dependencies share counts once.

On a project's own page, With its dependencies takes its own code and the runtime dependencies we score among these 500, each by its own-code score. It starts at the lowest of them and falls 10 points for each further one under 750, to a floor of 300. It is never higher than the own-code score, a dependency at 1000 lowers nothing, and dependencies outside the 500 do not count.

How a project is chosen

The list holds 500 projects in 10 ecosystems: npm 110, PyPI 85, Maven Central 65, C and C++ 45, Go 60, crates.io 50, NuGet 25, Packagist 20, Shell 5 and Chain code 35. In each ecosystem we ranked projects by how much other software depends on them, using public counts read on Nov 29, 2026. Across the index, most places went to the top of those lists. The rest went to projects the counts alone would leave out, chosen for the job they do: logins, security, scripting and the rest.

  • npm, PyPI, Go, crates.io, NuGet and Packagist: the packages in the same registry that depend on it, from packages.ecosyste.ms.
  • Maven Central and Chain code: the open-source repositories that depend on it, from packages.ecosyste.ms. Foundry, Alloy, Forge Standard Library and OpenZeppelin Contracts for Cairo are counted instead by how many times they were forked on GitHub.
  • C and C++: the other Debian packages that depend on it, in Debian 13.
  • Shell: the systems in Debian's popularity contest that have it installed.
  • Each language's own runtime (Node.js, CPython, OpenJDK, Go, Rust, .NET and PHP) takes a place in its ecosystem by rule, since no registry counts its own language's runtime as a dependency; its number is the size of its registry.

Each project's page shows its count and where we read it. See every project.

Who to write to

If you maintain a project and think a fact or a read is wrong, write to security@blackhart.io.