alt.freeweights.granite / granite-3.3-8b-security-lib
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-3.3-8b-security-lib

Date: 2026-11-15Commit: 0a5e185Signed: 2DC28CC7B26A283B ✓

Model. Safetensors weights, 2.26 GB in all. Published by ibm-granite under Apache-2.0.

granite2.26GBgranite-3.3-8b-security-libsafetensorspermissive
FactsParamsnot statedSize2.26 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-3.3-8b-security-lib
# manifest sha256 29ca54d1a3f6… · 2.26 GB · 20 files
$ fw verify ./granite-3.3-8b-security-lib ibm-granite/granite-3.3-8b-security-lib
From sourceHosted (signed)ibm-granite/granite-3.3-8b-security-libLast check: 2026-11-15 04:31 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of granite-3.3-8b-instruct.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
2.26 GB
Weights
2.26 GB (safetensors)
Parameters
not stated
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
20, each with a sha256
Publisher
ibm-granite
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Base model: ibm-granite/granite-3.3-8b-instruct

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:31 UTCpassed

Model card

From the publisher at commit 0a5e185. Shown as plain text with links; images open at the publisher.

Granite 3.3 Security Library#

The LLM Intrinsics Security Library includes six intrinsics implemented as LoRA adapters for ibm-granite/granite-3.3-8b-instruct, each of which expects a conversation between a user and an AI assistant as input. Each intrinsic has been developed for a specific task that is likely to be useful for LLM security, privacy or robustness. We give a brief overview of the functionality of each intrinsic, as the details can be found in each individual intrinsic readme.

Intrinsics implemented as LoRA adapters#

The six intrinsics that have been implemented as LoRA adapters for ibm-granite/granite-3.3-8b-instruct and made available in this HF repository are:

Adversarial Scoping: This experimental LoRA module is designed to constrain the model to a specific task (summarization), while maintaining safety with respect to harmful prompts. The model was trained to perform summarization tasks using datasets such as CNN/Daily Mail, Amazon food reviews, and abstract summarization corpora. In parallel, the LoRA was also trained to reject harmful requests. As a result, the model, although scoped to summarization, is expected to refuse to summarize content that is harmful or inappropriate, thereby preserving alignment and safety within its operational boundaries.

Function Calling Scanner: This LoRA intrinsic is finetuned for detecting incorrect function calls from an LLM agent. Given a user prompt, tool options, and underlying model response, this intrinsic acts as a safeguard blocking LLM agent tool errors. These errors can be from simple LLM mistakes, or due to tool hijacking from jailbreak and prompt injection attacks.

Jailbreak Detector: This is an experimental LoRA designed for detecting jailbreak and prompt injection risks in user inputs. Jailbreaks attempt to bypass safeguards in AI systems for malicious purposes, using a variety of attack techniques. This model helps filter such prompts to protect against adversarial threats. In particular, it focuses on social engineering based manipulation like role-playing or use of hypothetical scenarios.

PII Detector: This is an experimental LoRA that is designed for detecting PII in model outputs. Models with access to personal information via RAG or similar may present additional data protection risks that can be mitigated by using this LoRA to check model outputs.

RAG Data Leakage: This experimental safeguard is designed to detect and mitigate the risk of sensitive data leakage from RAG documents into model outputs. RAG systems enhance AI responses by retrieving relevant documents from external databases, but this introduces the potential for unintended disclosure of private, proprietary, or sensitive information. This model monitors generated responses to prevent such leaks, especially in scenarios where retrieved content may be sensitive or confidential.

System Prompt Leakage: This is an experimental LoRA-based model designed to detect risks of system prompt leakage in user inputs. System prompt leakage occurs when adversaries attempt to extract or infer hidden instructions or configurations that guide AI behavior. This model helps identify and filter such attempts, enhancing the security and integrity of AI systems. It is particularly focused on detecting subtle probing techniques, indirect questioning, and prompt engineering strategies that aim to reveal internal system behavior or constraints.

Quickstart Example#

To invoke the LoRA adapters, you can follow the following process.

  1. Select the LoRA adapter that you want to experiment with from here.
  2. Download the LoRA adapter to a local directory. Following example shows how to download the "granite-3.3-8b-instruct-lora-jailbreak-detector" intrinsic to the local directory intrinsics/jailbreak_detection
from huggingface_hub import HfApi, hf_hub_download
import os
from tqdm import tqdm

def download_intrinsic(
    repo_id: str,
    intrinsic: str,
    local_dir: str,
    token: str = None,
):
    api = HfApi(token=token)
    files = api.list_repo_files(repo_id=repo_id, token=token)

    # Keep only files under your desired subfolder
    files = [f for f in files if f.startswith(intrinsic.rstrip("/") + "/")]

    os.makedirs(local_dir, exist_ok=True)

    for file_path in tqdm(files, desc="Downloading files"):
        rel_path = os.path.relpath(file_path, intrinsic)
        dest_path = os.path.join(local_dir, rel_path)
        os.makedirs(os.path.dirname(dest_path), exist_ok=True)

        hf_hub_download(
            repo_id=repo_id,
            filename=file_path,
            local_dir=local_dir,
            token=token,
        )


download_intrinsic(
    repo_id="ibm-granite/granite-3.3-8b-security-lib",
    intrinsic="granite-3.3-8b-instruct-lora-jailbreak-detector",
    local_dir="intrinsics",
    token="YOUR_HF_TOKEN",  # omit if not needed
)
  1. Load the LoRA adapter from the downloaded local directory and run the intrinsic model. Each intrinsic contains a README file inside the LoRA adapter directory which explains how to run the model. Here is an example.

