Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
context-segmentation — Gerenciamento de contexto automatizado multiagente para tarefas de longo horizonte em Agentes de IA locais | Kitploit
Ferramentas/GitHubGitHub/9xeb/context-segmentation
CTFAprendizado de MáquinaPapers e PesquisaAprendizado e EducaçãoSegurança de IALabs e Prática
GitHub9xeb/context-segmentation

context-segmentation

Gerenciamento de contexto automatizado multiagente para tarefas de longo horizonte em Agentes de IA locais

Ver Repositório
1há 2 mesesAinda não revisado

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar

Segmentação de Contexto para Agentes SLM

Esta é a implementação da solução proposta no artigo científico: Evaluating Context Segmentation in Locally Deployable SLMs for Cybersecurity CTF Tasks

Configuração

Certifique-se de ter o Python 3.12.3+ instalado juntamente com o Docker engine

Ambiente Python

root@kitploit:~
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

llama.cpp

Inicie o llama.cpp com Vulkan

root@kitploit:~
docker compose --profile vulkan up -d

ou com Cuda

root@kitploit:~
docker compose --profile cuda up -d

Compilar Modelos e Contentores

Descarregue o Large Language Model (LLM) pretendido em formato GGUF do HuggingFace, depois compile os contentores intercode-ctf.

root@kitploit:~
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

Executar benchmark

Execute N benchmarks de uma estratégia (plain ou explorer)

Isto acumula resultados num ficheiro $MODEL_NAME.$STRATEGY.bench

root@kitploit:~
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

Verifique os resultados do benchmark

root@kitploit:~
jq '.' gemma-4-E2b-it-GGUF:Q4_K_M.plain.bench

Observações

O código no diretório intercode foi retirado de princeton-nlp/intercode e ajustado para funcionar com a nossa configuração.

Baixar ferramenta