> ## Documentation Index
> Fetch the complete documentation index at: https://zeropath.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Supported Ecosystems

> Which package ecosystems ZeroPath analyzes, and what each one needs for full transitive coverage

ZeroPath's SCA analyzers recognize the following ecosystems out of the box:

> [card] npm / Yarn / pnpm

> [card] PyPI

> [card] Go modules

> [card] Maven / Gradle / SBT / Ivy

> [card] NuGet

> [card] RubyGems

> [card] crates.io (Cargo)

> [card] Packagist / Composer

> [card] Hex (Elixir)

> [card] Pub (Dart/Flutter)

> [card] Swift

> [card] Haskell (Hackage)

> [card] R (CRAN)

Every dependency record tracks whether ZeroPath saw it declared **directly** or
pulled in **transitively**, so you can apply different policies to first-party
choices and vendor libraries. Development and optional dependencies declared in
your manifests are inventoried too; [reachability](https://zeropath.com/docs/sca/reachability.md) helps
separate runtime-relevant findings from dev-only noise.

## How resolution works

ZeroPath resolves your dependency graph directly from your manifests wherever it
can. It also uses committed **lockfiles** and native build-tool resolution for
supported ecosystems. The practical contract is per-ecosystem, summarized in
the table below. Two rules hold everywhere:

* **Direct dependencies can still be scanned when the transitive graph can't be
  built**, as described below. Native Ivy requires a complete resolution; a
  failure leaves that manifest unscanned and produces a coverage warning.
* **Unknown versions aren't guessed.** If a version can't be determined, for
  example an unresolved range or a broken parent chain, the package is still
  recorded in your inventory and SBOM but is not vulnerability-matched. This
  avoids false positives from guessed versions.

> [!NOTE]
>
> **Private packages?** Connect [npm registries](https://zeropath.com/docs/integrations/private-registries.md)
> or follow the [Maven, Gradle, and sbt setup guide](https://zeropath.com/docs/sca/private-registries.md).
> Maven and Gradle share a connection; sbt needs its own. Run a new scan after
> connecting and check [coverage](https://zeropath.com/docs/sca/coverage.md).

### Coverage without a committed lockfile

| Ecosystem | Without a committed lockfile |
| - | - |
| npm / Yarn / pnpm | **Full transitive coverage** — resolved directly from `package.json` |
| Maven (`pom.xml`) | **Transitive resolution from POMs** — includes parent POMs, BOMs, and properties; no lockfile required. [Private-registry limits](https://zeropath.com/docs/sca/private-registries.md#run-a-scan-and-check-coverage) apply. |
| Ivy (`ivy.xml`) | **Full transitive coverage** — native Ivy resolves all configurations, conflicts and exclusions; no lockfile required |
| Python (`requirements.txt`, fully `==`-pinned) | **Resolved as-is** — every pinned package is scanned (a `pip freeze` / `pip-compile` file already lists transitives) |
| Python (`pyproject.toml`, `Pipfile`, partially-pinned `requirements.txt`) | **Direct deps only** — manage via `pyproject.toml`/`Pipfile` and commit `poetry.lock`, `uv.lock`, or `Pipfile.lock` (or fully `==`-pin) |
| Go modules | **Direct deps only** — commit `go.sum` (`go mod tidy`) |
| Gradle (`build.gradle`, `.kts`) | **Native resolution when successful** — otherwise coverage may be limited to direct dependencies; `gradle.lockfile` is also supported |
| SBT (`build.sbt`) | **Native resolution when successful** — otherwise coverage may be limited to direct dependencies; `build.sbt.lock` and `lock.sbt` are also supported |
| Cargo (`Cargo.toml`) | **Direct deps only** — commit `Cargo.lock` |
| NuGet (`*.csproj`, `*.fsproj`, `*.vbproj`) | **Direct deps only** — commit `packages.lock.json` |
| Ruby | **Direct deps only** — commit `Gemfile.lock` |
| PHP | **Direct deps only** — commit `composer.lock` |
| Elixir | **Direct deps only** — commit `mix.lock` |
| Dart / Flutter | **Direct deps only** — commit `pubspec.lock` |
| Swift | **Direct deps only** — commit `Package.resolved` |

> [!WARNING]
>
> For every ecosystem marked **Direct deps only**, a missing lockfile means
> transitive dependencies aren't resolved and range specifiers stay ambiguous, so
> transitive vulnerability matching and SBOM completeness suffer. ZeroPath still
> records your direct dependencies and flags the manifest with a **Transitive
> dependencies unresolved** warning so the gap is visible. See
> [Coverage & warnings](https://zeropath.com/docs/sca/coverage.md) for how to clear it, including the
> [commands to generate each lockfile](https://zeropath.com/docs/sca/coverage.md#generate-lockfiles-before-scanning).

> [!TIP]
>
> For **npm/Yarn/pnpm**, **Maven**, and a fully `==`-pinned **`requirements.txt`**,
> a committed lockfile is optional — it only makes scans faster and more
> deterministic.

## Compiled & vendored artifacts

Binary JVM artifacts committed to your repository, such as JARs and WARs, are
scanned for the packages embedded inside them. Those packages appear in your inventory
alongside source-declared dependencies, with a **Compiled** source-type badge
(e.g. JAR, WAR), so you can see vendored or pre-built libraries that manifest-only
analysis would miss. The Dependencies inventory lets you filter by
**Source Type** to isolate compiled vs. source-declared findings.

## Ecosystem notes

> [accordion] Go modules
>
> ZeroPath handles the `+incompatible` suffix used by pre-module Go packages
> (major version 2+), matching versions like `v3.2.0+incompatible` to known
> advisories. Go pseudo-versions (e.g. `v0.0.0-20231215084216-abcdef123456`) are
> commit snapshots, not published releases, so ZeroPath records them in inventory
> but doesn't attempt advisory version-matching on them.

> [accordion] Maven
>
> Multi-module (reactor) builds are fully resolved: ZeroPath indexes every POM
> in the repository and resolves `<parent>` references across modules even when
> `<relativePath/>` is empty or absent, so a child can inherit
> `<dependencyManagement>` versions from a sibling's parent. Parent POMs that
> declare dependencies only in `<dependencyManagement>` are captured, and
> classifier-bearing artifacts are attributed to the correct package. When a
> parent POM can't be resolved locally or remotely, versions inherited through
> that chain are treated as unresolved rather than guessed.

> [accordion] Gradle
>
> Beyond plain `build.gradle(.kts)` declarations, ZeroPath also recognizes
> dependencies declared through version catalogs (`libs.versions.toml`),
> convention plugins, platform/BOM constraints, and the Kotlin DSL. Transitives
> can come from native Gradle resolution or a committed `gradle.lockfile`.
> For private libraries or plugins, configure the
> [Maven / Gradle connection](https://zeropath.com/docs/sca/private-registries.md#connect-maven-or-gradle).

> [accordion] Ivy
>
> ZeroPath resolves `ivy.xml` with native Ivy, preserving selected versions,
> configuration mappings, inherited descriptors, exclusions and transitive
> dependency paths. Packages use Maven `organisation:module` identities.
> This works with standard and next-gen SCA. Resolution reads dependency
> metadata without compiling the project or downloading dependency JARs.
> Colocated `ivysettings.xml` supports Maven, URL, filesystem, chain and dual
> resolvers, including settings includes and property files. Local files must
> stay within the repository. Ant targets, custom plugins, SSH/SFTP resolvers
> and properties computed by a build are unsupported and produce a coverage
> warning. Ivy files are not updated by the Maven upgrade patcher.
>
> [Maven registry connections](https://zeropath.com/docs/integrations/private-registries.md) also provide
> credentials for private Ivy repositories.

> [accordion] SBT (Scala)
>
> ZeroPath records direct dependencies from `build.sbt` and can resolve
> transitives with native sbt. It also parses committed lockfiles: `build.sbt.lock`
> ([sbt-dependency-lock](https://github.com/stringbean/sbt-dependency-lock)) or
> `lock.sbt` ([sbt-lock](https://github.com/tkawachi/sbt-lock)).
> Connect private libraries and build plugins through the separate
> [sbt connection](https://zeropath.com/docs/sca/private-registries.md#connect-sbt). Check coverage warnings
> if the build or dependency resolution fails.

> [accordion] NuGet
>
> Package ids are matched case-insensitively, so casing differences between a
> manifest and the registry never cause a miss. Opt into NuGet lockfile mode and
> commit `packages.lock.json` (`dotnet restore --use-lock-file --force-evaluate`,
> NuGet 4.9+) for transitive coverage.

> [accordion] Cargo (Rust)
>
> Binary crates commit `Cargo.lock` by default, and ZeroPath uses it directly.
> Library crates commonly omit it (per Cargo's guidance); commit
> `Cargo.lock` (`cargo generate-lockfile`) for transitive coverage. A crate that
> resolves to multiple versions in the same graph is reported as separate
> `(name, version)` pairs, so each one reaches advisory matching.

> [accordion] Python manifest formats
>
> All common formats are supported:
>
> * **requirements.txt** — standard pip format
> * **Pipfile** — Pipenv (`[packages]` / `[dev-packages]`)
> * **pyproject.toml (Poetry)** — including 1.2+ group dependencies
> * **pyproject.toml (PEP 621)** — the `[project]` table used by uv, hatch, flit,
>   setuptools, and pdm (both `dependencies` and `optional-dependencies`)

> [!NOTE]
>
> Every finding records a package's place in the graph (direct or transitive) and
> the chain that introduced it, and links back to the exact manifest file and line
> where the dependency was declared rather than the lockfile. A package reached
> through multiple dependency paths is deduplicated into a single inventory entry,
> so counts reflect unique packages. See [Blast radius](https://zeropath.com/docs/sca/blast-radius.md) for how
> the dependency chain becomes call-site impact during an upgrade.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.