teams-for-linux
maintainer pschichtel
· 112 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx commands execute electron-builder on the locally built project, which is a standard part of the build process for Electron applications and does not involve executing untrusted remote code.
Triggered rules
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The npx commands execute electron-builder on the locally built project, which is a standard part of the build process for Electron applications and does not involve executing untrusted remote code.
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:26
npx electron-builder build --arm64 --linux dir -
PKGBUILD:28
npx electron-builder build --armv7l --linux dir -
PKGBUILD:30
npx electron-builder build --ia32 --linux dir -
PKGBUILD:32
npx electron-builder build --x64 --linux dir
PKGBUILD
4 offending line(s) highlighted
1
# Maintainer: Phillip Schichtel <phillip at schich dot tel>
2
# Contributor: Fredy García <frealgagu at gmail dot com>
3
# Contributor: Ivelin Velkov <ivelin dot velkov at gmail dot com>
4
5
pkgname=teams-for-linux
6
pkgver=2.11.1
7
pkgrel=1
8
pkgdesc="Unofficial Microsoft Teams client for Linux using Electron."
9
arch=("aarch64" "armv7h" "i686" "x86_64")
10
url="https://github.com/IsmaelMartinez/${pkgname}"
11
license=("GPL-3.0-only")
12
depends=("gtk3" "libxss" "nss")
13
optdepends=('libfido2: WebAuthn with FIDO2 devices')
14
makedepends=("nodejs>=18" "node-gyp" "npm")
15
source=(
16
"${pkgname}-${pkgver}.tar.gz::https://github.com/IsmaelMartinez/${pkgname}/archive/v${pkgver}.tar.gz"
17
"${pkgname}.desktop"
18
)
19
sha256sums=('3348e3c8088bfeacaccb3e70c1b14680f03775953ce334b9af46c68de763340c'
20
'e67c98084736f797c575970935dd773b5c348ea3d9522bc5db733a92361fc05e')
21
22
build() {
23
cd "${srcdir}/${pkgname}-${pkgver}"
24
npm_config_cache="${srcdir}/package-cache" npm install
25
if [[ ${CARCH} == "aarch64" ]]; then
26
npx electron-builder build --arm64 --linux dir
27
elif [[ ${CARCH} == "armv7h" ]]; then
28
npx electron-builder build --armv7l --linux dir
29
elif [[ ${CARCH} == "i686" ]]; then
30
npx electron-builder build --ia32 --linux dir
31
elif [[ ${CARCH} == "x86_64" ]]; then
32
npx electron-builder build --x64 --linux dir
33
fi
34
35
}
36
37
package() {
38
cd "${srcdir}/${pkgname}-${pkgver}"
39
install -dm755 "${pkgdir}/opt" "${pkgdir}/usr/bin"
40
41
if [[ ${CARCH} == "aarch64" ]]; then
42
_unpacked_dirname="linux-arm64-unpacked"
43
elif [[ ${CARCH} == "armv7h" ]]; then
44
_unpacked_dirname="linux-armv7l-unpacked"
45
elif [[ ${CARCH} == "i686" ]]; then
46
_unpacked_dirname="linux-ia32-unpacked"
47
elif [[ ${CARCH} == "x86_64" ]]; then
48
_unpacked_dirname="linux-unpacked"
49
fi
50
51
cp -r --preserve=mode "${srcdir}/${pkgname}-${pkgver}/dist/${_unpacked_dirname}" "${pkgdir}/opt/${pkgname}"
52
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
53
for _file in "${srcdir}/${pkgname}-${pkgver}/build/icons/"*.png
54
do
55
_filename="$(basename ${_file})"
56
install -Dm644 "${_file}" "${pkgdir}/usr/share/icons/hicolor/${_filename%.png}/apps/${pkgname}.png"
57
done
58
ln -sf "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
59
}
60
Changes since previous scan
--- PKGBUILD @ 2026-07-21 00:24+++ PKGBUILD @ 2026-08-03 00:08@@ -3,8 +3,8 @@ # Contributor: Ivelin Velkov <ivelin dot velkov at gmail dot com> pkgname=teams-for-linux-pkgver=2.10.0-pkgrel=2+pkgver=2.11.1+pkgrel=1 pkgdesc="Unofficial Microsoft Teams client for Linux using Electron." arch=("aarch64" "armv7h" "i686" "x86_64") url="https://github.com/IsmaelMartinez/${pkgname}"@@ -16,7 +16,7 @@ "${pkgname}-${pkgver}.tar.gz::https://github.com/IsmaelMartinez/${pkgname}/archive/v${pkgver}.tar.gz" "${pkgname}.desktop" )-sha256sums=('53a434cb253990a31aa8a540a1a82bd3e4f539923d3980e308dd4bc360d784c7'+sha256sums=('3348e3c8088bfeacaccb3e70c1b14680f03775953ce334b9af46c68de763340c' 'e67c98084736f797c575970935dd773b5c348ea3d9522bc5db733a92361fc05e') build() {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 19:17:41 | 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 |