python-ibapi
LOW
maintainer a.kudelin
1 votes
scanned 2026-11-01 00:21:48.120785
Why flagged
The source is a versioned zip from the official Interactive Brokers GitHub Pages domain, hosting the project's own release;虽非标准主机但属项目官方发布渠道,且内容为源码构建,无远程代码执行或供应链劫持风险。
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 versioned zip from the official Interactive Brokers GitHub Pages domain, hosting the project's own release;虽非标准主机但属项目官方发布渠道,且内容为源码构建,无远程代码执行或供应链劫持风险。
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:14
source=(https://interactivebrokers.github.io/downloads/twsapi_macunix.${pkgver/./}.zip
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Anton Kudelin <kudelin at proton dot me>
2
3
_pyname=ibapi
4
pkgname=python-$_pyname
5
pkgver=10.47.01
6
pkgrel=1
7
pkgdesc="Python IB API"
8
arch=(any)
9
url="https://interactivebrokers.github.io/tws-api"
10
license=(custom)
11
depends=(python python-protobuf)
12
makedepends=(python-build python-installer python-setuptools python-wheel)
13
checkdepends=(python-pytest)
14
source=(https://interactivebrokers.github.io/downloads/twsapi_macunix.${pkgver/./}.zip
15
LICENSE)
16
sha256sums=('832bf9c8fbcd2d95dc278d42dd51be8dc64aae67d4c11c5f2ff0297d9ee087e3'
17
'c60f3a3fe9a6799a346fe9519b2448334d99a6f0ff3db5c9969493be75941c5d')
18
19
build() {
20
cd "$srcdir/IBJts/source/pythonclient"
21
python -m build \
22
--wheel \
23
--no-isolation \
24
--skip-dependency-check
25
}
26
27
check() {
28
cd "$srcdir/IBJts/source/pythonclient"
29
30
python -m venv --system-site-packages test-env
31
test-env/bin/python -m installer dist/*.whl
32
33
rm -r $_pyname
34
35
test-env/bin/python -m pytest -v
36
}
37
38
package() {
39
cd "$srcdir/IBJts/source/pythonclient"
40
python -m installer \
41
--destdir="$pkgdir" \
42
--compile-bytecode=2 \
43
dist/*.whl
44
45
install -Dm755 "$srcdir/LICENSE" \
46
-t "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47
}
48
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 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 |
| 2026-10-13 00:23:45 | Low | 2 |