The published package has no contact address #35

Closed
opened 2026-08-11 14:18:57 +00:00 by chrnx · 0 comments
Owner

author is the bare string "green-tea contributors" with no email, and bugs has a url but no email. So the only contact npm can show for a published package is a GitHub issues URL, which is the wrong channel for anything that is not a bug report and is unreachable for anyone who does not have a GitHub account.

bugs.email is a real npm field that npm bugs surfaces, which makes it the right home for a project catch-all address.

Not a security address, though. npm has no field for one, an invented key is read by no tooling, and the standard location is /.well-known/security.txt per RFC 9116, at the domain root. The docs site cannot serve it: website/astro.config.mjs sets base: '/docs', so everything in website/public/ lands under /docs/. That one belongs to whatever serves the apex domain, and it carries a mandatory Expires field that has to be kept fresh, since an expired security.txt reads as an abandoned policy.

`author` is the bare string `"green-tea contributors"` with no email, and `bugs` has a `url` but no `email`. So the only contact npm can show for a published package is a GitHub issues URL, which is the wrong channel for anything that is not a bug report and is unreachable for anyone who does not have a GitHub account. `bugs.email` is a real npm field that `npm bugs` surfaces, which makes it the right home for a project catch-all address. Not a security address, though. npm has no field for one, an invented key is read by no tooling, and the standard location is `/.well-known/security.txt` per RFC 9116, at the domain root. The docs site cannot serve it: `website/astro.config.mjs` sets `base: '/docs'`, so everything in `website/public/` lands under `/docs/`. That one belongs to whatever serves the apex domain, and it carries a mandatory `Expires` field that has to be kept fresh, since an expired `security.txt` reads as an abandoned policy.
chrnx closed this issue 2026-08-11 14:41:05 +00:00
Sign in to join this conversation.