Icecast ships a default source password of "hackme" in three places #3
Closed
opened 2026-08-20 03:06:26 -04:00 by logan
·
1 comment
No Branch/Tag Specified
main
feat/45-trunk-recorder
fix/44-upload-spool
feat/41-disk-reporting
fix/41-updater-prune
fix/discord-voice-join
fix/updater-safe-directory
fix/28-amd64-images
fix/18-install-token-argv
fix/19-image-tag-skew
feat/discord-system
feat/24-p25-conventional
feat/local-ui-usable
fix/14-15-provision-ota
feat/sdr-pins
feat/secondary-sdr-priority
feat/second-sdr-adsb-ais
feat/publish-public-images
fix/install-rerun-pickup
pulse-recorder
v1.1.0
v1
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/node-26#3
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
hackmeis the default Icecast source password in all three places a node can pick one up:docker-compose.ymlICECAST_SOURCE_PASSWORD: ${ICECAST_SOURCE_PASSWORD:-hackme}setup.shread -rsp "Source password [hackme]: "— pressing Enter accepts it.env.exampleICECAST_SOURCE_PASSWORD=hackmedrb-edge-node/app/config.pycarries the same default (icecast_source_password: str = "hackme").Icecast binds all interfaces, so on a node whose operator pressed Enter through
setup.shanyone on that LAN can push audio into the node's stream — the stream the frontend and mobile clients play as live traffic. For a public-safety product, an unauthenticated party being able to inject audio into what users believe is live radio is the part that matters, more than the eavesdropping.Carried over from the 2026-08-05/06 security audit, which listed it as an open HIGH and where it has sat since.
Fix direction: generate a random source password during
setup.shinstead of offering a default, and drop the:-hackmefallback in compose so a missing value fails loudly rather than silently becoming a known credential. Related but separate: node-26#1, where the dashboard is still on its first-boot default in the field.Rotating this on node-002 is an operational step, not just a code change.
Fixed in
e6aab75.Every fallback is gone rather than replaced with a better default:
icecast/entrypoint.shrefuses to start if either password is empty and prints how to generate one. This is the single hard gate.docker-compose.ymluses${VAR:?message}, so a missing value stops the stack at compose time instead of becoming an empty string.setup.shnow generates a random password when the operator presses Enter (openssl rand -base64 24,/dev/urandomfallback). That is the real behaviour change — a prompt default nobody types over is not a default, it is the value..env.exampleships both keys empty with the generation command in a comment;README.mdmarks them required with no default.drb-edge-node/app/config.pyandop25-container/app/main.pyno longer carryhackmeeither.Client suite: 185 passed.
Still outstanding, and it is the part that actually protects node-002: the deployed node's
.envhas whatever it was set up with. Nothing here rotates it. Generate a new one on the node withopenssl rand -base64 24, put it in.env, and restart the stack.Also added
.gitattributespinning*.shto LF (fb13bb8) —gitwarned thatentrypoint.shwould become CRLF in the Windows working copy, and a CRLF shebang inside a Linux container fails asbad interpreter: /bin/sh^M, which shows up only as a container that will not start.