git-toplevel
Method to find the top level git directory
6
Versions
MIT
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source, so a manually published version cannot be tied back to a reviewed commit.
Maintainers
royriojas
Keywords
git-toplevelgit root directorygit
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| semgrep | semgrep:child-process-import | AI (semgrep): git-toplevel inherently shells out to git via child_process.exec to find the repo root — this is the core functionality of the package, not a risk. | ai | |
| provenance | no-provenance | AI (provenance): Package has a verified GitHub repo and long publish history; lack of Sigstore provenance is not a risk signal for this established package. | ai |