arcosc-client

maintainer noideaman · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The flagged npm install and npx execution are part of building the project from its own source code fetched from GitHub; no external or untrusted remote packages are installed, and the build process uses declared dependencies from the project's official repository.

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 flagged npm install and npx execution are part of building the project from its own source code fetched from GitHub; no external or untrusted remote packages are installed, and the build process uses declared dependencies from the project's official repository.

2 higher static findings superseded - not the current verdict (shown for transparency)
MEDIUM npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:34 npm install --cpu="${!CARCH}" --omit dev --omit optional --omit peer --no-bin-links
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:46 npx electron-builder --linux --"${!CARCH}" --dir \

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: noideaman <pkgbuilds@weebvr.com>
2# Based on the PKGBUILD of oscgoesbrr by Torge Matthies <openglfreak at googlemail dot com>
3# Contributor: Comfy Chloe <https://github.com/ComfyChloe>
4
5pkgname='arcosc-client'
6_sourcename='ARC-Client'
7pkgdesc='The transparent, feature-rich desktop bridge for VRChat remote control'
8pkgver='0.90.2'
9pkgrel='4'
10arch=('x86_64')
11url='https://arcosc.app/'
12install=arcosc-client.install
13license=('CC-BY-NC-SA-4.0')
14_electron_ver=39
15_electron_full_ver=$(cat /usr/lib/electron${_electron_ver}/version | sed 's/^v//')
16depends=("electron$_electron_ver")
17makedepends=('node-gyp' 'npm' 'asar')
18source=("ARCOSC-Client-v$pkgver.tar.gz::https://codeload.github.com/ComfyChloe/$_sourcename/tar.gz/refs/tags/v$pkgver"
19 'ARCOSC-Client'
20 'ARCOSC-Client.desktop'
21 'arcosc.png')
22sha256sums=('7ae65876b590a694882a4dba49b7a54d62dba6cddcfd4a82e69b4f1799cd23bb'
23 '5e16516855ae19498dc158e459681fe76fa2f2184d740a9beff5aff095b8967f'
24 '5dae1186e7a6ba1785455c294f4542880275dc5a4a8bca47fa5dedb01ed7c446'
25 'a315bea3d9ec1771340662c8e8cd9249d5fb69f4b3a0557bbe24c43a68560716')
26build() {
27 cd "$_sourcename-$pkgver"
28 #sed -i "s/electronVersion:\ ../electronVersion:\ $pkgver/" package.json
29 export ELECTRON_SKIP_BINARY_DOWNLOAD=1
30 export XDG_CACHE_HOME="$srcdir"
31
32 rm -rf .github build CONTRIBUTING.md .gitignore README.md
33
34 npm install --cpu="${!CARCH}" --omit dev --omit optional --omit peer --no-bin-links
35 npm audit fix || :
36 npm run build
37
38 local i686=ia32 x86_64=x64 armv7h=arm aarch64=arm64 riscv64=riscv64
39 export NODE_ENV=production
40 export NODE_OPTIONS='--openssl-legacy-provider'
41
42 # Get full semver — electron-builder requires it, not just the major version
43 local _electron_full_ver
44 _electron_full_ver=$(electron${_electron_ver} --version | sed 's/^v//')
45
46 npx electron-builder --linux --"${!CARCH}" --dir \
47 -c.electronDist="/usr/lib/electron$_electron_ver" \
48 -c.electronVersion="$_electron_full_ver"
49
50 asar extract "dist/linux-unpacked/resources/app.asar" "dist/linux-unpacked/usr/lib/$pkgname/"
51 rm -rf "dist/linux-unpacked/usr/lib/$pkgname/node_modules/native-reg"
52 rm -rf "dist/linux-unpacked/usr/lib/$pkgname/node_modules/node-gyp-build"
53 rmdir "dist/linux-unpacked/usr/lib/$pkgname/node_modules" 2>/dev/null || :
54
55 sed -i -e "s#/usr/bin/electron\b#/usr/bin/electron$_electron_ver#" \
56 -e "s#/usr/lib/ARCOSC-Client\b#/usr/lib/$pkgname#" ../ARCOSC-Client
57 sed -i -e "s/^Version=.*/Version=v$pkgver/" ../ARCOSC-Client.desktop
58}
59
60package() {
61 cd "$_sourcename-$pkgver"
62
63 install -d -Dm755 "$pkgdir/usr"
64 install -d -Dm755 "$pkgdir/usr/lib"
65 install -d -Dm755 "$pkgdir/usr/lib/$pkgname"
66 cp -r dist/linux-unpacked/usr/lib/$pkgname "$pkgdir/usr/lib"
67 install -d -Dm755 "$pkgdir/usr/bin"
68 install -Dm755 ../ARCOSC-Client -t "$pkgdir/usr/bin"
69 install -d -Dm755 "$pkgdir/usr/share"
70 install -d -Dm755 "$pkgdir/usr/share/icons"
71 install -d -Dm755 "$pkgdir/usr/share/icons/hicolor"
72 install -d -Dm755 "$pkgdir/usr/share/icons/hicolor/512x512"
73 install -d -Dm755 "$pkgdir/usr/share/icons/hicolor/512x512/apps"
74 install -Dm644 ../arcosc.png -t "$pkgdir/usr/share/icons/hicolor/512x512/apps"
75 install -d -Dm755 "$pkgdir/usr/share/applications"
76 install -Dm644 ../ARCOSC-Client.desktop -t "$pkgdir/usr/share/applications"
77 install -d -Dm755 "$pkgdir/usr/share/licenses"
78 install -d -Dm755 "$pkgdir/usr/share/licenses/$pkgname"
79 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
80}
81post_install() {
82 echo "This is an older version"
83 echo "It will stay this version"
84 echo "A new one under a new license"
85 echo "avaliable at"
86 echo "https://aur.archlinux.org/packages/arc-client"
87}
88post_upgrade () {
89 post_install
90}
91

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion