Skip to content

Fix bumblebee install path, ship the missing scan script and timer - #2

Open
Percius04 wants to merge 2 commits into
elynch303:mainfrom
Percius04:bumblebee-path-and-scan-script
Open

Fix bumblebee install path, ship the missing scan script and timer#2
Percius04 wants to merge 2 commits into
elynch303:mainfrom
Percius04:bumblebee-path-and-scan-script

Conversation

@Percius04

@Percius04 Percius04 commented Jul 30, 2026

Copy link
Copy Markdown

Fixes #1.

bumblebee install path

bbInstallProc targeted the module root:

go install github.com/perplexityai/bumblebee@latest

which fails:

go: github.com/perplexityai/bumblebee@latest: module github.com/perplexityai/bumblebee@latest found (v0.1.2), but does not contain package github.com/perplexityai/bumblebee

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.sh and a systemd timer as what feeds ~/.cache/qs-security-status.json (what statusFile reads), 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 at QS_SEC_AUR_MALWARE first), runs bumblebee scan when installed and summarizes package/finding counts into the JSON shape SecurityWidget.qml expects.
  • systemd/qs-security-scan.{service,timer} — the units the README already describes inline, as actual files.
  • Wired an opt-in step into 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-Malware instead 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 --json and 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.timer runs on schedule, and the widget shows real results for both scanners instead of "never scanned".

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
Percius04 force-pushed the bumblebee-path-and-scan-script branch 2 times, most recently from e5153c3 to 9bdda24 Compare July 30, 2026 18:51
@Percius04
Percius04 force-pushed the bumblebee-path-and-scan-script branch from e30dfdb to 9bdda24 Compare August 1, 2026 02:00
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Both scanners fail to install out of the box; status script referenced in README is missing

1 participant