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.3.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.3.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_packs_secgpt-0.3.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0

File hashes

Hashes for llama_index_packs_secgpt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 faa353da790b70ce2cb213298f54ac08e1a76c9591385bf9e0deb892c5f6855d
MD5 d83e725c43aadff1deda259df067734d
BLAKE2b-256 35ed8bc302108a2605db8681d01df037fc935e705c429428502674cb82239f31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_packs_secgpt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8460c451a214b0e7abf97ba3c1f2216c710036a14683bec5978bb43abcdf2a2
MD5 4df7ab97008ece2e9c92c5f648940169
BLAKE2b-256 9c358aa61470dc73656cde0cfdca115b6e423e805f1ae6993a72aa764ee21331

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