Files

20 files · 2.26 GBWeights 2.26 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 20 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md5.48 KB35576e7283737d3c258ecea220e8234d8a13bee6c388426153ab56acfff0f447
granite-3.3-8b-instruct-lora-adv-scoping/README.md11.6 KBef1c9c6708938dc9664c21d8637df5bff8114ec54a22ed8eabce3aead2b62ed0
granite-3.3-8b-instruct-lora-adv-scoping/adapter_config.json1.12 KBfbaa6e2f22ec89da564338862a243ee63a72bcee7867c0b9321a7d329bb2ad8a
granite-3.3-8b-instruct-lora-adv-scoping/adapter_model.safetensors163 MB80ee2cf3a2d6aa9a0af677585c9604e2ed1a52a1d36c173a03a5860de2001917
granite-3.3-8b-instruct-lora-function-calling-scanner/README.md4.70 KB82b3b99c56430569c784fbdad68a0717dd1792ec338568d9c2073234a1ef1005
granite-3.3-8b-instruct-lora-function-calling-scanner/adapter_config.json884 Bf4e6ab9f7b4f4eda12f1305d734b9160c59d8fe8692f06446b47ac87a696e64b
granite-3.3-8b-instruct-lora-function-calling-scanner/adapter_model.safetensors94.4 MB5eff6d002ca79c6e72366fd4b8fb41ebc1cd7e5cbe0d1901e8ef0d9c7545ada2
granite-3.3-8b-instruct-lora-jailbreak-detector/README.md5.03 KB7da6640d041c4241159616f0ee44d911d63a139c9fb894d3205724b89859ca9a
granite-3.3-8b-instruct-lora-jailbreak-detector/adapter_config.json746 B304cd2a74957b482f861a4902cedc5a86fdfe204a4e5b84914f498d43c0bf373
granite-3.3-8b-instruct-lora-jailbreak-detector/adapter_model.safetensors94.4 MB22ccd1aaeb25700d132babd596beec439ca0230adeddcf02272c29fa81fb9965
granite-3.3-8b-instruct-lora-pii-detector/README.md3.77 KB66dfe4792e8eff6fcb8a4fbf2a31841314a59063d389f88a1c676f9f32ff70c0
granite-3.3-8b-instruct-lora-pii-detector/adapter_config.json805 B1a143c42ac5d04d48d870a5d42db0422f38fdd6a0d1fd9565922ed793e20beb8
granite-3.3-8b-instruct-lora-pii-detector/adapter_model.safetensors94.4 MB93434fdda62784f44e2f6516ec9371883d56c4a3af8d411ab87d50a3042cc7a5
granite-3.3-8b-instruct-lora-rag-data-leakage/README.md5.59 KB0ba2bcfe862770c4cb52eca43aa6b030c831a969ee100835c34e68b409872ac2
granite-3.3-8b-instruct-lora-rag-data-leakage/adapter_config.json932 B2e7f79d36619303882c83997ff497c26948cc1ae6f4f539d99df12c142838258
granite-3.3-8b-instruct-lora-rag-data-leakage/adapter_model.safetensors604 MB6b2228a1bd92a4b8b350d82f6b297d89891eefc168adae902a10d174a2b0daf4
granite-3.3-8b-instruct-lora-system-prompt-leakage/README.md5.68 KB387aebe46f424d1fbcdb1359e53a428d5e0224a78ed17a3cbe63291443fd1c84
granite-3.3-8b-instruct-lora-system-prompt-leakage/adapter_config.json882 Ba462688f300b571c98ff152e45239c84b9ba2030241b2ce53220d6f63cb90f37
granite-3.3-8b-instruct-lora-system-prompt-leakage/adapter_model.safetensors1.21 GB2757236ba872b3b5a82dbf70c254e021dd61d4c346748fb7dfeb16215bbc9ffa
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
0a5e185f01 pinned now2026-11-15 04:31 UTC20 files · 2.26 GB

Use it

$ fw get ibm-granite/granite-3.3-8b-security-lib
# manifest sha256 29ca54d1a3f6… · 2.26 GB · 20 files
$ fw verify ./granite-3.3-8b-security-lib ibm-granite/granite-3.3-8b-security-lib
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granite-3.3-8b-security-lib.json --dir ./granite-3.3-8b-security-lib $ python3 fw.py verify ./granite-3.3-8b-security-lib ./ibm-granite__granite-3.3-8b-security-lib.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.3-8b-security-lib --revision 0a5e185f019bbda2942c5e5e53a5a5a446321466 --local-dir ./granite-3.3-8b-security-lib

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
35576e7283737d3c258ecea220e8234d8a13bee6c388426153ab56acfff0f447
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granite-3.3-8b-security-libDate: 2026-11-15Commit: 0a5e185Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-3.3-8b-security-lib
Pinned commit
0a5e185f019bbda2942c5e5e53a5a5a446321466
Manifest
granite-3.3-8b-security-lib.json · .minisig
Manifest sha256
29ca54d1a3f62ba685333fd0065f8ae417f7aa350df6cee0f397c58f0a7350a4
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:31 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.3-8b-security-lib.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.3-8b-security-lib.json.minisig $ minisign -Vm granite-3.3-8b-security-lib.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

ibm-granite/granite-3.3-8b-instruct · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.3-8b-security-lib
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-3.3-8b-security-lib.json. Provenance. Takedown history: none.
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3