Fix bumblebee install path, ship the missing scan script and timer - #2
Open
Percius04 wants to merge 2 commits into
Open
Fix bumblebee install path, ship the missing scan script and timer#2Percius04 wants to merge 2 commits into
Percius04 wants to merge 2 commits into
Conversation
Fixes elynch303#1 (partially -- AUR-Malware's dead upstream URL is a separate, unresolved problem left out of this PR on purpose). - SecurityWidget.qml: bbInstallProc targeted the bumblebee module root (github.com/perplexityai/bumblebee@latest), which go install rejects ('found, but does not contain package ...'). The installable binary lives at cmd/bumblebee. Verified working end-to-end after the fix. - qs-security-scan.sh + systemd/qs-security-scan.{service,timer}: the README documents this script and timer as what feeds the widget's status file, but neither was actually shipped in the repo -- so even a correctly installed scanner never produced a result. Adds the script (skips AUR-Malware cleanly when it's not installed, runs bumblebee scan and summarizes package/finding counts) and the unit files, plus wires an opt-in step into install.sh mirroring the existing bun-check flow. Tested on a real machine: bumblebee installs and scans correctly, qs-security-scan.timer runs on the 6h schedule and writes a status file the widget reads and displays.
Atomic-Arch/AUR-Malware (what the install button cloned and the README pointed at) has been deleted -- clone always failed, surfaced as the generic "maybe git isn't in PATH" error. The fallback destination, /local/applications/AUR-Malware, also isn't writable by a normal user (no sudo in this flow), so even a working URL would have failed there. nightdevil00/AUR-Malware -- already linked in this repo's own GitHub "About" section as the intended source, just never wired into the README or the install button -- is a maintained fork shipping the same check-atomic-arch_new.sh entry point. Repointed the install button, default path/env-var fallback, and README to it, using ~/.local/share/AUR-Malware instead of the root-owned path. Also fixes the AUR-Malware branch of qs-security-scan.sh, which never surfaced findings: the script's exit code is always 0 regardless of result, and the previous "last output line" heuristic picked up a disclaimer fragment instead of a verdict. Switched to --json and parse the trailing JSON object (verdict + pass/warn/fail counts) directly. Fixes elynch303#1.
Percius04
force-pushed
the
bumblebee-path-and-scan-script
branch
2 times, most recently
from
July 30, 2026 18:51
e5153c3 to
9bdda24
Compare
Percius04
force-pushed
the
bumblebee-path-and-scan-script
branch
from
August 1, 2026 02:00
e30dfdb to
9bdda24
Compare
Percius04
added a commit
to Percius04/security-scan
that referenced
this pull request
Aug 1, 2026
…are fixes, detail view + dismiss, persistence scanner + history + notifications + native-panel UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1.
bumblebee install path
bbInstallProctargeted the module root:which fails:
The installable binary is at
cmd/bumblebee. Fixed the target path — verified it installs and runs correctly.Missing qs-security-scan.sh + timer
The README documents
~/.local/bin/qs-security-scan.shand a systemd timer as what feeds~/.cache/qs-security-status.json(whatstatusFilereads), but neither is actually in the repo — so even a correctly installed scanner never produces a visible result, because nothing ever writes the status file.Added:
qs-security-scan.sh— skips the AUR-Malware section cleanly when it isn't installed (checks executability atQS_SEC_AUR_MALWAREfirst), runsbumblebee scanwhen installed and summarizes package/finding counts into the JSON shapeSecurityWidget.qmlexpects.systemd/qs-security-scan.{service,timer}— the units the README already describes inline, as actual files.install.sh(mirroring the existing bun-check prompt) that copies the script, installs the units, and enables the timer.AUR-Malware install (added in a follow-up commit)
The install button cloned
Atomic-Arch/AUR-Malware, which no longer exists (404) — always failed, surfaced as a generic "maybe git isn't in PATH" error. The fallback path,/local/applications/AUR-Malware, also isn't writable without root.This repo's own GitHub "About" section already links nightdevil00/AUR-Malware as the intended source — it just was never wired into the README or the install button, which still pointed at the dead repo. Repointed both, plus the default path, to it (a maintained fork shipping the same
check-atomic-arch_new.sh), using~/.local/share/AUR-Malwareinstead of the root-owned path.Also fixed
qs-security-scan.sh's AUR-Malware branch: the script's exit code is always 0 regardless of findings, and grabbing the last output line as a summary was picking up a disclaimer fragment instead of a verdict — switched to--jsonand parse the trailing JSON object (verdict + pass/warn/fail counts) directly.Tested end-to-end on a real machine: bumblebee installs, AUR-Malware installs and scans,
qs-security-scan.timerruns on schedule, and the widget shows real results for both scanners instead of "never scanned".