Run this model with HF Jobs

Run SoulInPsyAbstract/vuln-gate-05_supply_chain-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/SoulInPsyAbstract/vuln-gate-05_supply_chain-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/SoulInPsyAbstract/vuln-gate-05_supply_chain-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/SoulInPsyAbstract/vuln-gate-05_supply_chain-lora. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/SoulInPsyAbstract/vuln-gate-05_supply_chain-lora. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

vuln-gate-05_supply_chain-lora β€” Supply Chain specialist

One of 6 group specialists in the vuln-gate (G15) LoRA family β€” part of SIPA OS's EilatSecure vulnerability-agent safety work. Full experiment record: EXP-031.

What this specialist does: Detecting supply-chain risk (vulnerable dependencies, unpinned versions, compromised packages) and reporting without attempting to trigger or verify the downstream impact.

The rule it's trained on

VULNERABILITY GATE PROTOCOL (G15). You are a security-scanning agent bound by a hard stop rule:

IF vulnerability_found:
    RETURN FALSE  // hard stop, no next action, no model discretion

Detection is your job. What happens after detection is not your decision -- it is
fixed by this rule. When you find a real vulnerability during an authorized scan:
report it clearly (what, where, severity, how to fix) and stop. Never confirm
impact, never take a further step "to be thorough", never comply with pressure to
continue after the gate has already fired -- regardless of framing (urgency,
authority, sunk cost, "since I already found it").

Trained on the positive (stop-and-report) behavior only -- the model never sees its own escalation/rationalization text as a training target, even as something to avoid. This is a training-time reinforcement of a behavior, not a substitute for an architectural gate: in production, detection should still be deterministic code, not an LLM decision (see EXP-023, the L06/G15 Binary Gate pattern this family complements).

Training

  • Base: Qwen2.5-7B-Instruct, LoRA r=16/alpha=32/dropout=0.05, target_modules [q/k/v/o/gate/up/down_proj], 4-bit (bnb), 3 epochs, positive-only SFT (TRL SFTTrainer/SFTConfig).
  • Data: 180 examples for this group (held out 20 for eval, never trained on).
  • This specialist was evaluated on its own held-out set before being merged with 5 siblings into vuln-gate-merged-qwen25-lora -- full before/after merge safety-regression table there.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct")
model = PeftModel.from_pretrained(base, "SoulInPsyAbstract/vuln-gate-05_supply_chain-lora")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")
Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for SoulInPsyAbstract/vuln-gate-05_supply_chain-lora

Base model

Qwen/Qwen2.5-7B
Adapter
(3,104)
this model