vim-vjde

maintainer orphaned · 4 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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