Fix Repository Audit Issues and Enhance Audit Script#369
Fix Repository Audit Issues and Enhance Audit Script#369christopherfoxjr wants to merge 1 commit into
Conversation
- Truncate .gitkeep files to exactly 0 bytes for hygiene compliance. - Remove trailing whitespace from build.sh. - Harden liveuser password in build.sh using chpasswd -e and hash placeholder. - Make ldconfig check in repo_audit.sh conditional on PaperDE build. - Exclude repo_audit.sh from chmod 777 security check. - Add security check for plaintext chpasswd usage to repo_audit.sh. Co-authored-by: christopherfoxjr <213370400+christopherfoxjr@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR addresses several issues identified by the
scripts/repo_audit.shtool and enhances the tool itself to be more robust and accurate.Key changes:
.gitkeepandbranding/.gitkeepto 0 bytes and removed trailing whitespace inbuild.sh.liveuseraccount creation inbuild.shby using encrypted passwords (chpasswd -e) instead of plaintext, utilizing a pre-calculated hash and a placeholder for substitution.ldconfigcheck for PaperDE is now conditional, preventing false positives when PaperDE isn't being built.repo_audit.shnow excludes itself from thechmod 777check.chpasswdusage that doesn't use the-eflag (plaintext risk).workflows_to_add.txtand other non-source files from security greps.PR created automatically by Jules for task 7911006019896029463 started by @christopherfoxjr