OpenSource-Hub

pentagi

애플리케이션

vxcontrol/pentagi

복잡한 침투 테스트를 위한 자율 AI 시스템.

개요

PentAGI는 AI를 활용하여 침투 테스트 단계를 자율적으로 수행하는 혁신적인 자동화 보안 테스트 도구로, 20개 이상의 전문 보안 도구를 내장하고 있으며, 지능형 메모리 시스템, 지식 그래프 통합 및 웹 인터페이스를 갖추고, 다양한 LLM 제공업체를 지원하며, 완전히 자체 호스팅됩니다.

README 미리보기

# PentAGI\n\n\n    Penetration testing Artificial General Intelligence\n\n\n\n\n> **Join the Community!** Connect with security researchers, AI enthusiasts, and fellow ethical hackers. Get support, share insights, and stay updated with the latest PentAGI developments.\n\n[](https://discord.gg/2xrMh7qX6m)⠀[](https://t.me/+Ka9i6CNwe71hMWQy)\n\n\n\n\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Features](#features)\n- [Architecture](#architecture)\n  - [Agent Supervision](#advanced-agent-supervision)\n- [Quick Start](#quick-start)\n- [How to Use PentAGI After Login](#how-to-use-pentagi-after-login)\n- [API Access](#api-access)\n  - [LLM Provider Configuration](#custom-llm-provider-configuration)\n    - [Ollama](#ollama-provider-configuration)\n    - [OpenAI](#openai-provider-configuration)\n    - [Anthropic](#anthropic-provider-configuration)\n    - [Google AI (Gemini)](#google-ai-gemini-provider-configuration)\n    - [AWS Bedrock](#aws-bedrock-provider-configuration)\n    - [DeepSeek](#deepseek-provider-configuration)\n    - [GLM](#glm-provider-configuration)\n    - [Kimi](#kimi-provider-configuration)\n    - [Qwen](#qwen-provider-configuration)\n- [Advanced Setup](#advanced-setup)\n  - [Langfuse Integration](#langfuse-integration)\n  - [Monitoring and Observability](#monitoring-and-observability)\n  - [Knowledge Graph (Graphiti)](#knowledge-graph-integration-graphiti)\n  - [OAuth Integration](#github-and-google-oauth-integration)\n  - [Docker Image Configuration](#docker-image-configuration)\n- [Development](#development)\n- [Testing LLM Agents](#testing-llm-agents)\n- [Embedding Configuration and Testing](#embedding-configuration-and-testing)\n- [Function Testing with ftester](#function-testing-with-ftester)\n- [Building](#building)\n- [Credits](#credits)\n- [License](#license)\n\n## Overview\n\nPentAGI is an innovative tool for automated security testing that leverages cutting-edge artificial intelligence technologies. The project is designed for informati

FAQ (3)

문제 해결
Graphiti가 비활성화된 상태에서 ./installer restart를 실행할 때 발생하는 "docker-compose-graphiti.yml does not exist" 오류를 해결하는 방법은?

PentAGI를 버전 2.2.0 이상으로 업그레이드하세요. 이 버전에는 재시작 시 docker-compose-graphiti.yml과 같은 누락된 선택적 Compose 파일을 건너뛰는 업데이트된 설치 프로그램이 포함되어 있습니다. 업그레이드 후 ./installer restart를 다시 실행하세요. 이 오류는 GRAPHITI_ENABLED=false일 때 재시작 프로세스가 여전히 Graphiti 스택을 중지하려고 시도하기 때문에 설치 프로그램 빌드 v2.0.0-87ac00f에서 발생합니다.

원본 Issue #378
문제 해결
AI 에이전트가 프롬프트 인젝션을 통해 /var/run/docker.sock에 접근할 수 있는 PentAGI 컨테이너 이스케이프 취약점은 어떻게 수정해야 하나요?

샌드박스 하드닝 및 Docker 소켓 프록시 변경 사항이 포함된 PentAGI 2.2.0 이상으로 업그레이드하십시오. 그런 다음 명시적으로 필요한 경우가 아니라면 Docker-in-Docker가 비활성화되어 있는지 확인하십시오: docker-compose.yml에 DOCKER_INSIDE=false를 설정하고, /var/run/docker.sock에 대한 모든 바인드 마운트를 제거한 다음, docker compose up -d --force-recreate로 스택을 다시 생성하십시오. 샌드박스가 소켓에 액세스할 수 없는지 확인하십시오. 예: docker exec pentagi-terminal-<id> ls -l /var/run/docker.sock; "No such file or directory"가 반환되어야 합니다. DinD가 필요한 경우 호스트 소켓을 마운트하지 마십시오. DOCKER_INSIDE_HOST를 별도의 격리된 Docker 데몬을 가리키도록 설정하고, 최소 권한 API 허용 목록을 사용하여 그 앞에 인증 프록시 또는 Tecnativa/docker-socket-proxy를 배치하십시오. no-new-privileges, capability 드롭 및 기타 컨테이너 하드닝은 심층 방어에 유용하지만, 컨테이너가 호스트 Docker 소켓에 무제한으로 액세스할 수 있는 경우에는 탈출을 방지하지 못합니다.

원본 Issue #337
문제 해결
qwen2.5:14b와 같은 로컬 Ollama 모델을 사용할 때 발생하는 PentAGI 오류 "missing the OpenAI API key"를 해결하는 방법은 무엇인가요?

PentAGI 2.2.0 이상으로 업그레이드하세요. 이 프로바이더 초기화 버그는 해당 버전에서 수정되었습니다. Ollama에 더미 OPENAI_API_KEY를 사용하지 마세요. 해당 변수 이름은 올바르지 않습니다. 네이티브 OpenAI 프로바이더는 OPEN_AI_KEY를 사용하며, Ollama나 기타 OpenAI 호환 서버는 PentAGI에 문서화된 Ollama/커스텀 프로바이더 설정을 통해 구성해야 합니다. 모델 qwen2.5:14b와 컨테이너에서 접근 가능한 Ollama URL을 사용하세요. 일반적으로 Docker Desktop에서는 http://host.docker.internal:11434/v1, Linux에서는 http://<host-LAN-IP>:11434/v1 또는 host-gateway를 사용합니다. Ollama가 모든 인터페이스에서 수신 대기 중인지(OLLAMA_HOST=0.0.0.0) 확인하고 모델이 다운로드되었는지 확인하세요: ollama pull qwen2.5:14b. 그런 다음 docker compose down && docker compose pull && docker compose up -d로 재시작하고 docker compose logs -f로 로그를 확인하세요. 실제 OpenAI 프로바이더 또는 OpenAI 리버스 프록시를 사용하는 경우에만 OPEN_AI_KEY를 OPEN_AI_SERVER_URL과 함께 설정하세요.

원본 Issue #375