gitagent icon indicating copy to clipboard operation
gitagent copied to clipboard

npm tarball blocked with HTTP 403 by a supply-chain package firewall — cannot install

Open Vidur-lyzr opened this issue 5 months ago • 1 comments

Summary

Installing @open-gitagent/gitagent fails inside a sandboxed hosting environment because its supply-chain package firewall returns HTTP 403 Forbidden when fetching the package tarball. Dependency metadata resolves fine for the whole tree (~710 packages); only the gitagent .tgz download itself is refused. (Environment: a hosted dev sandbox that proxies npm through a scanning firewall — same class of scanner used by several CI/hosting providers.)

Reproduction

pnpm add @open-gitagent/gitagent

Error

ERR_PNPM_FETCH_403 GET .../@open-gitagent/gitagent/-/gitagent-1.5.2.tgz: Forbidden - 403

Affected versions

  • @open-gitagent/[email protected], 1.5.1, 1.5.2
  • Predecessor package gitclaw (0.5.0–1.4.1) — same 403

What I ruled out (the trigger is in the package's own published contents)

  • Not the package name — gitclaw (different name, same codebase) is blocked identically.
  • Not the baileys dependency — installing [email protected] alone produces no 403.
  • Not an install script — published scripts have no preinstall/postinstall/install hooks.
  • Not minimum-release-age — the versions are several days old.

This isolates the trigger to something inside the tarball contents themselves (108–124 files, ~750 KB unpacked, including a bundled dist/voice/ui.html).

Questions for maintainers

  1. Are you aware of the published tarballs being flagged by supply-chain scanners?
  2. Is anything in the bundle (bundled HTML/voice assets, vendored or minified output) likely to read as suspicious to a scanner?
  3. Is there a recommended install path for sandboxed environments — e.g. a slimmer SDK-only package without the CLI/voice assets?

Vidur-lyzr avatar Jun 06 '26 13:06 Vidur-lyzr

Fixed in the latest release, separated dpds for personal agent & sdk

shreyas-lyzr avatar Jun 09 '26 09:06 shreyas-lyzr