fix: CVE caused by h11 python lib (#449)

This commit is contained in:
N3ko
2025-08-04 16:37:24 +08:00
committed by GitHub
parent 3fe4031531
commit f78d297311
3 changed files with 4 additions and 22 deletions

View File

@@ -108,8 +108,8 @@ var pythonBuiltinBlacklist = map[string]struct{}{
// If you want to use other third-party libraries, you can add them to this whitelist.
// And you also need to install them in `/scripts/setup/python.sh` and `/backend/Dockerfile` via `pip install`.
var pythonThirdPartyWhitelist = map[string]struct{}{
"requests_async": {},
"numpy": {},
"httpx": {},
"numpy": {},
}
type Config struct {