materialious-git
maintainer krishn
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx commands are used to run project-maintained Capacitor CLI tools during build preparation, not to execute arbitrary remote code; this is a normal part of the project's build process from its own source.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx commands are used to run project-maintained Capacitor CLI tools during build preparation, not to execute arbitrary remote code; this is a normal part of the project's build process from its own source.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npx/bunx/deno executes a remote package
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:33
npx cap telemetry off -
PKGBUILD:34
npx cap sync @capacitor-community/electron
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Omansh Krishn <omansh@duck.com>
2
3
pkgname=materialious-git
4
_pkgname=materialious
5
pkgver=1.6.17.r0.gf36e130
6
pkgrel=1
7
pkgdesc="Modern material design for Invidious"
8
arch=('x86_64')
9
url="https://github.com/Materialious/Materialious"
10
license=('AGPL3')
11
makedepends=( 'jq' 'moreutils' 'npm' )
12
depends=('at-spi2-core' 'gtk3' 'libnotify' 'libsecret' 'libxss' 'libxtst' 'nss' 'util-linux-libs' 'xdg-utils' )
13
optdepends=( 'libappindicator-gtk3' )
14
provides=( 'materialious' )
15
conflicts=( 'materialious-bin')
16
options=(!debug)
17
18
source=( "${_pkgname}::git+${url}.git"
19
"${_pkgname}.desktop")
20
21
sha256sums=('SKIP'
22
'71b55617ce477fe3c47dfaef6b30a47f17c38442b2f80ebb2f167123e05d44c0')
23
24
pkgver() {
25
cd "${srcdir}/${_pkgname}"
26
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
27
}
28
29
prepare() {
30
31
cd "${srcdir}/${_pkgname}/${_pkgname}"
32
npm install
33
npx cap telemetry off
34
npx cap sync @capacitor-community/electron
35
cd electron
36
python patch_capacitor_plugin.py
37
npm install
38
39
}
40
41
build() {
42
43
cd "${srcdir}/${_pkgname}/${_pkgname}/electron"
44
jq '.linux.target = ["dir"]' electron-builder.config.json | sponge electron-builder.config.json
45
npm run electron:make
46
47
}
48
package() {
49
50
install -dm755 "${pkgdir}/opt"
51
cp --preserve=mode -r "${srcdir}/${_pkgname}/${_pkgname}/electron/dist/linux-unpacked" "${pkgdir}/opt/Materialious"
52
53
install -dm755 "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
54
install -m644 "${srcdir}/${_pkgname}/${_pkgname}/electron/assets/appIcon.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png"
55
56
install -dm755 "${pkgdir}/usr/share/applications"
57
install -Dm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
58
59
}
60
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 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |