Skip to main content

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.

Architecture

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

llama_index_packs_secgpt-0.2.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_packs_secgpt-0.2.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_packs_secgpt-0.2.0.tar.gz.

File metadata

  • Download URL: llama_index_packs_secgpt-0.2.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.6.0

File hashes

Hashes for llama_index_packs_secgpt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c10dac2ae2931d6bbff4c4e68e41c52ecf6a6db8afceed37f4fa80af9624cbb5
MD5 17f6aa1011cadd2bac9d68bae7e7c9d5
BLAKE2b-256 b54f60c43c5bd10d687b0a4cf47f906ab77c2e7ae004d5c94ba60086a8b960cf

See more details on using hashes here.

File details

Details for the file llama_index_packs_secgpt-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_packs_secgpt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d69391a9b6202875d5b5c08b0c10927b93d3e84e6c52a0bc54a3e72724e5fcff
MD5 2db808efa3e99baac0494c5b954f4d3c
BLAKE2b-256 8bcac01e38cd2b2e84300d406e0c90cd0cf65efaf236037b056b2f6d2270d966

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page