vim-vjde

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

The source is downloaded from vim.org, a non-whitelisted but plausibly official host for Vim plugins; the download is a source tarball that is built locally, and the checksum is verified, so the risk is low despite the non-standard URL pattern.

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 source is downloaded from vim.org, a non-whitelisted but plausibly official host for Vim plugins; the download is a source tarball that is built locally, and the checksum is verified, so the risk is low despite the non-standard URL pattern.

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:22 source=("$pkgname-$pkgver.tgz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dracorp aka Piotr Rogoza <piotr.r.public@gmail.com>
2
3pkgname=vim-vjde
4pkgver=2.6.18
5_scriptid=17026
6pkgrel=6
7pkgdesc='Just a Development Environment for VIM'
8arch=('i686' 'x86_64')
9url='http://www.vim.org/scripts/script.php?script_id=1213'
10license=('GPL')
11groups=('vim-plugins')
12depends=(
13vim-runtime
14java-environment
15)
16optdepends=(
17'ctags: to replace readtags'
18'jdk: to install java-runtime and java-environment'
19'jre: to install java-runtime'
20)
21install='vimdoc.install'
22source=("$pkgname-$pkgver.tgz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}")
23sha256sums=('fa6169dfff44ce68e96b45b2a495177ae8c9913757d20e69a16e520cdf4b6930')
24_fix_files() {
25 local orig_file=$1
26 if [ ! -w "$orig_file" -o ! -s "$orig_file" ]; then
27 return
28 fi
29
30 # remove 'carriage return'
31 sed -e 's/\r//g' -i $orig_file
32
33 # change encoding
34 iconv -c -f gbk -t utf8 $orig_file > ${orig_file}.fix && \
35 mv ${orig_file}.fix ${orig_file} || return 1
36}
37export -f _fix_files
38package() {
39 _vim_dir='/usr/share/vim/vimfiles'
40
41 # compile readtags
42 cd "$srcdir"/src
43 gcc -o ../plugin/vjde/readtags -DREADTAGS_MAIN readtags.c
44
45 cd "$srcdir"
46# rm -rf "$srcdir"/src
47 find $srcdir \( -iname '*.exe' -o -iname '*.dll' \) -exec rm -f '{}' ';'
48
49 # install files
50 install -dm755 "$pkgdir"/${_vim_dir}
51 install -dm755 "$pkgdir"/usr/bin
52
53 tar -c ./ \
54 --exclude $pkgname-$pkgver.tgz \
55 --exclude src \
56 | tar -xC "$pkgdir"/${_vim_dir}
57
58 mv "$pkgdir"/${_vim_dir}/plugin/vjde/readtags \
59 ${pkgdir}/usr/bin
60 ln -s /usr/bin/readtags \
61 "$pkgdir"/${_vim_dir}/plugin/vjde
62
63 # fixing files
64 find "$pkgdir"/${_vim_dir} -type f -a ! -name '*.class' -a ! -name '*.jar' -exec bash -c '_fix_files {}' ';'
65}
66

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