Run this model with HF Jobs

Run SoulInPsyAbstract/vuln-gate-02_access_control-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-02_access_control-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-02_access_control-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-02_access_control-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-02_access_control-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-02_access_control-lora β€” Access Control 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 broken access control (missing auth checks, IDOR, privilege escalation paths) and reporting without attempting to exploit the gap to confirm severity.

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-02_access_control-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-02_access_control-lora

Base model

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