GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification · Issue #948 · developing-today/code

security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification #948

New issue
Copy link
New issue
Copy link
Closed
#970
Closed
security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification#948
#970
Copy link
Assignees
dezren39
Labels
app/aggregatorPackage/app: aggregator (pm-stack in this repo)kind/securitySecurity issue or security hardeningpriority/highImportant and time-sensitivesource/pr-diff-reviewFiled by the pr-diff-review jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Oct 26, 2026
Issue body actions

Finding

pm-stack/aggregator/scripts/push-fleet-feed.sh (added by PR #892, commit 46584cefaef5) hands the egress-proxy credential to socat by interpolating it into the SSH ProxyCommand string, so the proxy username/password appears in the ssh/scp/socat process command lines — readable by any local user via ps for the duration of every ~5-minute feed push. The same connection disables SSH host-key verification entirely.

Evidence (current main a2eef6f7920a)

  • pm-stack/aggregator/scripts/push-fleet-feed.sh:48:
    proxycmd = f"socat - PROXY:{u.hostname}:100.99.113.103:22,proxyport=3130,proxyauth={user}:{pw}"
  • :54 passes it as -o ProxyCommand={proxycmd} to scp and ssh (:60-67). Command lines are world-readable on Linux (/proc/<pid>/cmdline), so the shared proxy credential — read at runtime from HTTPS_PROXY / the mcpx daemon env — is exposed to any process on the sandbox for each push window.
  • :50-51: StrictHostKeyChecking=no with UserKnownHostsFile=/dev/null — the laptop's host key is never verified, on a connection authenticated with the sandbox's ~/.ssh/id_ed25519. A spoofed endpoint on the proxy route silently receives the feed push and the remote mv.
  • git grep proxyauth origin/main hits only this file — the pattern exists nowhere else in the repo.

The credential itself is not in the diff or the repo (it is read from a file/env at runtime) — this is about the hand-off mechanism, not a committed secret.

Why it matters

The proxy credential is a shared fleet secret (the same egress proxy mcpx uses). argv is the weakest place a secret can sit: it needs no file permission, no ptrace, no root — just ps. And with host-key checking off, the SSH transport the push relies on provides authentication of the client but none of the server, so the credential exposure and the MITM surface compound on the same connection.

Acceptance criteria

  • The proxy credential no longer appears in any process command line (e.g. env/fd-based hand-off to socat, or a mode-600 config file socat reads), verified by inspecting ps//proc during a push.
  • The laptop host key is pinned and verified (checked-in known-hosts entry, or Tailscale SSH), and a push to a mismatched key fails.
  • A grep-level guard or test asserts neither proxyauth= interpolation nor StrictHostKeyChecking=no reappears in push-fleet-feed.sh.
  • Normal fleet-feed pushes keep working end to end (feed arrives on the laptop, remote mv completes).

Found by the pr-diff-review job reviewing PR #892 against current main. Dedupe: searches for proxyauth / StrictHostKeyChecking push-fleet-feed returned no existing issue.

Activity

Next
  1. dezren39
    added
    kind/securitySecurity issue or security hardening
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    source/pr-diff-reviewFiled by the pr-diff-review job
    priority/highImportant and time-sensitive
    queue/queuedHas a queued queue task
    on Oct 26, 2026
  2. developing-today commented on Oct 26, 2026

    @developing-today
    developing-todayBot
    on Oct 26, 2026 – with developing.today
    Contributor
    More actions

    CODE-160

  3. dezren39
    added
    app/aggregatorPackage/app: aggregator (pm-stack in this repo)
    on Oct 26, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 26, 2026
  5. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Agent note — state: filed; Agent: pr-diff-review job; Session/ID: pr-diff-review run 2026-10-25 23:37 CDT; Found via: filed this run (PR diff review against current main a2eef6f). A repo-task/v1 packet for this issue is being enqueued to the repo-health-code-pilot queue.

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Oct 26, 2026
  7. 6 remaining items

  8. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 26, 2026
  9. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code)
    • Session / ID: queue task 1111
    • Found via: queue claim
    • Task: Fix security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification #948 — replace socat proxyauth ProxyCommand in push-fleet-feed.sh with an off-argv CONNECT hand-off, pin/verify laptop host key, add grep-level guard.
    • Expectation: effort m; done = PR opened with credential absent from all argv, pinned host key, guard test, targeted tests passing.
    • Links: issue security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification #948; branch pending
  10. developing-today
    added
    status:in-review
    on Oct 26, 2026
  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 26, 2026
  12. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Agent note — claim finished, PR opened.

    The queue worker (task 1111) completed the implementation and pushed branch queue/1111-948-fleet-feed-proxy-hostkey (checkpoint: implementation_complete), but its run ended before it could open the PR or close out the task — the claim evaporated and the task sat capped at 2/2 attempts. As part of the queue repair Drew ordered today, the attempt cap was raised, the task was re-claimed and completed through the normal verbs, and the PR is open: #970.

    • Agent: Muse (operator finish on behalf of repo-worker-code)
    • Task: 1111 → done, outcome pr_opened
    • Remaining gate: CI on PR security(aggregator): keep fleet-feed proxy credential off argv, pin laptop host key #970
  13. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Oct 26, 2026
  14. dezren39
    closed this as completedin #970on Oct 26, 2026
  15. developing-today
    added
    status:done
    and removed
    status:in-review
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/aggregatorPackage/app: aggregator (pm-stack in this repo)kind/securitySecurity issue or security hardeningpriority/highImportant and time-sensitivesource/pr-diff-reviewFiled by the pr-diff-review jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.