Skip to content

πŸ›‘οΈ Sentinel: Hardened SSH security in build workflow#232

Closed
christopherfoxjr wants to merge 2 commits into
mainfrom
sentinel-security-hardening-ssh-976250922199913536
Closed

πŸ›‘οΈ Sentinel: Hardened SSH security in build workflow#232
christopherfoxjr wants to merge 2 commits into
mainfrom
sentinel-security-hardening-ssh-976250922199913536

Conversation

@christopherfoxjr
Copy link
Copy Markdown
Member

🚨 Severity: HIGH
πŸ’‘ Vulnerability: Insecure SSH credential handling and host key verification in kiba.yml.
🎯 Impact: Credentials could be exposed in system process lists, and disabling host key verification invited Man-In-The-Middle (MITM) attacks.
πŸ”§ Fix: Used sshpass -e with the SSHPASS environment variable and implemented proper host key scanning with ssh-keyscan.
βœ… Verification: Confirmed file changes in .github/workflows/kiba.yml and verified workflow syntax with check_workflows.py.


PR created automatically by Jules for task 976250922199913536 started by @christopherfoxjr

- Replaced insecure `sshpass -p` with `sshpass -e` to avoid credential exposure in process lists.
- Implemented host key verification using `ssh-keyscan` instead of disabling it with `StrictHostKeyChecking=no`.
- Updated `.Jules/sentinel.md` with security learning.

Co-authored-by: christopherfoxjr <213370400+christopherfoxjr@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Comment thread .Jules/sentinel.md
@@ -0,0 +1,4 @@
## 2025-05-15 - Insecure SSH credentials in build workflow
**Vulnerability:** The `kiba.yml` workflow was using `sshpass -p "$SF_PASS"` and `StrictHostKeyChecking=no`.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants