vim-diffchar

LOW
maintainer Rhinoceros 5 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a source zip from vim.org's script download system and a LICENSE file from GitHub; both are plausible project sources, and the zip is used to install Vim plugin files, which are data, not executable code.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 90%): The package downloads a source zip from vim.org's script download system and a LICENSE file from GitHub; both are plausible project sources, and the zip is used to install Vim plugin files, which are data, not executable code.

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:12 source=("$pkgname-$pkgver.zip::https://www.vim.org/scripts/download_script.php?src_id=29255"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
2
3pkgname=vim-diffchar
4pkgver=10.1
5pkgrel=1
6pkgdesc="Improve vim's diff mode, by finding exact differences between lines, character by character"
7arch=('any')
8url='http://www.vim.org/scripts/script.php?script_id=4932'
9license=('MIT')
10groups=('vim-plugins')
11depends=('vim-plugin-runtime')
12source=("$pkgname-$pkgver.zip::https://www.vim.org/scripts/download_script.php?src_id=29255"
13 "$pkgname-$pkgver-LICENSE::https://raw.githubusercontent.com/rickhowe/diffchar.vim/master/LICENSE")
14sha256sums=('0eac38cd04ed60c9922f7cde510a35dcb8171cfb67160da2a8317755cb105b81'
15 '9a061ca684100f61ff5e218819805d6af3a49b2cd9ed55239ea44c56a2816266')
16
17prepare() {
18 rm doc/tags
19}
20
21package() {
22 _installpath="${pkgdir}/usr/share/vim/vimfiles"
23 mkdir -p "${_installpath}"
24 cp -r autoload doc plugin "${_installpath}"
25
26 install -Dm644 "$pkgname-$pkgver-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
27}
28

Changes since previous scan

--- PKGBUILD @ 2026-10-25 00:20
+++ PKGBUILD @ 2026-11-01 00:21
@@ -1,7 +1,7 @@
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
pkgname=vim-diffchar
-pkgver=10.0
+pkgver=10.1
pkgrel=1
pkgdesc="Improve vim's diff mode, by finding exact differences between lines, character by character"
arch=('any')
@@ -9,10 +9,10 @@
license=('MIT')
groups=('vim-plugins')
depends=('vim-plugin-runtime')
-source=("$pkgname-$pkgver.zip::https://www.vim.org/scripts/download_script.php?src_id=29034"
- "${pkgname}-LICENSE::https://raw.githubusercontent.com/rickhowe/diffchar.vim/master/LICENSE")
-sha256sums=('96e1bbc27ece4f9b83c8fe6a4838470ef6afee59a6f914ded0fc5986d8f1aca1'
- '5af329891f9a80c2fc739b1ef6b3932a940db3953d5078ab0963e0007bce12cd')
+source=("$pkgname-$pkgver.zip::https://www.vim.org/scripts/download_script.php?src_id=29255"
+ "$pkgname-$pkgver-LICENSE::https://raw.githubusercontent.com/rickhowe/diffchar.vim/master/LICENSE")
+sha256sums=('0eac38cd04ed60c9922f7cde510a35dcb8171cfb67160da2a8317755cb105b81'
+ '9a061ca684100f61ff5e218819805d6af3a49b2cd9ed55239ea44c56a2816266')
prepare() {
rm doc/tags
@@ -23,6 +23,6 @@
mkdir -p "${_installpath}"
cp -r autoload doc plugin "${_installpath}"
- install -Dm644 "${pkgname}-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "$pkgname-$pkgver-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

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 13:42:47 Medium 1
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

Report a package

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

0 / 4000
Your suggestion