teams-for-linux

LOW
maintainer pschichtel 115 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The npx command runs electron-builder to package the application from the project's own source code, which is downloaded from the project's official GitHub repository; this is a standard build step for Electron apps and does not execute arbitrary 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 command runs electron-builder to package the application from the project's own source code, which is downloaded from the project's official GitHub repository; this is a standard build step for Electron apps and does not execute arbitrary 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
5pkgname=teams-for-linux
6pkgver=2.20.0
7pkgrel=1
8pkgdesc="Unofficial Microsoft Teams client for Linux using Electron."
9arch=("aarch64" "armv7h" "i686" "x86_64")
10url="https://github.com/IsmaelMartinez/${pkgname}"
11license=("GPL-3.0-only")
12depends=("gtk3" "libxss" "nss")
13optdepends=('libfido2: WebAuthn with FIDO2 devices')
14makedepends=("nodejs>=18" "node-gyp" "npm")
15source=(
16 "${pkgname}-${pkgver}.tar.gz::https://github.com/IsmaelMartinez/${pkgname}/archive/v${pkgver}.tar.gz"
17 "${pkgname}.desktop"
18)
19sha256sums=('9b9aef93327aeb2f152b6ff3eccb9ad37bee59c57ae9e7245436944b478b1b2b'
20 'e67c98084736f797c575970935dd773b5c348ea3d9522bc5db733a92361fc05e')
21
22build() {
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
37package() {
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-09-11 00:19
+++ PKGBUILD @ 2026-09-17 00:27
@@ -3,7 +3,7 @@
# Contributor: Ivelin Velkov <ivelin dot velkov at gmail dot com>
pkgname=teams-for-linux
-pkgver=2.18.1
+pkgver=2.20.0
pkgrel=1
pkgdesc="Unofficial Microsoft Teams client for Linux using Electron."
arch=("aarch64" "armv7h" "i686" "x86_64")
@@ -16,7 +16,7 @@
"${pkgname}-${pkgver}.tar.gz::https://github.com/IsmaelMartinez/${pkgname}/archive/v${pkgver}.tar.gz"
"${pkgname}.desktop"
)
-sha256sums=('8208fa54d28017260e1e70d9a80ae5c4f2751b22f3e21442322ecaf4eaf48a2f'
+sha256sums=('9b9aef93327aeb2f152b6ff3eccb9ad37bee59c57ae9e7245436944b478b1b2b'
'e67c98084736f797c575970935dd773b5c348ea3d9522bc5db733a92361fc05e')
build() {

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 23:24:29 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 23:12:41 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2

Report a package

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

0 / 4000
Your suggestion