__init__.py
 1  # Copyright (c) 2024-2026 Tencent Zhuque Lab. All rights reserved.
 2  #
 3  # Licensed under the Apache License, Version 2.0 (the "License");
 4  # you may not use this file except in compliance with the License.
 5  # You may obtain a copy of the License at
 6  #
 7  #     http://www.apache.org/licenses/LICENSE-2.0
 8  #
 9  # Unless required by applicable law or agreed to in writing, software
10  # distributed under the License is distributed on an "AS IS" BASIS,
11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  # See the License for the specific language governing permissions and
13  # limitations under the License.
14  #
15  # Requirement: Any integration or derivative work must explicitly attribute
16  # Tencent Zhuque Lab (https://github.com/Tencent/AI-Infra-Guard) in its
17  # documentation or user interface, as detailed in the NOTICE file.
18  
19  from .base_vulnerability import BaseVulnerability
20  from .bias.bias import Bias
21  from .toxicity.toxicity import Toxicity
22  from .misinformation.misinformation import Misinformation
23  from .illegal_activity.illegal_activity import IllegalActivity
24  from .prompt_leakage.prompt_leakage import PromptLeakage
25  from .pii_leakage.pii_leakage import PIILeakage
26  from .unauthorized_access.unauthorized_access import UnauthorizedAccess
27  from .excessive_agency.excessive_agency import ExcessiveAgency
28  from .robustness.robustness import Robustness
29  from .intellectual_property.intellectual_property import IntellectualProperty
30  from .competition.competition import Competition
31  from .graphic_content.graphic_content import GraphicContent
32  from .personal_safety.personal_safety import PersonalSafety
33  from .custom.custom import CustomVulnerability
34  from .custom_prompt.custom_prompt import CustomPrompt
35  from .multi_dataset.multi_dataset import MultiDatasetVulnerability