intel-sgx-sdk-bin
The package downloads a prebuilt SDK installer from Intel's official domain (download.01.org), which is plausibly Intel's own release infrastructure; despite the non-whitelisted host, the source is an official vendor release and the worst case of a swapped host would be supply-chain compromise, not active exploitation via obfuscated code or remote execution.
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 prebuilt SDK installer from Intel's official domain (download.01.org), which is plausibly Intel's own release infrastructure; despite the non-whitelisted host, the source is an official vendor release and the worst case of a swapped host would be supply-chain compromise, not active exploitation via obfuscated code or remote execution.
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://download.01.org/intel-sgx/sgx-linux/${pkgver}/distro/Debian13/sgx_linux_x64_sdk_${_pkgver}.bin"
PKGBUILD
1 offending line(s) highlighted# Maintainer: marmis <tiagodepalves@gmail.com>
# Contributor: "marmis" Tiago de Paula <tiagodepalves@gmail.com>
pkgname=intel-sgx-sdk-bin
pkgdesc='Intel® Software Guard Extensions SDK for Linux* OS'
pkgver=2.30.1
_pkgver="${pkgver%.1}.101.1"
pkgrel=1
url='https://github.com/intel/confidential-computing.sgx.sdk'
arch=(x86_64)
license=('BSD-3-Clause AND LicenseRef-Intel-SGX-Third-Party') # https://github.com/intel/confidential-computing.sgx.sdk/blob/main/License.txt
provides=("intel-sgx-sdk=${pkgver}")
conflicts=('intel-sgx-sdk')
options=(!strip !debug)
source=("https://download.01.org/intel-sgx/sgx-linux/${pkgver}/distro/Debian13/sgx_linux_x64_sdk_${_pkgver}.bin"
'intel-sgx-sdk-skip-tmp.patch')
b2sums=('40b0571fcf9dc4b689b673400aea0f680b4cbcb7b1fdae0aacd59ab7795d1c42319bc50f812713bf20ad604fecb8c090f629f3313c1aedbc89823313bc981ca1'
'35971e6ee160143327a939c964a785349b07f3386a1cc15e42be573d9cc64808f1d199e1257a00212544e492b4aa8d1b961cd70d916230e9fd90c55873f2554e')
## Here you can change the installation directory.
_installdir=/opt/intel
prepare() {
cp "sgx_linux_x64_sdk_${_pkgver}.bin" sgx_linux_x64_sdk.bin
patch --binary --force -t -Ni intel-sgx-sdk-skip-tmp.patch
chmod -c +x sgx_linux_x64_sdk.bin
}
package() {
depends=('glibc' 'libstdc++' 'openssl' 'bash' 'python')
optdepends=(
'intel-sgx-psw: for hardware support'
'gdb: GDB plugin for SGX binaries'
)
local installdir
installdir=$(realpath -m "${pkgdir}/${_installdir}")
# The installer runs a Makefile which fails when run in parallel
export MAKEFLAGS='-j1'
./sgx_linux_x64_sdk.bin --prefix "${installdir}"
cd "${installdir}"
# fix ${srcdir} references
sed -i -E "s|\b(SGX_SDK=).*|\1${_installdir}/sgxsdk|g" sgxsdk/environment
sed -i -E "s|\b(SGX_LIBRARY_PATH=).*|\1${_installdir}/sgxsdk/lib64|g" sgxsdk/bin/sgx-gdb
sed -i -E "s|^(prefix=).*|\1${_installdir}/sgxsdk|g" sgxsdk/pkgconfig/*.pc
# fix generated symlinks
ln -v -s libsgx_urts.so -fT sgxsdk/lib64/libsgx_urts.so.2
find sgxsdk/sdk_libs/ -name '*.so' -print -exec \
sh -euc 'ln -sr "sgxsdk/lib64/$(basename "$1")" -fT "$1"' -- '{}' \;
# The uninstall script shouldn't be used with this package
rm -v "${pkgdir}/opt/intel/sgxsdk/uninstall.sh"
# composed license
install -vD -t "${pkgdir}/usr/share/licenses/${pkgname}/" \
-m644 "${pkgdir}/opt/intel/sgxsdk/licenses/License.txt"
}
Changes since previous scan
--- PKGBUILD @ 2026-08-23 00:10+++ PKGBUILD @ 2026-09-17 00:27@@ -15,7 +15,7 @@ source=("https://download.01.org/intel-sgx/sgx-linux/${pkgver}/distro/Debian13/sgx_linux_x64_sdk_${_pkgver}.bin" 'intel-sgx-sdk-skip-tmp.patch') b2sums=('40b0571fcf9dc4b689b673400aea0f680b4cbcb7b1fdae0aacd59ab7795d1c42319bc50f812713bf20ad604fecb8c090f629f3313c1aedbc89823313bc981ca1'- '7da757aae6410d927b3697a66608b84d10a4902fc522ed4af4453cf8dcece1a2f46a762a55455710433dc516f9a68f662ab32cebe3c5fe28639c1d13f661606c')+ '35971e6ee160143327a939c964a785349b07f3386a1cc15e42be573d9cc64808f1d199e1257a00212544e492b4aa8d1b961cd70d916230e9fd90c55873f2554e') ## Here you can change the installation directory. _installdir=/opt/intelScan 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 05:44:47 | Medium | 1 |
| 2026-08-23 00:10:13 | Clean | 2 |
| 2026-08-22 03:16:42 | Medium | 1 |