naiveproxy
The package builds from a legitimate GitHub source and downloads PGO profiles and a Clang toolchain from Google's official infrastructure (commondatastorage.googleapis.com, storage.googleapis.com), which are used during compilation; these are not executed binaries but build dependencies, posing minimal risk.
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 builds from a legitimate GitHub source and downloads PGO profiles and a Clang toolchain from Google's official infrastructure (commondatastorage.googleapis.com, storage.googleapis.com), which are used during compilation; these are not executed binaries but build dependencies, posing minimal risk.
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:24
"${_PGO_PATH}::https://storage.googleapis.com/chromium-optimization-profiles/pgo_profiles/${_PGO_PATH}" -
PKGBUILD:25
"${_clang_path}::https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/${_clang_path}"
PKGBUILD
2 offending line(s) highlighted# Maintainer: bgme <i@bgme.me>
# Contributor: navigaid <navigaid@gmail.com>
pkgname=naiveproxy
pkgdesc="A Proxy using Chrome's network stack to camouflage traffic with strong censorship resistence and low detectablility."
pkgver=154.0.8037.49_5
pkgrel=1
_pkgver=154.0.8037.49
_pkgrel=5
arch=('x86_64')
url='https://github.com/klzgrad/naiveproxy'
license=('BSD-3-Clause')
depends=("gcc-libs" "glibc")
makedepends=("ninja" "gn" "ccache" "python")
checkdepends=("python" "openssl")
_PGO_PATH='chrome-linux-8037-1789495081-7feb9cdd3829d739633f8ac2c1a41d6c0f693bd3-9272cb3a6934b0e4510fb1cde78ca7e9d7859922.profdata'
_clang_path='clang-llvmorg-24-init-3796-g20e97c4b-27.tar.xz'
source=(
"naiveproxy.service"
"naiveproxy@.service"
"${pkgname}-${_pkgver}-${_pkgrel}.tar.gz::https://github.com/klzgrad/naiveproxy/archive/refs/tags/v${_pkgver}-${_pkgrel}.tar.gz"
"${_PGO_PATH}::https://storage.googleapis.com/chromium-optimization-profiles/pgo_profiles/${_PGO_PATH}"
"${_clang_path}::https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/${_clang_path}"
)
noextract=(
"${_clang_path}"
)
sha1sums=('f959ceed9d451e3344d99b2a1572ca27416a5675'
'278983a6edd5477e8f6f0557ea206f236fdc51dc'
'f67d7b2b3f44130aea51217bdd0fdb6ced51735b'
'7feb9cdd3829d739633f8ac2c1a41d6c0f693bd3'
'7c09622b89a571d061e8429d0570193a6fca21fb')
sha256sums=('8b56b5a401cb7f77b50376ec27e40445f4bdbe85890ab717327de187ded92c53'
'dd8f8e154832d49795be417557db9cc408976cc324452715f5d796b40e5a752d'
'945e89a43e38e15baf16a5d8489c55c47c325b5c9a86f2ee082ce688d0cee4eb'
'1e1f79dc4b6de72bccfbc2e67498e75ce60c4b53c10bceb0559c358596cd71a2'
'968195fa0b49958e066695df2c7c985d169a20fa06eedb8fcef900a6030edcb0')
backup=('etc/naiveproxy/config.json')
provides=('naiveproxy')
conflicts=('naiveproxy')
prepare() {
SRC_DIR="${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}/src"
mkdir -p "${SRC_DIR}/chrome/build/pgo_profiles"
cp ${_PGO_PATH} "${SRC_DIR}/chrome/build/pgo_profiles/"
mkdir -p "${SRC_DIR}/third_party/llvm-build/Release+Asserts"
tar xJf ${_clang_path} -C "${SRC_DIR}/third_party/llvm-build/Release+Asserts/"
}
build() {
SRC_DIR="${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}/src"
cd "${SRC_DIR}"
export TMPDIR="$PWD/tmp"
rm -rf "$TMPDIR"
mkdir -p "$TMPDIR"
out=out/Release
flags="
is_official_build=true
exclude_unwind_tables=true
enable_resource_allowlist_generation=false
chrome_pgo_phase=2
symbol_level=0"
export CCACHE_SLOPPINESS=time_macros
export CCACHE_BASEDIR="$PWD"
export CCACHE_CPP2=yes
CCACHE=ccache
flags="$flags
cc_wrapper=\"$CCACHE\""
flags="$flags"'
is_clang=true
use_sysroot=false
fatal_linker_warnings=false
treat_warnings_as_errors=false
is_cronet_build=true
use_udev=false
use_aura=false
use_ozone=false
use_gio=false
use_platform_icu_alternatives=true
use_glib=false
is_perfetto_embedder=true
disable_file_support=true
enable_websockets=false
use_kerberos=false
disable_file_support=true
disable_zstd_filter=false
enable_mdns=false
enable_reporting=false
include_transport_security_state_preload_list=false
enable_device_bound_sessions=false
enable_bracketed_proxy_uris=true
enable_quic_proxy_support=true
enable_disk_cache_sql_backend=false
use_nss_certs=false
enable_backup_ref_ptr_support=false
enable_dangling_raw_ptr_checks=false
'
# Disable CFI icall for linux x64
# See https://github.com/llvm/llvm-project/issues/86430
flags="$flags"'
use_cfi_icall=false'
rm -rf "./$out"
mkdir -p out
export DEPOT_TOOLS_WIN_TOOLCHAIN=0
gn gen "$out" "--args=$flags $EXTRA_FLAGS"
ninja -C "$out" naive
}
check() {
SRC_DIR="${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}"
script_dir="${SRC_DIR}/tests"
naive="${SRC_DIR}/src/out/Release/naive"
cd /tmp
python "${script_dir}/basic.py" --naive="$naive"
}
package() {
pushd "${srcdir}"
install -Dm644 naiveproxy.service "${pkgdir}/usr/lib/systemd/system/naiveproxy.service"
install -Dm644 naiveproxy@.service "${pkgdir}/usr/lib/systemd/system/naiveproxy@.service"
popd
pushd "${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}"
install -d -m750 "${pkgdir}/etc/naiveproxy"
install -Dm644 src/config.json "${pkgdir}/etc/naiveproxy/config.json"
install -Dm755 src/out/Release/naive "${pkgdir}/usr/bin/naiveproxy"
install -Dm644 README.md "${pkgdir}/usr/share/doc/naiveproxy/README.md"
install -Dm644 USAGE.txt "${pkgdir}/usr/share/doc/naiveproxy/USAGE.txt"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/naiveproxy/LICENSE"
popd
}
Changes since previous scan
--- PKGBUILD @ 2026-10-22 00:13+++ PKGBUILD @ 2026-11-01 00:21@@ -3,10 +3,10 @@ pkgname=naiveproxy pkgdesc="A Proxy using Chrome's network stack to camouflage traffic with strong censorship resistence and low detectablility."-pkgver=154.0.8037.49_4+pkgver=154.0.8037.49_5 pkgrel=1 _pkgver=154.0.8037.49-_pkgrel=4+_pkgrel=5 arch=('x86_64') url='https://github.com/klzgrad/naiveproxy' license=('BSD-3-Clause')@@ -31,12 +31,12 @@ sha1sums=('f959ceed9d451e3344d99b2a1572ca27416a5675' '278983a6edd5477e8f6f0557ea206f236fdc51dc'- 'd20eaaa195f40be548fa16a889d9d8165895fdb5'+ 'f67d7b2b3f44130aea51217bdd0fdb6ced51735b' '7feb9cdd3829d739633f8ac2c1a41d6c0f693bd3' '7c09622b89a571d061e8429d0570193a6fca21fb') sha256sums=('8b56b5a401cb7f77b50376ec27e40445f4bdbe85890ab717327de187ded92c53' 'dd8f8e154832d49795be417557db9cc408976cc324452715f5d796b40e5a752d'- '11b4dd5642b9f41087e95ca099c50879d72f40c3f0db56a9fa3228eb3c06e104'+ '945e89a43e38e15baf16a5d8489c55c47c325b5c9a86f2ee082ce688d0cee4eb' '1e1f79dc4b6de72bccfbc2e67498e75ce60c4b53c10bceb0559c358596cd71a2' '968195fa0b49958e066695df2c7c985d169a20fa06eedb8fcef900a6030edcb0') Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 23:36:19 | Medium | 1 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |