llama-index packs - secgpt pack
Project description
SecGPT Pack
SecGPT is an LLM-based system that secures the execution of LLM apps via isolation. The key idea behind SecGPT is to isolate the execution of apps and to allow interaction between apps and the system only through well-defined interfaces with user permission. SecGPT can defend against multiple types of attacks, including app compromise, data stealing, inadvertent data exposure, and uncontrolled system alteration. The architecture of SecGPT is shown in the figure below. Learn more about SecGPT in our paper.
We develop SecGPT using LlamaIndex, an open-source LLM framework. We use LlamaIndex because it supports several LLMs and apps and can be easily extended to include additional LLMs and apps. We implement SecGPT as a personal assistant chatbot, which the users can communicate with using text messages.
A comprehensive notebook guide is available here. In the meantime, you can explore its features by comparing the execution flows of SecGPT and VanillaGPT (a non-isolated LLM-based system defined here) in response to the same query.
SecGPT original GitHub repository link: https://github.com/llm-platform-security/SecGPT
If you build on this work, considering citing our paper:
Citation
@article{wu2024secgpt,
title={{SecGPT: An Execution Isolation Architecture for LLM-Based Systems}},
author={Wu, Yuhao and Roesner, Franziska and Kohno, Tadayoshi and Zhang, Ning and Iqbal, Umar},
journal={arXiv preprint arXiv:2403.04960},
year={2024},
}
Contribution and Support
We welcome contributions to the project, e.g., through pull requests to the original GitHub repo. Please also feel free to reach out to us if you have questions about the project and if you would like to contribute.
Research Team
Yuhao Wu (Washington University in St. Louis) Franziska Roesner (University of Washington) Tadayoshi Kohno (University of Washington) Ning Zhang (Washington University in St. Louis) Umar Iqbal (Washington University in St. Louis)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_packs_secgpt-0.3.1.tar.gz.
File metadata
- Download URL: llama_index_packs_secgpt-0.3.1.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f904d8a244102b2fe643d9332c7568c9d7b790853c188079debff99d1ad257e
|
|
| MD5 |
29c1bb78240aaa317807fdc6deef4d8d
|
|
| BLAKE2b-256 |
40362b9ddb9b474e011dcf155c3a9bd322c32b391f4e574d1ded2202bafd5c17
|
File details
Details for the file llama_index_packs_secgpt-0.3.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_packs_secgpt-0.3.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
478592c55131af92258d98bd35a4c093c51cbeb9481d0c2fec9649f8cf8227ed
|
|
| MD5 |
4fde743b6fe1b337183ea38e5d950127
|
|
| BLAKE2b-256 |
1d2318dac3e15ae1bcfa9d71cb8d298e11125760a4adc9800439d9dd43f1c277
|