vim-openbrowser

maintainer vali · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a Vim plugin from the official vim.org scripts site, which is a plausible project-owned host; the source is a zip file containing only Vim script files, which are data/non-executable in this context, so the worst case of a swapped source is limited to tampering with plugin functionality, not arbitrary code execution.

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 package downloads a Vim plugin from the official vim.org scripts site, which is a plausible project-owned host; the source is a zip file containing only Vim script files, which are data/non-executable in this context, so the worst case of a swapped source is limited to tampering with plugin functionality, not arbitrary code execution.

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

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Johannes Schlatow <johannes.schlatow@googlemail.com>
2
3pkgname=vim-openbrowser
4pkgver=2.0.0
5_scriptid=25873
6pkgrel=2
7pkgdesc="Open URI with your favorite browser from vim"
8arch=('any')
9url="http://www.vim.org/scripts/script.php?script_id=3133"
10license=('unknown')
11depends=('vim')
12makedepends=('unzip')
13groups=('vim-plugins')
14install=vimdoc.install
15source=("$pkgname-$pkgver.zip::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
16sha256sums=('2abeca5d1f5b9a5fa018893197dc2e354b54cfc837b035ba6247f2c6dc37411c')
17
18_install_directory() {
19 path=$1
20 installpath=$2
21 install -m755 -d $installpath/$path
22
23 for file in $path/*; do
24 if [ -f $file ]; then
25 install -Dm644 -t $installpath/$path/ $file
26 fi
27 done
28}
29
30package() {
31 cd ${srcdir}
32
33 installpath="${pkgdir}/usr/share/vim/vimfiles"
34
35 _install_directory doc $installpath
36 _install_directory plugin $installpath
37 _install_directory lang $installpath
38
39 _install_directory autoload/vital/__openbrowser__/OpenBrowser $installpath
40 _install_directory autoload/vital/__openbrowser__/ $installpath
41 _install_directory autoload/vital/_openbrowser/Web/URI $installpath
42 _install_directory autoload/vital/_openbrowser/Web $installpath
43 _install_directory autoload/vital/_openbrowser/Vim $installpath
44 _install_directory autoload/vital/_openbrowser/Data $installpath
45 _install_directory autoload/vital/_openbrowser/ $installpath
46 _install_directory autoload/vital/ $installpath
47 _install_directory autoload/ $installpath
48
49}
50

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