libftd2xx

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

The package downloads a prebuilt binary from the official FTDI website, which is a legitimate source for the ftd2xx library; while the host is not on a standard whitelist, it is the vendor's own domain, and the file is a standard proprietary library distribution, not an obfuscated or suspicious payload.

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 package downloads a prebuilt binary from the official FTDI website, which is a legitimate source for the ftd2xx library; while the host is not on a standard whitelist, it is the vendor's own domain, and the file is a standard proprietary library distribution, not an obfuscated or suspicious payload.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host 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:23 source_x86_64=("https://ftdichip.com/wp-content/uploads/2025/03/libftd2xx-linux-x86_64-1.4.33.tgz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Gennadiy Mykhailiuta <gmykhailiuta@gmail.com>
2# Contributor: Cody Schafer <aur at codyps com>
3# Contributor: Chris <alostengineer at narmos org>
4# Contributor: Olivier EBLE <olivier.eble at gmail com>
5# Contributor: Laszlo Papp <djszapi2 at gmail com>
6# Contributor: Justin Gottula <justin at jgottula com>
7# Contributor: RJ <private>
8# Contributor: AscendLiu <ascendliu@qq.com>
9pkgname=libftd2xx
10pkgver=1.4.33
11pkgrel=2
12pkgdesc="Library that allows a direct access to a USB FTDI2XX chip based device"
13arch=('x86_64')
14url="http://www.ftdichip.com/"
15license=('Proprietary')
16depends=('glibc')
17options=(staticlibs)
18source=(55-ft2232.rules
19 ftd2xx-config.cmake.in)
20sha256sums=('f48e0c36821bebfcf791da0831ce7e10965c5a537e222e54f92cb0b2d4497cda'
21 'SKIP')
22sha256sums_x86_64=('e260a4594a313583b87bf230c79cec9d46f11db6dcfd7c7d4f963279703214d3')
23source_x86_64=("https://ftdichip.com/wp-content/uploads/2025/03/libftd2xx-linux-x86_64-1.4.33.tgz")
24
25prepare() {
26 # Generate the final CMake configuration file
27 sed -e "s|@PROJECT_VERSION@|${pkgver}|g" \
28 -e "s|@PACKAGE_LIBRARY_FILE@|/usr/lib/${pkgname}.so|g" \
29 -e "s|@PACKAGE_LIBRARY_STATIC_FILE@|/usr/lib/${pkgname}.a|g" \
30 -e "s|@PACKAGE_INCLUDE_DIR@|/usr/include|g" \
31 ftd2xx-config.cmake.in > ftd2xx-config.cmake
32}
33
34
35package() {
36 # Make required dirs
37 mkdir -p ${pkgdir}/usr/{lib,include,lib/cmake/ftd2xx}
38
39 # Install versioned so file as well as static library
40 install -Dm755 ${srcdir}/linux-x86_64/${pkgname}.so ${pkgdir}/usr/lib/${pkgname}.so
41 install -Dm644 ${srcdir}/linux-x86_64/${pkgname}-static.a ${pkgdir}/usr/lib/${pkgname}.a
42
43 # Link versioned so file to generic
44 ln -sf /usr/lib/${pkgname}.so "${pkgdir}"/usr/lib/${pkgname}.so.${pkgver}
45
46
47 # Install Headers
48 install -m644 "${srcdir}"/linux-x86_64/{ftd2xx,WinTypes}.h "${pkgdir}"/usr/include/
49
50 # Install udev rules
51 install -D -m644 "${srcdir}"/55-ft2232.rules "${pkgdir}"/etc/udev/rules.d/55-ft2232.rules
52
53 # Install CMake config files
54 install -Dm644 "${srcdir}"/ftd2xx-config.cmake "${pkgdir}"/usr/lib/cmake/ftd2xx/ftd2xx-config.cmake
55}
56

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 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 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
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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