facetimehd-data
maintainer htv04
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a Windows driver archive from an Apple host to extract non-executable calibration data files;虽 host is not whitelisted, the data is not executable and is used solely for hardware compatibility on Linux.
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 Windows driver archive from an Apple host to extract non-executable calibration data files;虽 host is not whitelisted, the data is not executable and is used solely for hardware compatibility on Linux.
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:14
source=('https://download.info.apple.com/Mac_OS_X/031-30890-20150812-ea191174-4130-11e5-a125-930911ba098f/bootcamp5.1.5769.zip')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Harrison <contact@htv04.com>
2
3
_pkgname="facetimehd-data"
4
pkgname="$_pkgname"
5
pkgver=5.1.5769
6
pkgrel=2
7
pkgdesc='Sensor calibration data for the FacetimeHD (Broadcom 1570) PCIe webcam'
8
url='https://github.com/patjak/facetimehd'
9
license=('LicenseRef-Apple')
10
arch=('any')
11
12
makedepends=('7zip')
13
14
source=('https://download.info.apple.com/Mac_OS_X/031-30890-20150812-ea191174-4130-11e5-a125-930911ba098f/bootcamp5.1.5769.zip')
15
sha256sums=('4ede2c8ef240708c850237a3e5911094ed6adae1734258e4639bc9069a814b1e')
16
17
# Based on instructions from https://github.com/patjak/facetimehd/wiki/Extracting-the-sensor-calibration-files
18
build() {
19
# Extract AppleCamera64 data
20
cd "BootCamp/Drivers/Apple"
21
7z x "AppleCamera64.exe"
22
23
# Extract sensor calibration data
24
mkdir -p "$srcdir/$pkgname"
25
dd bs=1 skip=1663920 count=33060 if='AppleCamera.sys' of="$srcdir/$pkgname/9112_01XX.dat"
26
dd bs=1 skip=1644880 count=19040 if='AppleCamera.sys' of="$srcdir/$pkgname/1771_01XX.dat"
27
dd bs=1 skip=1606800 count=19040 if='AppleCamera.sys' of="$srcdir/$pkgname/1871_01XX.dat"
28
dd bs=1 skip=1625840 count=19040 if='AppleCamera.sys' of="$srcdir/$pkgname/1874_01XX.dat"
29
}
30
31
package() {
32
# Install facetimehd-data
33
for FILE in '9112' '1771' '1871' '1874'; do
34
install -Dm644 "$pkgname/${FILE}_01XX.dat" "$pkgdir/usr/lib/firmware/facetimehd/${FILE}_01XX.dat"
35
done
36
37
# Install licenses
38
for FILE in 'Arabic' 'BrazilianPortuguese' 'Czech' 'Danish' 'Dutch' 'English' 'Finnish' 'French' 'German' 'Hungarian' 'Italian' 'Japanese' 'Korean' 'Norwegian' 'Polish' 'Portuguese' 'Russian' 'SimplifiedChinese' 'Spanish' 'Swedish' 'TraditionalChinese' 'Turkish'; do
39
install -Dm644 "BootCamp/Drivers/Apple/${FILE}License.txt" "$pkgdir/usr/share/licenses/$pkgname/${FILE}License.txt"
40
done
41
}
42
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 |