sarif-tools
MEDIUM
maintainer RubenKelevra
0 votes
scanned 2026-09-13 19:15:06.142757
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
pkgname=sarif-tools
2
pkgver=1.0.0
3
pkgrel=1
4
pkgdesc='A set of Python command line tools for working with SARIF files produced by code analysis tools'
5
arch=('any')
6
url=https://github.com/microsoft/sarif-tools
7
license=('MIT')
8
depends=('python-docx' 'python-jinja' 'python-matplotlib')
9
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-poetry')
10
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
11
sha256sums=('e814d8249f6751f174d012c240b02601b877b78e5c4fe5dd00b30dc796f01ee4')
12
13
build() {
14
cd $pkgname-$pkgver
15
python -m build --wheel --skip-dependency-check --no-isolation
16
}
17
18
check() {
19
cd $pkgname-$pkgver
20
}
21
22
package() {
23
cd $pkgname-$pkgver
24
python -m installer --destdir="$pkgdir" dist/*.whl
25
26
# Symlink license file
27
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
28
install -d "$pkgdir"/usr/share/licenses/$pkgname
29
ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
30
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
31
}
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |