# pkgtruth

Catches hallucinated and slopsquatted npm and PyPI packages before an agent installs them.

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 0.2.2
- **Author:** io.github.hxckya
- **License:** MIT
- **npm:** pkgtruth
- **Source:** https://github.com/hxckya/pkgtruth
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 24 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-11T14:24:10.299Z
- **Version scanned:** 0.2.2
- **CVEs:** none found by OSV at scan time

## Tools

3 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `check_package` — Verify a single npm or PyPI package before installing, importing, or recommending it.
- `check_dependencies` — Verify many npm or PyPI packages at once — use this before writing a package.json or requirements.txt,
- `check_install_command` — Verify the packages a shell command would install or execute, before running it:

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"pkgtruth\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"pkgtruth\"\n      ]\n    }\n  }\n}"
```

## Blast radius

Extensive to critical — no credential declaration found, from the publisher, the upstream registry, or the README. Known so far: runs commands; runs on your machine.
- Floor 44, ceiling 72 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/pkgtruth
- Install plan: https://forgeregistry.com/api/v1/packages/pkgtruth/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/pkgtruth
- HTML page: https://forgeregistry.com/registry/pkgtruth
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
