silverbullet-bin
maintainer ilonakovacs
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads pre-compiled binaries from the project's official GitHub releases, which is standard for -bin packages; the orphaned/re-adopted status is a metadata concern, not a security risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads pre-compiled binaries from the project's official GitHub releases, which is standard for -bin packages; the orphaned/re-adopted status is a metadata concern, not a security risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# shellcheck shell=bash
2
# -*- sh -*-
3
4
# Contributor: Klaus Alexander Seistrup <$(echo 0x1fd+d59decfa=40 | tr 0-9+a-f=x ka-i@p-u.l)>
5
6
_pkgname='silverbullet'
7
pkgname="$_pkgname-bin"
8
pkgdesc='Programmable, private, browser-based, personal knowledge management platform / wiki (pre-compiled)'
9
pkgver=2.9.0
10
pkgrel=2
11
url='https://github.com/silverbulletmd/silverbullet'
12
install="$_pkgname.install"
13
changelog="$_pkgname.changelog"
14
_rawurl='https://raw.githubusercontent.com/silverbulletmd/silverbullet/refs/heads/main'
15
arch=('x86_64')
16
license=('MIT')
17
provides=("$_pkgname")
18
conflicts=("${provides[@]}" 'sb')
19
backup=("etc/default/$_pkgname")
20
source=(
21
"$_pkgname-cli-$pkgver.zip::$url/releases/download/$pkgver/sb-linux-$CARCH.zip"
22
"$_pkgname-srv-$pkgver.zip::$url/releases/download/$pkgver/silverbullet-server-linux-$CARCH.zip"
23
"$url/releases/download/$pkgver/CHANGELOG.md"
24
"$_rawurl/LICENSE.md"
25
"$_rawurl/README.md"
26
'silverbullet-system.service'
27
'silverbullet-user.service'
28
'sysuser.conf'
29
'tmpfile.conf'
30
)
31
sha256sums=(
32
'2b0899fa32fbe91726dda53ba154da9921f3a4a6af7cf33b29044ecb1fc568c0'
33
'fe2b27651d11833727cd1b989a666d1000bd16e805130c6c461cda4c6dc1c69d'
34
'SKIP' 'SKIP' 'SKIP'
35
'934853f43b399b1761d57ad4d42957863b23459f50f003cd4408c33f238ac012'
36
'66bc5f51f8361eabd22aa26e5ebc86eb0d33e07196c93d423c8839b3055200d4'
37
'98b3b44b51640d2dd89570a25d1c11504d4236299142510c65179d451598dcf2'
38
'63a3662aefbdcee4a5be179c78116dc5c73aef7f22c06503ba85bed15a03541b'
39
)
40
41
build() {
42
for _shell in bash fish zsh; do
43
for _exe in silverbullet sb; do
44
"./$_exe" completion "$_shell" > "_completions-$_exe.$_shell"
45
done
46
done
47
}
48
49
package() {
50
# Executables, ChangeLog, README and LICENSE
51
install -sDm0755 -t "$pkgdir/usr/bin" silverbullet sb
52
install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname" CHANGELOG.md README.md
53
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
54
55
# System user and homedir configurations
56
install -Dm0644 sysuser.conf "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
57
install -Dm0644 tmpfile.conf "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
58
59
# Systemd unit files
60
install -Dm0644 "$_pkgname-system.service" \
61
"$pkgdir/usr/lib/systemd/system/$_pkgname.service"
62
install -Dm0644 "$_pkgname-user.service" \
63
"$pkgdir/usr/lib/systemd/user/$_pkgname.service"
64
65
# Runtime defaults
66
install -Dm0644 /dev/stdin "$pkgdir/${backup[0]}" << EOF
67
# File /${backup[0]} (-*- sh -*-)
68
SB_HOSTNAME=localhost
69
SB_PORT=3000
70
# If a UNIX socket is configured, the host and port above are ignored
71
#SB_UNIX_SOCKET=/tmp/$_pkgname.sock
72
SB_FOLDER=/var/lib/$_pkgname
73
# See https://silverbullet.md/Install/Configuration for other
74
# configuration variables.
75
EOF
76
77
# Shell completions
78
for _exe in silverbullet sb; do
79
install -Dm0644 "_completions-$_exe.bash" \
80
"$pkgdir/usr/share/bash-completion/completions/$_exe"
81
install -Dm0644 "_completions-$_exe.fish" \
82
"$pkgdir/usr/share/fish/vendor_completions.d/$_exe.fish"
83
install -Dm0644 "_completions-$_exe.zsh" \
84
"$pkgdir/usr/share/zsh/site-functions/_$_exe"
85
done
86
87
for _dir in doc licenses; do
88
pushd "$pkgdir/usr/share/$_dir"
89
ln -sr "$pkgname" "$_pkgname"
90
popd
91
done > /dev/null
92
}
93
94
# eof
95
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-08-03 00:08@@ -1,13 +1,13 @@ # shellcheck shell=bash # -*- sh -*- -# Maintainer: Klaus Alexander Seistrup <$(echo 0x1fd+d59decfa=40 | tr 0-9+a-f=x ka-i@p-u.l)>+# Contributor: Klaus Alexander Seistrup <$(echo 0x1fd+d59decfa=40 | tr 0-9+a-f=x ka-i@p-u.l)> _pkgname='silverbullet' pkgname="$_pkgname-bin" pkgdesc='Programmable, private, browser-based, personal knowledge management platform / wiki (pre-compiled)' pkgver=2.9.0-pkgrel=1+pkgrel=2 url='https://github.com/silverbulletmd/silverbullet' install="$_pkgname.install" changelog="$_pkgname.changelog"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 17:15:21 | MEDIUM | 1 |
| 2026-07-14 19:45:40 | CLEAN | 0 |
| 2026-06-18 16:11:54 | CLEAN | 0 |