Copilot
31f5601097
Add integrity verification and VirtualBox hosts enforcement to pacman wrapper ( #6 )
...
* Initial plan
* Add integrity checks and VirtualBox hosts enforcement to pacman wrapper
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive tests and documentation for security enhancements
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Address code review feedback: improve error handling and VirtualBox detection
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive summary of security enhancements
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Final code review fixes: improve comments, validation, and security messaging
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive implementation verification document
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-16 20:50:27 +01:00
Copilot
faff8ba349
Fix shell script formatting and add PR workflow validation ( #3 )
...
* Initial plan
* fix: format shell scripts with shfmt (convert tabs to 2 spaces)
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* feat: enhance shell-check workflow for PR pre-merge validation
- Add pull_request_target trigger to check PRs from forks
- Add explicit failure message with instructions
- Create BRANCH_PROTECTION.md with setup guide
- Ensure workflow runs on all PRs targeting main/master
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* refactor: improve workflow security and remove redundant exit code
- Remove pull_request_target to avoid executing untrusted fork code
- Remove redundant exit 1 from failure step
- Update documentation to reflect changes
- Standard pull_request trigger handles forks securely
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-07 22:52:20 +01:00
92df80522e
feat: sick mode
2026-01-07 17:03:07 +01:00
3a62a02c3d
refactor: reduce code duplication from 1.97% to 0.76%
...
- Add common.sh library functions: require_imagemagick, install_missing_pacman_packages, handle_arg_help_or_unknown
- Create android.sh shared library for Android utilities
- Create hosts-guard-common.sh for pacman hooks shared functions
- Update multiple scripts to source common.sh and use shared helpers
- Add print_shutdown_schedule helper in setup_midnight_shutdown.sh
- Remove duplicate log(), usage(), install_packages patterns across scripts
- Format all shell scripts with shfmt (2-space indent)
2025-12-11 18:32:15 +01:00
2eacdc07dc
Add greylist support for challenge-required packages
...
- Create pacman_greylist.txt with virtualbox as initial entry
- Add is_greylisted_package_name() for substring matching
- Add remove_installed_greylisted_packages() to auto-uninstall
- Replace hardcoded VirtualBox check with generic greylist check
- Update installer to copy greylist file
2025-12-04 21:33:29 +01:00
77d1cc581e
fix: resolve all shellcheck errors
...
- Replace 'A && B || C' patterns with proper if-then-else statements (SC2015)
- Add check_for_virtualbox function to invoke prompt_for_virtualbox_challenge (SC2317)
- Fix install_launcher function to escape variable in heredoc (SC2119/SC2120)
- Apply shfmt formatting to ensure consistent style
Fixes 7 SC2015 violations, 1 SC2317 violation, and 1 SC2119/SC2120 pair.
All 79 shell files now pass shellcheck without errors.
2025-11-16 21:17:08 +01:00
42db2c1d44
fix: shellcheck issues
2025-11-01 15:36:22 +01:00
d854019534
feat: removed yt from pacman blocked list
2025-10-31 18:00:30 +01:00
b2ef334526
Revert "feat: removed pre unlock hosts script"
...
This reverts commit 14d5802544 .
2025-10-31 17:50:11 +01:00
e88cf53483
feat: add 3 python packages to whitelist
2025-10-31 17:37:26 +01:00
63a4f8b3ae
chore: organize scripts folder
2025-10-31 17:31:16 +01:00