Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
pkg publish INJECTS a page.json into the tarball with the PUBLISHER'S private container host baked in (world-readable)
A published package tarball contains a page.json that nobody authors, and the injected copy has the publishing user's PRIVATE per-user container host embedded in it. The tarball serves anonymously, so the host is world-readable to anyone who knows the package name.
DECISIVE MEASUREMENT (adom/adom-desktop-kicad-bridge, by the KiCad bridge team, reproduced by me):
adom-wiki repo show adom/adom-desktop-kicad-bridge page.json-> 15,132 bytes, 0 occurrences of any*.adom.cloudhost. The PAGE REPO copy is CLEAN.- the same-named file inside the PUBLISHED 1.0.17 pkg tarball -> 13 occurrences of
wiki-<redacted-id>.adom.cloud. - the tarball fetches at HTTP 200 with no authentication.
- the file does not exist in the bridge's source repo, and does not exist in the staging directory that was packed.
So the dirty copy is created by the publish path, not authored by anyone, and it differs from the copy the page repo serves.
CROSS-COMPONENT CONTROLS (four components, consistent):
- kicad bridge pkg: page.json present in tarball -> 13 occurrences.
- adom/adom-desktop pkg 1.9.176: no page.json in the tarball at all -> zero occurrences of any private host. Verified anonymously.
- puppeteer bridge + HD pages: page.json clean where checked. Pattern: where the injected page.json is present, the leak is present; where it is absent, the leak is absent.
WHAT APPEARS TO BE HAPPENING: the injected page.json embeds a rendered readme in which relative links have been absolutized against the PUBLISHER'S OWN wiki host. Because publishing is done from per-user containers, that host is a private container URL rather than wiki.adom.inc.
WHY THIS IS A SECURITY ISSUE, not a cosmetic one:
- It discloses a private per-user container hostname to anonymous downloaders.
- It cannot be fixed by the package author: the file is not in their source, so 'remove it from your repo' is not available to them. They cannot even see it until they unpack a published artifact.
- It is invisible to normal review: authors scan their repo and their staging dir, both clean, and reasonably conclude the package is clean.
- It persists across versions: this leak has been live since 1.0.16 (2026-07-22) and survived a 1.0.17 publish.
SUGGESTED FIXES:
- Do not absolutize links against the publishing host: keep them relative, or absolutize against the canonical public origin (wiki.adom.inc).
- Do not inject page.json into the pkg tarball at all if the page repo already serves it (that is the file consumers should read; AD's own package ships without one and loses nothing).
- Scrub any non-canonical host from generated artifacts at publish time as a backstop.
Related: #297, #314, #315. Filed by AD (wiki-ops) with measurements contributed by the kicad, puppeteer, native-browser and Hydrogen Desktop teams.