teams-for-linux
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
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)
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# Maintainer: Phillip Schichtel <phillip at schich dot tel>
# Contributor: Fredy García <frealgagu at gmail dot com>
# Contributor: Ivelin Velkov <ivelin dot velkov at gmail dot com>
pkgname=teams-for-linux
pkgver=2.20.0
pkgrel=1
pkgdesc="Unofficial Microsoft Teams client for Linux using Electron."
arch=("aarch64" "armv7h" "i686" "x86_64")
url="https://github.com/IsmaelMartinez/${pkgname}"
license=("GPL-3.0-only")
depends=("gtk3" "libxss" "nss")
optdepends=('libfido2: WebAuthn with FIDO2 devices')
makedepends=("nodejs>=18" "node-gyp" "npm")
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/IsmaelMartinez/${pkgname}/archive/v${pkgver}.tar.gz"
"${pkgname}.desktop"
)
sha256sums=('9b9aef93327aeb2f152b6ff3eccb9ad37bee59c57ae9e7245436944b478b1b2b'
'e67c98084736f797c575970935dd773b5c348ea3d9522bc5db733a92361fc05e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
npm_config_cache="${srcdir}/package-cache" npm install
if [[ ${CARCH} == "aarch64" ]]; then
npx electron-builder build --arm64 --linux dir
elif [[ ${CARCH} == "armv7h" ]]; then
npx electron-builder build --armv7l --linux dir
elif [[ ${CARCH} == "i686" ]]; then
npx electron-builder build --ia32 --linux dir
elif [[ ${CARCH} == "x86_64" ]]; then
npx electron-builder build --x64 --linux dir
fi
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -dm755 "${pkgdir}/opt" "${pkgdir}/usr/bin"
if [[ ${CARCH} == "aarch64" ]]; then
_unpacked_dirname="linux-arm64-unpacked"
elif [[ ${CARCH} == "armv7h" ]]; then
_unpacked_dirname="linux-armv7l-unpacked"
elif [[ ${CARCH} == "i686" ]]; then
_unpacked_dirname="linux-ia32-unpacked"
elif [[ ${CARCH} == "x86_64" ]]; then
_unpacked_dirname="linux-unpacked"
fi
cp -r --preserve=mode "${srcdir}/${pkgname}-${pkgver}/dist/${_unpacked_dirname}" "${pkgdir}/opt/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
for _file in "${srcdir}/${pkgname}-${pkgver}/build/icons/"*.png
do
_filename="$(basename ${_file})"
install -Dm644 "${_file}" "${pkgdir}/usr/share/icons/hicolor/${_filename%.png}/apps/${pkgname}.png"
done
ln -sf "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
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) | Severity | Rules |
|---|---|---|
| 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 |