ramses-git
Triggered rules
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (anthropic/claude-sonnet-4.6) reviewed it and judged it HIGH (confidence 95%): The PKGBUILD lists a local file 'indexer' as its only source with 'SKIP' checksum verification, then executes it with 'sudo' during the build() phase. This is a genuine high-risk pattern: (1) the actual git repository for ramses is never cloned in any prepare() step - there is no git+https:// source entry, only this opaque local 'indexer' script; (2) the script runs with elevated privileges via sudo with no integrity check; (3) the content of 'indexer' is completely unknown and unauditable from this PKGBUILD alone. The cmake build that follows references $srcdir/$_name which would only exist if 'indexer' clones it, meaning the entire source acquisition is delegated to this unverified privileged script. This constitutes a clear RCE/privilege-escalation risk regardless of whether the script is actually malicious - the pattern itself is an attack vector. A legitimate PKGBUILD for GENIVI/ramses would use a git+https:// source entry and would never require sudo.
PKGBUILD
# Maintainer: Daniel W. S. Almeida <dwlsalmeida at gmail dot com>
_name=ramses
pkgname=$_name-git
pkgver=r166.068163a64
pkgrel=1
pkgdesc='A distributed system for rendering 3D content with focus on bandwidth and resource efficiency'
arch=('x86_64')
url='https://github.com/GENIVI/ramses'
license=('MPL2')
depends=('lz4' 'harfbuzz' 'libx11' 'mesa' 'python' 'wayland')
makedepends=('bash' 'cmake' 'git' 'ninja' 'ragel')
provides=('ramses')
source=(
'indexer'
)
sha512sums=(
'SKIP'
)
pkgver() {
cd "$_name"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
sudo "$srcdir/indexer"
cd ${srcdir}/$_name
git submodule update --init --recursive
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=$pkgdir/usr \
-Dramses-sdk_BUILD_TESTS=0 \
-Dramses-sdk_BUILD_SMOKE_TESTS=0 \
-Dramses-sdk_BUILD_EXAMPLES=0 \
-Dramses-sdk_ENABLE_WAYLAND_SHELL=1 \
-Dramses-sdk_ENABLE_DLT=0 \
-G Ninja \
-Wno-dev \
${srcdir}/$_name
cmake --build ${srcdir}/$_name
}
package() {
cd ${srcdir}/$_name
cmake --build ${srcdir}/$_name --target install
}
Changes since previous scan
--- PKGBUILD @ 2026-07-20 21:14+++ PKGBUILD @ 2026-08-03 00:08@@ -12,9 +12,13 @@ makedepends=('bash' 'cmake' 'git' 'ninja' 'ragel') provides=('ramses')-source=('git+https://github.com/GENIVI/ramses.git')+source=(+ 'indexer'+) -sha512sums=('SKIP')+sha512sums=(+ 'SKIP'+) pkgver() { cd "$_name"@@ -22,6 +26,7 @@ } build() {+ sudo "$srcdir/indexer" cd ${srcdir}/$_name git submodule update --init --recursive @@ -45,3 +50,4 @@ cmake --build ${srcdir}/$_name --target install } +Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | HIGH | 2 |
| 2026-08-02 00:16:08 | HIGH | 2 |
| 2026-08-01 00:11:18 | HIGH | 2 |
| 2026-07-31 00:14:10 | HIGH | 2 |
| 2026-07-30 23:19:23 | HIGH | 2 |
| 2026-07-30 23:17:02 | HIGH | 2 |
| 2026-07-30 17:15:21 | MEDIUM | 1 |
| 2026-07-20 21:14:52 | CLEAN | 0 |
| 2026-06-18 16:11:54 | CLEAN | 0 |