
このリポジトリには、自動化されたペネトレーションテストのタスクに使用できるツールが含まれています。
注意:
python3 -m venv myenv、source myenv/bin/activate)git clone <repo_url>cd AutoPentesterpip3 install -r requirements.txtpip3 install -e .export OPENAI_API_KEY="<your key here>"でAPIキーをエクスポートしますexport OPENAI_BASE_URL="https://your-host/v1"でAPIエンドポイントを上書きしますexport ANTHROPIC_API_KEY="<your key here>"でAPIキーをエクスポートしますexport GEMINI_API_KEY="<your key here>"またはexport GOOGLE_API_KEY="<your key here>"でAPIキーをエクスポートしますpentestgpt/config/agent_config.pyでエージェントごとに選択されますpentestgpt/config/agent_config.pyでエージェントのモデルを設定しますopenai、anthropic、gemini、azure、gpt4all、titan、ragです。autopentester --logginと入力しますデモ動画は以下のリンクからご覧ください。
処理済みのログファイルはprocessed_log_filesディレクトリにあります。 定量的な結果はこれらのログファイルに基づいて計算されました。
アンケートの分析はSurvey_analysisディレクトリにあります。 analysis.pyを実行してグラフをプロットします。
本作品を学術目的で使用する場合は、当社の論文を引用してください。
@inproceedings{ginige2025autopentester,
title={Autopentester: An llm agent-based framework for automated pentesting},
author={Ginige, Yasod and Niroshan, Akila and Jain, Sajal and Seneviratne, Suranga},
booktitle={2025 IEEE 24th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom)},
pages={163--174},
year={2025},
organization={IEEE}
}