libftd2xx
maintainer gmy
· 49 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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>
9
pkgname=libftd2xx
10
pkgver=1.4.33
11
pkgrel=2
12
pkgdesc="Library that allows a direct access to a USB FTDI2XX chip based device"
13
arch=('x86_64')
14
url="http://www.ftdichip.com/"
15
license=('Proprietary')
16
depends=('glibc')
17
options=(staticlibs)
18
source=(55-ft2232.rules
19
ftd2xx-config.cmake.in)
20
sha256sums=('f48e0c36821bebfcf791da0831ce7e10965c5a537e222e54f92cb0b2d4497cda'
21
'SKIP')
22
sha256sums_x86_64=('e260a4594a313583b87bf230c79cec9d46f11db6dcfd7c7d4f963279703214d3')
23
source_x86_64=("https://ftdichip.com/wp-content/uploads/2025/03/libftd2xx-linux-x86_64-1.4.33.tgz")
24
25
prepare() {
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
35
package() {
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) | 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 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 |
| 2026-07-15 00:09:25 | LOW | 2 |