Skip to content

audit F14 [security]: apt-get install sshpass without version pin (deploy.yml) #581

@intendednull

Description

@intendednull

File: .github/workflows/deploy.yml:43-44
Severity: security
Obvious? no

sudo apt-get update && sudo apt-get install -y sshpass runs in the deploy job that holds DEPLOY_PASSWORD. Whichever version Ubuntu's repos serve at job time is installed without pinning. While Ubuntu archive integrity is generally trusted, the dependency on sshpass itself is an antipattern (see #227). If #227 is fixed by moving to native SSH key auth, this entire step disappears, removing the install-time supply-chain surface.

Fix: eliminate the sshpass step by switching to SSH key authentication (e.g., webfactory/ssh-agent SHA-pinned, or appleboy/ssh-action SHA-pinned).


Filed by /general-audit @ 6404719 (2026-05-03). master: #567.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions