xsens-device-api
The package downloads a source tarball from the official xsens.com domain, which is the project's legitimate vendor; despite the static analyzer flagging the host as non-standard, the download is from the official vendor's website and the checksum is verified, making the risk low.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source tarball from the official xsens.com domain, which is the project's legitimate vendor; despite the static analyzer flagging the host as non-standard, the download is from the official vendor's website and the checksum is verified, making the risk low.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:15
source=("https://www.xsens.com/hubfs/Downloads/Software/MTSS/Releases/${pkgver}/MT_Software_Suite_linux-x64_${pkgver::6}_${_pkgrev}.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer:
# Contributor: Oystein Sture <oysstu@gmail.com>
pkgname=xsens-device-api
pkgver=2022.0.0
pkgrel=1
_pkgrev=b7085_r119802
pkgdesc="Movella Xsens Device API"
url="https://www.xsens.com/software-downloads"
arch=('any')
license=('custom')
depends=('libusb')
checkdepends=()
optdepends=()
makedepends=()
source=("https://www.xsens.com/hubfs/Downloads/Software/MTSS/Releases/${pkgver}/MT_Software_Suite_linux-x64_${pkgver::6}_${_pkgrev}.tar.gz")
sha256sums=('2872b96f7c48cfdbe0788dc89881973ea17cd59624bce8af8e7a76b1f4d82d43')
prepare() {
# Skip install location dialog
cd "${srcdir}/MT_Software_Suite_linux-x64_${pkgver::6}"
sed -i -e 's\/usr/local/xsens\${XS_INST_DIR} \g' -e 's\read INSTALL_PREFIX\#ead INSTALL_PREFIX\g' "mtsdk_linux-x64_${pkgver::6}.sh"
# Unpack sources
export XS_INST_DIR=${srcdir}/xda
mkdir -p ${XS_INST_DIR}
chmod +x "mtsdk_linux-x64_${pkgver::6}.sh"
./mtsdk_linux-x64_${pkgver::6}.sh
# Change install from static to shared library
sed -i -e 's/libxscommon.a/libxscommon.so/g' -e 's/ar rcs $@ $^/gcc -shared $^ -o $@/g' "${XS_INST_DIR}/public/xspublic/xscommon/Makefile"
sed -i -e 's/libxscontroller.a/libxscontroller.so/g' -e 's/ar rcs $@ $^/gcc -shared $^ -o $@/g' "${XS_INST_DIR}/public/xspublic/xscontroller/Makefile"
sed -i -e 's/libxstypes.a/libxstypes.so/g' -e 's/ar rcs $@ $^/gcc -shared $^ -o $@/g' "${XS_INST_DIR}/public/xspublic/xstypes/Makefile"
}
build() {
cd "${XS_INST_DIR}/public/xspublic/"
export CFLAGS="${CFLAGS} -fPIC -DHAVE_LIBUSB"
export CXXFLAGS="${CXXFLAGS} -fPIC -DHAVE_LIBUSB"
cd xscommon && make
cd ../xstypes && make
cd ../xscontroller && make
}
package() {
mkdir -p "${pkgdir}/usr/include"
cp -r "${XS_INST_DIR}/include" "${pkgdir}/usr/"
mkdir -p "${pkgdir}/usr/lib"
install -m644 "${XS_INST_DIR}/public/xspublic/xscommon/libxscommon.so" "${pkgdir}/usr/lib/libxscommon.so"
install -m644 "${XS_INST_DIR}/public/xspublic/xstypes/libxstypes.so" "${pkgdir}/usr/lib/libxstypes.so"
install -m644 "${XS_INST_DIR}/public/xspublic/xscontroller/libxscontroller.so" "${pkgdir}/usr/lib/libxscontroller.so"
install -Dm644 "${XS_INST_DIR}/Xsens Technologies MT SS License Agreement.rtf" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |