wallpaperd-bin
LOW
maintainer wenmou
0 votes
scanned 2026-10-06 18:03:40.155073
Why flagged
The package is a binary release from GitHub with a verifiable checksum, but has few votes and was recently uploaded, which is common for new AUR packages; it does not execute untrusted remote code or exhibit malicious behavior.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package is a binary release from GitHub with a verifiable checksum, but has few votes and was recently uploaded, which is common for new AUR packages; it does not execute untrusted remote code or exhibit malicious behavior.
PKGBUILD
1
# shellcheck shell=bash
2
# shellcheck disable=SC2034,SC2154
3
pkgname=wallpaperd-bin
4
pkgver=0.1.0
5
pkgrel=1
6
pkgdesc='Session wallpaper daemon with image, video, shader and Wallpaper Engine backends'
7
arch=('x86_64')
8
url='https://github.com/mengdehong/Misari'
9
license=('GPL-3.0-or-later' 'BSD-3-Clause' 'LicenseRef-Chromium')
10
depends=(
11
'alsa-lib' 'at-spi2-core' 'cairo' 'dbus' 'expat' 'glib2' 'glibc'
12
'libcups' 'libgcc' 'libglvnd' 'libpulse' 'libstdc++' 'libx11' 'libxcb'
13
'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxkbcommon' 'libxrandr'
14
'mesa' 'mpv' 'nspr' 'nss' 'pango' 'shaderc' 'systemd-libs' 'wayland'
15
'pulse-native-provider' 'ttf-font'
16
# These libraries are loaded at runtime and are absent from ELF NEEDED entries.
17
'libmpv.so=2-64' 'libEGL.so=1-64' 'libGLESv2.so=2-64'
18
)
19
provides=("wallpaperd=$pkgver")
20
conflicts=('wallpaperd')
21
makedepends=('python')
22
options=('!debug' '!strip')
23
source=("https://github.com/mengdehong/Misari/releases/download/wallpaperd-v0.1.0/wallpaperd-0.1.0-1-x86_64.pkg.tar.zst")
24
sha256sums=('9f5c705e64e7876b1228801630786fe774b0d60da838b1712782075fa850030a')
25
26
_check_runtime() {
27
python - "$@" <<'PY'
28
import ctypes
29
import os
30
from pathlib import Path
31
import subprocess
32
import sys
33
34
binary, runtime = (Path(arg).resolve() for arg in sys.argv[1:])
35
for name in (
36
"libcef.so", "libvk_swiftshader.so", "libvulkan.so.1",
37
"chrome_100_percent.pak", "chrome_200_percent.pak", "resources.pak",
38
"icudtl.dat", "v8_context_snapshot.bin", "vk_swiftshader_icd.json",
39
"chrome-sandbox", "locales/en-US.pak", "LICENSE.txt", "CREDITS.html",
40
):
41
if not (runtime / name).is_file():
42
sys.exit(f"missing CEF runtime file: {runtime / name}")
43
44
mpv = ctypes.CDLL("libmpv.so.2")
45
mpv.mpv_client_api_version.argtypes = []
46
mpv.mpv_client_api_version.restype = ctypes.c_ulonglong
47
version = mpv.mpv_client_api_version()
48
if version >> 16 != 2:
49
sys.exit(f"libmpv client API must be 2.x, found {version >> 16}.{version & 0xffff}")
50
for library, symbol in (
51
("libEGL.so.1", "eglGetProcAddress"),
52
("libGLESv2.so.2", "glGetString"),
53
("libpulse.so.0", "pa_get_library_version"),
54
("libpulse-simple.so.0", "pa_simple_new"),
55
):
56
getattr(ctypes.CDLL(library), symbol)
57
58
env = os.environ.copy()
59
env.pop("LD_LIBRARY_PATH", None)
60
env.pop("LD_PRELOAD", None)
61
for path in (binary, runtime / "libcef.so"):
62
linked = subprocess.run(
63
["ldd", str(path)], env=env, check=True, capture_output=True, text=True,
64
).stdout
65
if "not found" in linked:
66
sys.exit(f"unresolved runtime dependencies for {path}:\n{linked}")
67
# CEF is loaded with dlopen on demand, so it has no ELF NEEDED entry.
68
# Match the runtime search used by we-web and verify that CEF can load.
69
if binary.parent == runtime:
70
located = binary.parent / "libcef.so"
71
else:
72
located = binary.parent / "../lib/wallpaperd/web/libcef.so"
73
if located.resolve() != runtime / "libcef.so":
74
sys.exit(f"unexpected CEF runtime layout: {located}")
75
cef = ctypes.CDLL(str(runtime / "libcef.so"))
76
getattr(cef, "cef_execute_process")
77
subprocess.run([str(binary), "--help"], env=env, check=True, stdout=subprocess.DEVNULL)
78
print(f"wallpaperd runtime OK: libmpv {version >> 16}.{version & 0xffff}, EGL/GLES, PulseAudio, CEF")
79
PY
80
}
81
82
check() {
83
_check_runtime "$srcdir/usr/bin/wallpaperd" "$srcdir/usr/lib/wallpaperd/web"
84
}
85
86
package() {
87
cp -a "$srcdir/usr" "$pkgdir/"
88
mv "$pkgdir/usr/share/licenses/wallpaperd" "$pkgdir/usr/share/licenses/$pkgname"
89
_check_runtime "$pkgdir/usr/bin/wallpaperd" "$pkgdir/usr/lib/wallpaperd/web"
90
}
91
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 18:03:40 | Low | 2 |