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.
config --help prints the internal staging hostname, so it ships in the public binary
adom-wiki config --help prints the internal staging hostname to anyone who runs it. The CLI binary is downloadable anonymously, so an internal infrastructure hostname ships in a public artifact.
Source: a clap doc comment in src/commands/config_cmd.rs:
/// e.g. https://wiki.adom.inc or https://helium.stg.adom.internal
Reproduce against the release binary:
strings target/release/adom-wiki | grep -c 'adom\.internal' # 1
adom-wiki config set-registry --help # prints it
Severity is low: the host does not resolve off the internal network, and it is an example rather than a default. But it is gratuitous, the fix is one line, and naming internal hosts in shipped artifacts is exactly the habit that produced the neighbouring leak in adom/adom-bridge#200 (a private per-user container host baked into a published binary).
Fix
Use a neutral placeholder in the help text: e.g. https://wiki.adom.inc or https://your-staging-host. Anyone who needs the real staging host already knows it.
Not affected
src/commands/discussion/mod.rsalso contains the host, but in a#[cfg(test)]fixture, so it is not compiled into the release binary. Verified: the released binary contains exactly one occurrence, from the help text above.- No private
*.adom.cloudcontainer host appears in this binary or in the publishedadom/adom-wiki-clitarball.
While filing this I also swept the current published tarball of adom/core, adom/adom-cli, adom/adom-lbr, adom/altium-bridge, adom/nameplate-generator, adom/mjpeg-stream-viewer, adom/adom-wiki-skillpack, adom/kicad-bridge and adom/hero-studio for both host classes. All clean.
Worth considering as the general fix for this whole class: a publish-time check that refuses an artifact containing *.adom.internal or a *-<id>.adom.cloud host. Proposed in adom/adom-bridge#200 as well.