Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
context-segmentation — 面向本地 AI Agent 中长周期任务的多智能体自动化上下文管理 | Kitploit
工具/GitHubGitHub/9xeb/context-segmentation
CTF机器学习论文与研究学习与教育AI 安全实验室与实践
GitHub9xeb/context-segmentation

context-segmentation

面向本地 AI Agent 中长周期任务的多智能体自动化上下文管理

查看仓库
1444个月前尚未审核
分享

SLM 代理的上下文分割

这是科学论文中提出的解决方案的实现:Evaluating Context Segmentation in Locally Deployable SLMs for Cybersecurity CTF Tasks

设置

确保你已安装 Python 3.12.3+ 以及 Docker engine

Python 环境

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

llama.cpp

使用 Vulkan 启动 llama.cpp

docker compose --profile vulkan up -d

或使用 Cuda

docker compose --profile cuda up -d

构建模型和容器

从 HuggingFace 下载你所需的大语言模型(LLM)的 GGUF 格式,然后构建 intercode-ctf 容器。

docker exec -it llamacpp ./llama-cli -hf unsloth/gemma-4-E2B-it-GGUF:Q4_K_M  # or any other GGUF model on HF
docker build -t intercode-ctf -f intercode/docker/ctf.Dockerfile ./intercode
docker restart llamacpp

运行基准测试

运行 N 次某种策略(plain 或 explorer)的基准测试

这会将结果累积到 $MODEL_NAME.$STRATEGY.bench 文件中

OPENAI_API_BASE=http://127.0.0.1:8080/ \
OPENAI_API_KEY=1234 \ #Mock key (we run locally)
python3 intercode_test.py \
  --model unsloth/gemma-4-E2B-it-GGUF:Q4_K_M \ #HF model
  --strategy plain \ #plain or explorer
  --count 1 #N

查看基准测试结果

jq '.' gemma-4-E2b-it-GGUF:Q4_K_M.plain.bench

备注

intercode 目录中的代码取自 princeton-nlp/intercode,并经过调整以适用于我们的设置。

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    708
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    500
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    398
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    341
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    259
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    257

探索所有工具

浏览我们的工具集合

查看所有工具 →