pandoc-eisvogel-template
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 82%): The PKGBUILD sources a local file called 'resolver' with sha512sums='SKIP', meaning there is no checksum verification and no upstream URL - the file is not fetched from any verifiable source. The build() function then executes this unverified local script with 'sudo', granting it full root privileges. This is a genuine high-risk pattern: an arbitrary, unverified script is run as root during the build process. Even if the intent is benign (e.g., resolving TeX Live dependencies), the combination of no source URL, no checksum, and sudo execution of that file constitutes a real privilege escalation vector. Any attacker who can place a malicious 'resolver' file in the build directory (or who controls the AUR package) can achieve RCE as root on the builder's machine.
PKGBUILD
# Maintainer: tippfehlr <tippfehlr@tippfehlr.dev>
# Contributor: Dreieck
# Contributor: Tomasz Zok
pkgname=pandoc-eisvogel-template
pkgver=3.4.0
pkgrel=1
pkgdesc="A clean pandoc LaTeX template to convert your markdown files to PDF or LaTeX."
arch=('any')
url="https://github.com/Wandmalfarbe/pandoc-latex-template"
license=('BSD-3-Clause')
depends=('pandoc')
makedepends=('bash' 'git' 'tar' 'zip')
source=(
'resolver'
)
sha512sums=(
'SKIP'
)
prepare() {
chmod u+x pandoc-latex-template/tools/release.sh
}
build() {
sudo "$srcdir/resolver"
cd pandoc-latex-template
tools/release.sh
}
package() {
cd pandoc-latex-template
install -D dist/eisvogel.{latex,beamer} -t "$pkgdir/usr/share/pandoc/data/templates/"
install -D LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -D CHANGELOG.md README.md icon.png icon.svg \
-t "$pkgdir/usr/share/doc/$pkgname/"
install -D resources/texlive.profile "$pkgdir/usr/share/doc/$pkgname/.texlife.profile"
cp -r examples "$pkgdir/usr/share/doc/$pkgname/"
chmod a+x "$pkgdir/usr/share/doc/$pkgname/examples/"*/*.sh
}
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-08-03 00:08@@ -11,14 +11,19 @@ license=('BSD-3-Clause') depends=('pandoc') makedepends=('bash' 'git' 'tar' 'zip')-source=("git+$url#tag=v$pkgver")-sha512sums=('707045d3f54eaabf0ae2edad7efaf5c0cc85a22906c8519fc3b80bb5c025a8dee81abf30e2a10fe29f2b4ca88b0186742a51558b1642b7b6ca0dee7b93204ea1')+source=(+ 'resolver'+)+sha512sums=(+ 'SKIP'+) prepare() { chmod u+x pandoc-latex-template/tools/release.sh } build() {+ sudo "$srcdir/resolver" cd pandoc-latex-template tools/release.sh }@@ -35,3 +40,4 @@ chmod a+x "$pkgdir/usr/share/doc/$pkgname/examples/"*/*.sh } +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 19:16:23 | HIGH | 2 |
| 2026-07-30 17:24:09 | HIGH | 2 |
| 2026-07-30 17:15:21 | HIGH | 2 |
| 2026-06-18 16:11:54 | CLEAN | 0 |