awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
llm-attacks avatar

llm-attacks/llm-attacks

0
View on GitHub↗
4,509 stars·602 forks·Python·mit·20 viewsllm-attacks.org↗

Llm Attacks

This repository provides tools and methodologies for studying adversarial attacks on large language models. It focuses on understanding how carefully crafted inputs can manipulate or bypass the safety mechanisms of LLMs, enabling researchers to probe model vulnerabilities and improve their robustness. The project covers techniques for generating adversarial prompts, evaluating model responses under attack conditions, and analyzing the effectiveness of different attack strategies.

Features

  • Adversarial Input Generation - Generates gradient-based adversarial inputs to stress-test AI model safety alignments.
  • Model Experiment Execution - Implements a system for running harmful prompts across multiple models to compare safety robustness.
  • LLM Evaluation Frameworks - Provides a testing environment to quantify how often harmful prompts bypass safety filters.
  • Adversarial Robustness Testing - Quantifies the success rate of jailbreak attacks through batch experiments to evaluate model stability.
  • Model Benchmarking Suites - Runs batch experiments across multiple harmful behaviors to measure model vulnerability to attacks.
  • Model Red-Teaming - Implements automated adversarial testing to detect safety failures and bypass safety filters in LLMs.
  • Adversarial Suffix Optimization - Uses coordinate gradient descent to iteratively refine token sequences that maximize adversarial response probability.
  • Safety and Alignment Frameworks - Provides a framework for identifying alignment failures to ensure models do not generate harmful content.
  • Adversarial Attacks - Provides a comprehensive toolkit for generating gradient-based adversarial prompts to evaluate model robustness.
  • Discrete Token Search - Searches the model vocabulary for replacement tokens that align with calculated gradient vectors.
  • Gradient-Based Jailbreak Generators - Automatically optimizes string sequences using model gradients to trigger restricted responses from language models.
  • Adversarial Suffix Generation - Generates specific string sequences to append to queries that bypass safety filters.
  • Transferability Testing - Validates if adversarial suffixes created on open-source models can bypass filters on closed-source models.
  • Evaluation Benchmarks - Universal and transferable adversarial attacks on aligned models.
  • White Box Attacks - Provides universal and transferable adversarial attacks on aligned models.

Star history

Star history chart for llm-attacks/llm-attacksStar history chart for llm-attacks/llm-attacks

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Llm Attacks

Similar open-source projects, ranked by how many features they share with Llm Attacks.
  • giskard-ai/giskardGiskard-AI avatar

    Giskard-AI/giskard

    5,434View on GitHub↗

    Giskard is an evaluation framework, testing library, and quality monitoring system for large language models and AI agents. It serves as a toolkit for quantifying model performance and reliability, providing specialized capabilities for validating retrieval-augmented generation pipelines. The project distinguishes itself through an automated red teaming tool and security scanner designed to identify vulnerabilities, prompt injections, and safety risks. It utilizes adversarial probing and synthetic edge case generation to quantify model robustness and detect information disclosure. The platfo

    Python
    View on GitHub↗5,434
  • internlm/opencompassInternLM avatar

    InternLM/opencompass

    7,096View on GitHub↗

    OpenCompass is a comprehensive evaluation platform, benchmarking suite, and distributed model evaluator designed to measure the performance and accuracy of large language models. It provides a framework for benchmarking both open-source and API-based models against diverse datasets using standardized metrics and reproducible pipelines. The project features an automated judging framework that uses language models as judges to score and verify the quality of generated text. It includes a performance leaderboard system for comparing the relative capabilities of various models across industry-sta

    Python
    View on GitHub↗7,096
  • evolvinglmms-lab/lmms-evalEvolvingLMMs-Lab avatar

    EvolvingLMMs-Lab/lmms-eval

    3,701View on GitHub↗

    lmms-eval is a benchmarking system and performance analysis suite designed to measure the capabilities of large multimodal models. It provides a framework for evaluating models across text, image, audio, and video datasets, serving as a multimodal dataset orchestrator and benchmarking tool to quantify accuracy and efficiency. The project distinguishes itself through a unified multimodal message protocol that structures diverse media inputs for consistent model consumption. It features specialized benchmarking for audio, video, visual, document, and spatial reasoning, alongside tools for model

    Pythonagiaudio-evaluationbenchmark
    View on GitHub↗3,701
  • arize-ai/phoenixArize-ai avatar

    Arize-ai/phoenix

    8,605View on GitHub↗

    Arize Phoenix is an LLM observability platform and evaluation framework designed to capture execution traces and monitor large language model applications. It serves as a prompt management system for versioning and testing templates, and as a self-hosted AI operations infrastructure for managing telemetry and experiments. The platform differentiates itself through a specialized embedding visualization tool used to detect data drift and optimize vector search. It provides a comprehensive evaluation suite that utilizes judge-based evaluators and ground-truth datasets to score model outputs, and

    Jupyter Notebookagentsai-monitoringai-observability
    View on GitHub↗8,605
See all 30 alternatives to Llm Attacks→

Frequently asked questions

What does llm-attacks/llm-attacks do?

This repository provides tools and methodologies for studying adversarial attacks on large language models. It focuses on understanding how carefully crafted inputs can manipulate or bypass the safety mechanisms of LLMs, enabling researchers to probe model vulnerabilities and improve their robustness. The project covers techniques for generating adversarial prompts, evaluating model responses under attack conditions, and analyzing the effectiveness of different attack…

What are the main features of llm-attacks/llm-attacks?

The main features of llm-attacks/llm-attacks are: Adversarial Input Generation, Model Experiment Execution, LLM Evaluation Frameworks, Adversarial Robustness Testing, Model Benchmarking Suites, Model Red-Teaming, Adversarial Suffix Optimization, Safety and Alignment Frameworks.

What are some open-source alternatives to llm-attacks/llm-attacks?

Open-source alternatives to llm-attacks/llm-attacks include: giskard-ai/giskard — Giskard is an evaluation framework, testing library, and quality monitoring system for large language models and AI… internlm/opencompass — OpenCompass is a comprehensive evaluation platform, benchmarking suite, and distributed model evaluator designed to… azure/pyrit — PyRIT is an AI vulnerability assessment tool and security scanner designed to detect risks in large language model… evolvinglmms-lab/lmms-eval — lmms-eval is a benchmarking system and performance analysis suite designed to measure the capabilities of large… arize-ai/phoenix — Arize Phoenix is an LLM observability platform and evaluation framework designed to capture execution traces and… open-compass/opencompass — OpenCompass is an open-source framework for standardized benchmarking of large language models. It provides a…