libft4222
The package downloads a source archive from the official project's domain (ftdichip.com), which is the legitimate vendor's site, and builds a library from it; the non-whitelisted host is the project's own content delivery URL, and the downloaded files are build artifacts, not executed payloads, making the risk low despite SKIP'd checksums.
Triggered rules
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 source archive from the official project's domain (ftdichip.com), which is the legitimate vendor's site, and builds a library from it; the non-whitelisted host is the project's own content delivery URL, and the downloaded files are build artifacts, not executed payloads, making the risk low despite SKIP'd checksums.
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:11
source=("https://ftdichip.com/wp-content/uploads/2025/04/libft4222-linux-1.4.4.232.zip"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Ascend Liu<ascendliu@qq.com>
pkgname=libft4222
pkgver=1.4.4.232
pkgrel=1
pkgdesc="Library for FT4222HQ – USB 2.0 to Quad SPI / I2C Bridge IC"
arch=('x86_64')
url="https://ftdichip.com/products/ft4222h/"
license=('custom')
depends=('libftd2xx')
source=("https://ftdichip.com/wp-content/uploads/2025/04/libft4222-linux-1.4.4.232.zip"
"ft4222-config.cmake.in"
"ft4222.rules")
sha256sums=('SKIP'
'SKIP'
'SKIP')
options=(staticlibs)
makedepends=()
prepare() {
bsdtar -xf "${pkgname}-linux-${pkgver}.zip"
mkdir "${pkgname}-linux-${pkgver}"
tar -xzf "${pkgname}-linux-${pkgver}.tgz" -C "${pkgname}-linux-${pkgver}"
sed -e "s|@PROJECT_VERSION@|${pkgver}|g" \
-e "s|@PACKAGE_LIBRARY_FILE@|/usr/lib/libft4222.so|g" \
-e "s|@PACKAGE_LIBRARY_STATIC_FILE@|/usr/lib/libft4222.a|g" \
-e "s|@PACKAGE_INCLUDE_DIR@|/usr/include|g" \
ft4222-config.cmake.in > ft4222-config.cmake
}
package() {
mkdir -p ${pkgdir}/usr/{lib,include,lib/cmake/ft4222}
# install shared library
install -Dm755 ${srcdir}/${pkgname}-linux-${pkgver}/build-x86_64/${pkgname}.so.${pkgver} ${pkgdir}/usr/lib/${pkgname}.so.${pkgver}
install -Dm644 ${srcdir}/${pkgname}-linux-${pkgver}/build-x86_64/${pkgname}.a ${pkgdir}/usr/lib/${pkgname}.a
ln -sf "/usr/lib/${pkgname}.so.${pkgver}" "${pkgdir}/usr/lib/${pkgname}.so"
# install headers
install -Dm644 ${srcdir}/${pkgname}-linux-${pkgver}/libft4222.h "${pkgdir}/usr/include/libft4222.h"
# Install udev rules
install -D -m644 "${srcdir}"/ft4222.rules "${pkgdir}"/etc/udev/rules.d/ft4222.rules
# 安装CMake配置文件
install -Dm644 "${srcdir}"/ft4222-config.cmake "${pkgdir}/usr/lib/cmake/ft4222/ft4222-config.cmake"
}
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 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 |