mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
fix: resolve high-severity dependency and code scanning alerts
Upgrade SQLite to 1.1.5 so tar resolves safely without an override. Update vulnerable dependencies while retaining scoped compatibility overrides and the CommonJS decoder patch required by Umi's query-string consumers. Limit sensitive endpoints, constrain script file operations to checked paths, and serialize Python environment values safely. Add compatibility regressions and include the decoder patch in Docker and npm installation inputs.
This commit is contained in:
1 parent
0902bc074d
commit
b6bdba9a8d
13 files changed
+1064
-746
No files matched your search
@@ -8,6 +8,7 @@ RUN apt-get update && \
|
||||
|
||||
FROM python:3.11.14-slim-bookworm AS builder
|
||||
COPY package.json .npmrc pnpm-lock.yaml /tmp/build/
|
||||
COPY patches/ /tmp/build/patches/
|
||||
COPY --from=nodebuilder /usr/local/bin/node /usr/local/bin/
|
||||
COPY --from=nodebuilder /usr/local/lib/node_modules/. /usr/local/lib/node_modules/
|
||||
RUN set -x && \
|
||||
|
||||
Reference in new issue
Block a user