vim-vjde

LOW
maintainer orphaned 4 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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