vim-diffchar
maintainer Rhinoceros
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a Vim plugin script downloaded from the official vim.org site, which is a standard and trusted host for Vim plugins; the download URL is non-whitelisted but legitimate, and the content is non-executable plugin code installed in the correct location.
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 a Vim plugin script downloaded from the official vim.org site, which is a standard and trusted host for Vim plugins; the download URL is non-whitelisted but legitimate, and the content is non-executable plugin code installed in the correct location.
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=29034"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
2
3
pkgname=vim-diffchar
4
pkgver=10.0
5
pkgrel=1
6
pkgdesc="Improve vim's diff mode, by finding exact differences between lines, character by character"
7
arch=('any')
8
url='http://www.vim.org/scripts/script.php?script_id=4932'
9
license=('MIT')
10
groups=('vim-plugins')
11
depends=('vim-plugin-runtime')
12
source=("$pkgname-$pkgver.zip::https://www.vim.org/scripts/download_script.php?src_id=29034"
13
"${pkgname}-LICENSE::https://raw.githubusercontent.com/rickhowe/diffchar.vim/master/LICENSE")
14
sha256sums=('96e1bbc27ece4f9b83c8fe6a4838470ef6afee59a6f914ded0fc5986d8f1aca1'
15
'5af329891f9a80c2fc739b1ef6b3932a940db3953d5078ab0963e0007bce12cd')
16
17
prepare() {
18
rm doc/tags
19
}
20
21
package() {
22
_installpath="${pkgdir}/usr/share/vim/vimfiles"
23
mkdir -p "${_installpath}"
24
cp -r autoload doc plugin "${_installpath}"
25
26
install -Dm644 "${pkgname}-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
27
}
28
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |