crucible-ai
Copyright 2024-2026 crucible-ai contributors

This product is licensed under the Apache License, Version 2.0.

---

NVIDIA garak (Apache-2.0)

Portions of this software were derived from or inspired by NVIDIA garak
(https://github.com/NVIDIA/garak), which is:

  Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES.
  Licensed under the Apache License, Version 2.0.

  Upstream commit: 213b5e1b4eaed5b24c9247c2c2da7fe7e251d9b3 (garak main, fetched 2026-05-05)

Specifically:
  - src/crucible_ai/probes/llm01_injection/promptinject/ contains native ports
    of the PromptInject Hijack probe family from garak/probes/promptinject.py,
    adapted to the crucible-ai Pydantic v2 + BaseProbe interface.
  - src/crucible_ai/adapters/garak/ provides a thin adapter shim (GarakProbeAdapter)
    that wraps garak probe classes at runtime. The adapter is licensed Apache-2.0
    and requires garak to be separately installed (pip install crucible-ai[garak]).

The full text of the Apache License, Version 2.0 is available at:
  https://www.apache.org/licenses/LICENSE-2.0

---

PromptInject framework (MIT)

Portions of the data files under src/crucible_ai/data/promptinject/ are derived
from the PromptInject project (https://github.com/agencyenterprise/PromptInject),
which is:

  Copyright (c) 2020 Agency Enterprise, LLC
  Licensed under the MIT License.

Specifically:
  - src/crucible_ai/data/promptinject/rogue_strings.json contains the
    rogue_strings dict verbatim from garak/resources/promptinject/prompt_data.py
    (itself vendored from Agency Enterprise PromptInject under MIT).
  - src/crucible_ai/data/promptinject/hijacking_attacks.json contains the
    goal_hikacking_attacks dict verbatim from the same upstream file.

These data values were published in:
  Perez, F. & Ribeiro, I. (2022). Ignore Previous Prompt: Attack Techniques For
  Language Models. NeurIPS ML Safety Workshop 2022.
  https://openreview.net/forum?id=qiaRo_7Zmug

The full text of the MIT License:

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
