RepositoryPython
w4-advisory

w4-advisory/plexiglass

A toolkit for detecting and protecting against vulnerabilities in Large Language Models (LLMs).

156stars
18forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: adversarial-attacks

#1 Repository of the month

1
TINIX TRENDING·Topic: deep-neural-networks

#1 Repository of the month

1
TINIX TRENDING·Topic: adversarial-machine-learning

#1 Repository of the month


Plexiglass

Quickstart | Installation | Documentation | Code of Conduct

PyPI version GitHub License PyPI - Downloads

Plexiglass is a toolkit for detecting and protecting against vulnerabilities in Large Language Models (LLMs).

It is a simple command line interface (CLI) tool which allows users to quickly test LLMs against adversarial attacks such as prompt injection, jailbreaking and more.

Plexiglass also allows security, bias and toxicity benchmarking of multiple LLMs by scraping latest adversarial prompts such as jailbreakchat.com and wiki_toxic. See more at modes.

Quickstart

Please follow this quickstart guide in the documentation.

Installation

The first experimental release is version 0.0.1.

To download the package from PyPi:

pip install --upgrade plexiglass

Modes

Plexiglass has two modes: llm-chat and llm-scan.

llm-chat allows you to converse with the LLM and measure predefined metrics, such as toxicity, from its responses. It currently supports the following metrics:

  • toxicity
  • pii_detection

llm-scan runs benchmarks using open-source datasets to identify and assess various vulnerabilities in the LLM.

Feature Request

To request new features, please submit an issue

Development Roadmap

  • implement adversarial prompt templates in llm-chat mode
  • security, bias and toxicity benchmarking with llm-scan mode
  • generate html report in llm-scan and llm-chat modes
  • standalone python module
  • production-ready API

Join us in #plexiglass on Discord.

Contributors

Code of Conduct

Read our Code of Conduct.

Made with contrib.rocks.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.9k
Dec 1, 2026
RepositoryPython
pytorch/pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

105.8k
Dec 1, 2026
Repository
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

85.1k
Nov 28, 2026
RepositoryPython
d2l-ai/d2l-zh

《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被70多个国家的500多所大学用于教学。

82.9k
Jul 30, 2024
RepositoryPython
mukul975/Anthropic-Cybersecurity-Skills

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0

37.0k
Aug 31, 2026
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

109.5k
Dec 2, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
keras-team/keras

Deep Learning for humans

64.5k
Dec 1, 2026