neatroff-git

LOW
maintainer aksr 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The non-standard host hosts a PDF documentation file, which is non-executable data; the actual code is built from GitHub, making the worst-case impact limited to documentation tampering.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The non-standard host hosts a PDF documentation file, which is non-executable data; the actual code is built from GitHub, making the worst-case impact limited to documentation tampering.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host 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:21 'http://dev.rudi.ir/neatroff.pdf')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: aksr <aksr at t-com dot me>
2pkgname=neatroff-git
3pkgver=r568.5494bf1
4pkgrel=1
5pkgdesc='An implementation of troff typesetting system in C programming language.'
6arch=('i686' 'x86_64')
7url='http://dev.rudi.ir/'
8license=('ISC' 'LPL-1.0')
9depends=('neatmkfn-git')
10makedepends=('git')
11optdepends=('neatpost-git: Postscript postprocessor for neatroff.'
12 'neateqn-git: An eqn preprocessor for neatroff.'
13 'neatroff-hyph: Hyphenation files (patterns, exceptions and mappings).'
14 'neatrefer-git: A small refer clone for managing bibliographic references.'
15 'neatshape: A farsi/arabic shaping preprocessor for troff.')
16checkdepends=()
17provides=("${pkgname%-*}")
18conflicts=("${pkgname%-*}")
19source=("$pkgname::git+https://github.com/aligrudi/neatroff"
20 'git+https://github.com/aligrudi/neatroff_make'
21 'http://dev.rudi.ir/neatroff.pdf')
22md5sums=('SKIP'
23 'SKIP'
24 '1e0c494991fcaa6a9acb74297d5cb526')
25
26## FONTS directory
27FDIR=/usr/share/neatroff/font
28
29## MACROS directory
30MDIR=/usr/share/neatroff/tmac
31
32pkgver() {
33 cd $srcdir/$pkgname
34 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
35}
36
37build() {
38 cd "$srcdir/$pkgname"
39 make all FDIR=$FDIR MDIR=$MDIR
40}
41
42package() {
43 cd "$srcdir/$pkgname"
44 install -D -m755 roff $pkgdir/usr/bin/neatroff
45 install -D -m644 README $pkgdir/usr/share/doc/${pkgname%-*}/README
46 install -D -m644 ../neatroff.pdf $pkgdir/usr/share/doc/${pkgname%-*}/neatroff.pdf
47 install -D -m644 ../neatroff_make/tmac/NOTICE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE
48 install -D -m644 ../neatroff_make/man/neatroff.1 $pkgdir/usr/share/man/man1/neatroff.1
49 ## copy neatroff macros
50 mkdir -p $pkgdir/usr/share/neatroff/tmac/
51 cp -r ../neatroff_make/tmac/* $pkgdir/usr/share/neatroff/tmac/
52 rm -f $pkgdir/usr/share/neatroff/tmac/NOTICE
53}
54

Scan history

Scanned at (UTC)SeverityRules
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 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion