falco
The package downloads source tarballs from GitHub's codeload service, which is a legitimate and common practice for AUR packages; all sources are verified via provided sha256sums and used to build the software from official project repositories, posing no executable risk or supply-chain threat.
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 source tarballs from GitHub's codeload service, which is a legitimate and common practice for AUR packages; all sources are verified via provided sha256sums and used to build the software from official project repositories, posing no executable risk or supply-chain threat.
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:25
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/${pkgver}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Kris Nóva <kris@nivenly.com> R.I.P.
pkgname='falco'
pkgver='0.45.0'
_rules_ver='5.2.0'
_libs_ver='0.26.0'
_driver_ver='11.0.0'
_ctl_ver='0.14.2'
_p_container_ver='0.7.5'
pkgrel='1'
pkgdesc='Falco is a cloud native runtime security tool for Linux operating systems'
arch=('x86_64' 'aarch64')
url="https://${pkgname}.org/"
_uri="github.com/${pkgname}security"
license=('Apache2.0')
depends=('curl' 'zlib' 'jsoncpp>=1.9.5' 'libssh2' 'e2fsprogs' 're2' 'onetbb>=2022.1.0' 'yaml-cpp>=0.9.0'
'libbpf' 'libelf' 'openssl' 'brotli')
makedepends=('cmake' 'cxxopts>=3.3.1' 'clang' 'jemalloc' 'go>=1.25.7' 'git' 'bpf' 'gperftools'
'cpp-httplib>=0.23.1' 'nlohmann-json>=3.11.3' 'uthash>=1.9.8' 'valijson>=1.0.2')
checkdepends=('cppcheck')
backup=("etc/${pkgname}/${pkgname}.yaml"
"etc/${pkgname}/${pkgname}_rules.yaml")
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/${pkgver}"
"rules-${_rules_ver}.tar.gz::https://codeload.${_uri}/rules/tar.gz/refs/tags/${pkgname}-rules-${_rules_ver}"
"libs-${_libs_ver}.tar.gz::https://codeload.${_uri}/libs/tar.gz/refs/tags/${_libs_ver}"
"libs-${_driver_ver}-driver.tar.gz::https://codeload.${_uri}/libs/tar.gz/refs/tags/${_driver_ver}+driver"
"${pkgname}ctl-${_ctl_ver}.tar.gz::https://codeload.${_uri}/${pkgname}ctl/tar.gz/refs/tags/v${_ctl_ver}"
"plugins-plugins-container-v${_p_container_ver}.tar.gz::https://codeload.${_uri}/plugins/tar.gz/refs/tags/plugins/container/v${_p_container_ver}"
"${pkgname}.service"
"${pkgname}.sysusers"
"${pkgname}.tmpfiles")
sha256sums=('6982fc2d00444b35c89b863ca70827383e68be8fd08c3d1551315c909da8c0ee'
'b9c16a1de507744a99d67717df3ecaa767782dd95fa73d027775cd576bcfbdc1'
'430b90236a345f913387adb4c042e7d9140b4fec128f7ef863b7e53f2fdd5e35'
'4120c6363fbbad75a48e8425447f89fb30c3ee2aa5537d2112486dddfcc0e336'
'2ac3bd90913933e7fb6f9a722e1b8999dedaaab158c1ea073405d28c491112c1'
'820d66250f4537acb1e121cca86b7ce9c47ac7d3e87b16de03047eedd29ebc7f'
'64edf36a93fceb949d186505d703c1fb49a47892b63d77d49f4db92ee69df535'
'ce971a3f52ab84182146da14651eabbac9b33157bacebe5efc087f461d18bc49'
'5c7f1ba69b9af0e919deea901b8b9dfc1fa8d9e287b0c5a189e7dca9956558e1')
prepare() {
export GOPATH="${srcdir}/gopath"
export GOBIN="${GOPATH}/bin"
export GOCACHE="${srcdir}/cache/go-cache"
export GOMODCACHE="${srcdir}/cache/go"
export GOTMPDIR="${GOPATH}/tmp"
mkdir -p "${GOPATH}/src/${_uri}"
mkdir -p "${GOTMPDIR}"
eval "$(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")"
ln -snf "${srcdir}/${pkgname}ctl-${_ctl_ver}" "${GOPATH}/src/${_uri}/${pkgname}ctl"
# Use distro FORTIFY_SOURCE
sed --in-place \
--expression 's|-D_FORTIFY_SOURCE=2||g' \
"${pkgname}-${pkgver}/cmake/modules/CompilerFlags.cmake"
# Do not listen 0.0.0.0/0 by default!
sed --in-place \
--expression 's|listen_address: 0.0.0.0|listen_address: 127.0.0.1|g' \
"${pkgname}-${pkgver}/${pkgname}.yaml"
# plugin/container golang code - set flags for cache
sed --in-place \
--expression 's|CGO_ENABLED=1||g' \
--expression 's|ldflags="-s -w"|ldflags "-linkmode external -extldflags '\''${LDFLAGS}'\''"|g' \
--expression 's|go build|go build -trimpath -mod=readonly -modcacherw|g' \
"plugins-plugins-container-v${_p_container_ver}/plugins/container/go-worker/Makefile"
# plugin/container CXX - remove 'fix for legacy compatibility'
sed --in-place \
--expression 's|-static-libgcc -static-libstdc++||g' \
"plugins-plugins-container-v${_p_container_ver}/plugins/container/CMakeLists.txt"
# plugin/container CXX - do not strip, save debug symbols
sed --in-place \
--expression 's| -s||g' \
"plugins-plugins-container-v${_p_container_ver}/plugins/container/cmake/modules/compiler.cmake"
}
build() {
# This is CMake prepare for plugin/container - very req plugin due hardcode in falco_rules.yaml file
cmake -B "plugin-container-build" -S "plugins-plugins-container-v${_p_container_ver}/plugins/container" \
-Wno-author \
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \
-D CMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-D CMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-D LIBS_DIR="${srcdir}/libs-${_libs_ver}" \
-D USE_BUNDLED_DEPS=Off \
-D USE_BUNDLED_DRIVER=Off \
-D USE_BUNDLED_JSONCPP=Off \
-D USE_BUNDLED_CXXOPTS=Off \
-D USE_BUNDLED_RE2=Off \
-D USE_BUNDLED_TBB=Off \
-D USE_BUNDLED_UTHASH=Off \
-D USE_BUNDLED_VALIJSON=Off \
-D USE_BUNDLED_ZLIB=Off
# This is build for plugins/container
cmake --build "plugin-container-build" --target "container" --config "Release" --verbose
# This is CMake prepare for eBPF files that req for actual falco build
cmake -B "skeleton-build" -S "${pkgname}-${pkgver}" \
-Wno-author \
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \
-D CMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-D CMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-D DRIVER_SOURCE_DIR="${srcdir}/libs-${_driver_ver}-driver/driver" \
-D DRIVER_VERSION="${_driver_ver}" \
-D FALCOSECURITY_LIBS_SOURCE_DIR="${srcdir}/libs-${_libs_ver}" \
-D FALCOSECURITY_LIBS_VERSION="${_libs_ver}" \
-D FALCOSECURITY_RULES_FALCO_PATH="${srcdir}/rules-${pkgname}-rules-${_rules_ver}/rules/${pkgname}_rules.yaml" \
-D USE_BUNDLED_DEPS=Off \
-D USE_BUNDLED_CPPHTTPLIB=Off \
-D USE_BUNDLED_DRIVER=Off \
-D USE_BUNDLED_JSONCPP=Off \
-D USE_BUNDLED_LIBBPF=Off \
-D USE_BUNDLED_LIBELF=Off \
-D USE_BUNDLED_MODERN_BPF=Off \
-D USE_BUNDLED_NLOHMANN_JSON=Off \
-D USE_BUNDLED_OPENSSL=Off \
-D USE_BUNDLED_RE2=Off \
-D USE_BUNDLED_TBB=Off \
-D USE_BUNDLED_UTHASH=Off \
-D USE_BUNDLED_VALIJSON=Off \
-D USE_BUNDLED_YAMLCPP=Off \
-D USE_BUNDLED_ZLIB=Off \
-D BUILD_DRIVER=Off \
-D USE_JEMALLOC=Off \
-D BUILD_FALCO_MODERN_BPF=On \
-D FALCO_VERSION="${pkgver}"
cmake --build "skeleton-build" --target "ProbeSkeleton" --config "Release" --verbose
# This is CMake prepare for falco
cmake -B "build" -S "${pkgname}-${pkgver}" \
-Wno-author \
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \
-D CMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-D CMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-D DRIVER_SOURCE_DIR="${srcdir}/libs-${_driver_ver}-driver/driver" \
-D DRIVER_VERSION="${_driver_ver}" \
-D FALCOSECURITY_LIBS_SOURCE_DIR="${srcdir}/libs-${_libs_ver}" \
-D FALCOSECURITY_LIBS_VERSION="${_libs_ver}" \
-D FALCOSECURITY_RULES_FALCO_PATH="${srcdir}/rules-${pkgname}-rules-${_rules_ver}/rules/${pkgname}_rules.yaml" \
-D USE_BUNDLED_DEPS=Off \
-D USE_BUNDLED_CPPHTTPLIB=Off \
-D USE_BUNDLED_DRIVER=Off \
-D USE_BUNDLED_JSONCPP=Off \
-D USE_BUNDLED_LIBBPF=Off \
-D USE_BUNDLED_LIBELF=Off \
-D USE_BUNDLED_MODERN_BPF=Off \
-D USE_BUNDLED_NLOHMANN_JSON=Off \
-D USE_BUNDLED_OPENSSL=Off \
-D USE_BUNDLED_RE2=Off \
-D USE_BUNDLED_TBB=Off \
-D USE_BUNDLED_UTHASH=Off \
-D USE_BUNDLED_VALIJSON=Off \
-D USE_BUNDLED_YAMLCPP=Off \
-D USE_BUNDLED_GPERFTOOLS=Off \
-D USE_BUNDLED_ZLIB=Off \
-D USE_BUNDLED_GTEST=Off \
-D USE_BUNDLED_JEMALLOC=Off \
-D CMAKE_INSTALL_PREFIX="/usr" \
-D CMAKE_INSTALL_LIBDIR="lib" \
-D MODERN_BPF_SKEL_DIR="${srcdir}/skeleton-build/skel_dir" \
-D BUILD_FALCO_UNIT_TESTS=Off \
-D ENABLE_BENCHMARKS=Off \
-D BUILD_DRIVER=Off \
-D USE_JEMALLOC=Off \
-D BUILD_FALCO_MODERN_BPF=On \
-D USE_GPERFTOOLS=On \
-D ADD_FALCOCTL_DEPENDENCY=Off \
-D FALCO_VERSION="${pkgver}"
# This is falco build
cmake --build "build" --target "falco" --config "Release" --verbose
# This is falcoctl build (golang)
cd "${GOPATH}/src/${_uri}/${pkgname}ctl"
eval "$(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")"
GOOS="${GOHOSTOS}" GOARCH="${GOHOSTARCH}" \
go build \
-buildmode="pie" \
-trimpath \
-mod="readonly" \
-modcacherw \
-ldflags "-linkmode external -extldflags '${LDFLAGS}' \
-X ${_uri}/${pkgname}ctl/cmd/version.semVersion=${_ctl_ver} \
-X ${_uri}/${pkgname}ctl/cmd/version.gitCommit=$(git rev-parse HEAD) \
-X ${_uri}/${pkgname}ctl/cmd/version.buildDate=$(date -u '+%Y%m%d-%H:%M:%S' --date=@${SOURCE_DATE_EPOCH})"
}
check() {
cmake --build "build" --target "cppcheck"
cd "${GOPATH}/src/${_uri}/${pkgname}ctl"
TMPDIR="${GOPATH}/tmp" go test -modcacherw -cover ./...
}
package() {
DESTDIR="${pkgdir}" cmake --install "build" --config "release"
find "${pkgdir}/usr/lib" -type f -name "*.*a" -delete -print
install -Dm0755 "${pkgname}ctl-${_ctl_ver}/${pkgname}ctl" -t "${pkgdir}/usr/bin"
install -Dm0644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm0644 "${pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system"
install -Dm0644 "${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
install -Dm0644 "${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
# Some compiled stuff from Internet
rm --verbose --force "${pkgdir}/usr/share/${pkgname}/plugins/libcontainer.so"
install -Dm0755 "plugin-container-build/libcontainer.so" -t \
"${pkgdir}/usr/share/${pkgname}/plugins"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-29 00:07+++ PKGBUILD @ 2026-10-03 00:23@@ -3,13 +3,13 @@ # Contributor: Kris Nóva <kris@nivenly.com> R.I.P. pkgname='falco'-pkgver='0.44.1'-_rules_ver='5.1.0'-_libs_ver='0.25.4'-_driver_ver='10.2.0'-_ctl_ver='0.13.0'-_p_container_ver='0.7.1'-pkgrel='5'+pkgver='0.45.0'+_rules_ver='5.2.0'+_libs_ver='0.26.0'+_driver_ver='11.0.0'+_ctl_ver='0.14.2'+_p_container_ver='0.7.5'+pkgrel='1' pkgdesc='Falco is a cloud native runtime security tool for Linux operating systems' arch=('x86_64' 'aarch64') url="https://${pkgname}.org/"@@ -31,12 +31,12 @@ "${pkgname}.service" "${pkgname}.sysusers" "${pkgname}.tmpfiles")-sha256sums=('661d0dc62f0eb82352f8b176e423bd34fdc44ca4c98b3f329fd73d984f0c50f5'- '8b1a9e61030e88ca3e8727cfe20bab8f662d6e2e6b13178e2be57d38e025af24'- '272a5a0c05e7c10a658ed9649023e6179061a4ab29e012602893586ac64b5938'- '0e585f5fc2b76696ef2cb902f0901ea39a2f2df87e1f091f3348f968b9085f39'- '804a37e6372201ee21d3bc99ffea6079484b557ece0aa17719dbc6e8cb2b5fec'- '111223c2c85344856ac371243efbb0ea4b07538a62738bf80e00bac17e3cf7d6'+sha256sums=('6982fc2d00444b35c89b863ca70827383e68be8fd08c3d1551315c909da8c0ee'+ 'b9c16a1de507744a99d67717df3ecaa767782dd95fa73d027775cd576bcfbdc1'+ '430b90236a345f913387adb4c042e7d9140b4fec128f7ef863b7e53f2fdd5e35'+ '4120c6363fbbad75a48e8425447f89fb30c3ee2aa5537d2112486dddfcc0e336'+ '2ac3bd90913933e7fb6f9a722e1b8999dedaaab158c1ea073405d28c491112c1'+ '820d66250f4537acb1e121cca86b7ce9c47ac7d3e87b16de03047eedd29ebc7f' '64edf36a93fceb949d186505d703c1fb49a47892b63d77d49f4db92ee69df535' 'ce971a3f52ab84182146da14651eabbac9b33157bacebe5efc087f461d18bc49' '5c7f1ba69b9af0e919deea901b8b9dfc1fa8d9e287b0c5a189e7dca9956558e1')@@ -85,6 +85,9 @@ cmake -B "plugin-container-build" -S "plugins-plugins-container-v${_p_container_ver}/plugins/container" \ -Wno-author \ -D CMAKE_BUILD_TYPE="Release" \+ -D CMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \+ -D CMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \+ -D CMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \ -D LIBS_DIR="${srcdir}/libs-${_libs_ver}" \ -D USE_BUNDLED_DEPS=Off \ -D USE_BUNDLED_DRIVER=Off \@@ -96,12 +99,15 @@ -D USE_BUNDLED_VALIJSON=Off \ -D USE_BUNDLED_ZLIB=Off # This is build for plugins/container- cmake --build "plugin-container-build" --target "container" --config "Release"+ cmake --build "plugin-container-build" --target "container" --config "Release" --verbose # This is CMake prepare for eBPF files that req for actual falco build cmake -B "skeleton-build" -S "${pkgname}-${pkgver}" \ -Wno-author \ -D CMAKE_BUILD_TYPE="Release" \+ -D CMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \+ -D CMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \+ -D CMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \ -D DRIVER_SOURCE_DIR="${srcdir}/libs-${_driver_ver}-driver/driver" \ -D DRIVER_VERSION="${_driver_ver}" \ -D FALCOSECURITY_LIBS_SOURCE_DIR="${srcdir}/libs-${_libs_ver}" \@@ -126,12 +132,15 @@ -D USE_JEMALLOC=Off \ -D BUILD_FALCO_MODERN_BPF=On \ -D FALCO_VERSION="${pkgver}"- cmake --build "skeleton-build" --target "ProbeSkeleton" --config "Release"+ cmake --build "skeleton-build" --target "ProbeSkeleton" --config "Release" --verbose # This is CMake prepare for falco cmake -B "build" -S "${pkgname}-${pkgver}" \ -Wno-author \ -D CMAKE_BUILD_TYPE="Release" \+ -D CMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \+ -D CMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \+ -D CMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \ -D DRIVER_SOURCE_DIR="${srcdir}/libs-${_driver_ver}-driver/driver" \ -D DRIVER_VERSION="${_driver_ver}" \ -D FALCOSECURITY_LIBS_SOURCE_DIR="${srcdir}/libs-${_libs_ver}" \@@ -168,7 +177,7 @@ -D FALCO_VERSION="${pkgver}" # This is falco build- cmake --build "build" --target "falco" --config "Release"+ cmake --build "build" --target "falco" --config "Release" --verbose # This is falcoctl build (golang) cd "${GOPATH}/src/${_uri}/${pkgname}ctl"@@ -193,6 +202,7 @@ package() { DESTDIR="${pkgdir}" cmake --install "build" --config "release"+ find "${pkgdir}/usr/lib" -type f -name "*.*a" -delete -print install -Dm0755 "${pkgname}ctl-${_ctl_ver}/${pkgname}ctl" -t "${pkgdir}/usr/bin" install -Dm0644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" install -Dm0644 "${pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 09:23:18 | Medium | 1 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 17:28:51 | Medium | 1 |
| 2026-09-18 00:17:11 | Low | 2 |
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |