主 题:[安全脚本]近期各种漏洞的Linux一键安全体检脚本(20261022)
发 布 者:Flanker
标签分类: 日常
时 间:2026-10-22 11:51:02
内容预览:nano stack_cve_audit_v2.shchmod +x stack_cve_audit_v2.shsudo ./stack_cve_audit_v2.sh仅供参考吧 !/usr/bin/env bash Stack CVE Audit v2: read-only, Python stdlib only, 2026-10-22 verified baselineset -euo pipefailumask 077if ! command -v python3 %26gt%3b/dev/null 2%26gt%3b%261; then echo '需要系统 python3 (%26gt%3b=3.8),不会自动安装软件。' %26gt%3b%262 exit 2fi -I and -S deliberately prevent PYTHONPATH, user site and .pth/sitecustomize execution.exec python3 -I -S - "$@" %26lt%3b%26lt%3b'PY'import os, sys, re, json, time, pathlib, argparse, platform, subprocess, collectionsimport urllib.requestimport xml.etree.ElementTree as ETfrom datetime import datetime, timezoneBASELINE = '2026-10-22 / v2 TLS+PKI' BAD_LITELLM_DIGEST = 'sha256:1bbcb1443bc962e45f5aad53fe3d2c30600e0379715fb6c664cdd3ac126c339e'REFERENCES = { 'litellm':'https://docs.litellm.ai/blog/sec
直达链接: https://www.nodeseek.com/post-1000828-1
发 布 者:Flanker
标签分类: 日常
时 间:2026-10-22 11:51:02
内容预览:nano stack_cve_audit_v2.shchmod +x stack_cve_audit_v2.shsudo ./stack_cve_audit_v2.sh仅供参考吧 !/usr/bin/env bash Stack CVE Audit v2: read-only, Python stdlib only, 2026-10-22 verified baselineset -euo pipefailumask 077if ! command -v python3 %26gt%3b/dev/null 2%26gt%3b%261; then echo '需要系统 python3 (%26gt%3b=3.8),不会自动安装软件。' %26gt%3b%262 exit 2fi -I and -S deliberately prevent PYTHONPATH, user site and .pth/sitecustomize execution.exec python3 -I -S - "$@" %26lt%3b%26lt%3b'PY'import os, sys, re, json, time, pathlib, argparse, platform, subprocess, collectionsimport urllib.requestimport xml.etree.ElementTree as ETfrom datetime import datetime, timezoneBASELINE = '2026-10-22 / v2 TLS+PKI' BAD_LITELLM_DIGEST = 'sha256:1bbcb1443bc962e45f5aad53fe3d2c30600e0379715fb6c664cdd3ac126c339e'REFERENCES = { 'litellm':'https://docs.litellm.ai/blog/sec
直达链接: https://www.nodeseek.com/post-1000828-1