Downloads · 30 days
0
apetersson/modulewarden-cve-predict
modulewarden-cve-predict is a machine learning model from apetersson. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
modulewarden-cve-predict is a ModuleWarden.com auditor fine-tune artifact for structured software supply-chain vulnerability diagnosis. Given a JSON AuditDossier for an npm package release, the model is trained to pro…
Downloads · 30 days
0
Access
Public
Updated May 31, 2026
Repo size
12.2 GB
Likes
0
Public
Click a slice to open those files.
.part-0000350 MB · 3%
From the Hugging Face model README
modulewarden-cve-predict is a ModuleWarden.com auditor fine-tune artifact for
structured software supply-chain vulnerability diagnosis. Given a JSON
AuditDossier for an npm package release, the model is trained to produce a JSON
Diagnosis with a verdict, advisory references, CVE labels, a concise issue
summary, and evidence references selected from the dossier.
This repository contains the exported training outputs and provenance bundle for the run, including the LoRA adapter archives, SFT records, checkpoints, and Leonardo job logs.
huihui-ai/Huihui-Qwen3.6-27B-abliteratedmodulewarden.diagnosis.v1 JSONModuleWarden.com uses deterministic policy gates for final allow/quarantine/block decisions. This model is intended to generate the structured, evidence-cited diagnosis layer and should not be treated as a standalone security scanner.
The adapter inherits the behavior, risks, and license constraints of the base model. Users should review the base model card before use; this adapter does not add safety alignment and is not intended for autonomous security decisions.
This run was trained on the CINECA Leonardo supercomputer.
/leonardo_scratch/large/usertrain/a08trc02boost_usr_prod, s_tra_ncctransformers==5.9.0 Qwen3.6 text-only loadingLeonardo compute nodes were run offline. The base model, code, corpora,
environment, and dependencies were staged to $SCRATCH before training.
The SFT samples were built from the ModuleWarden.com finetune-data corpus. The source workspace for this run was:
The case-sourcing pipeline starts from public software-security feeds and then normalizes them into package-version audit cases:
AuditDossier JSON objects with static evidence indexes, then paired
with target Diagnosis JSON outputs.The relevant local corpus artifacts include:
scraped-cases.npm-enriched.jsonl: GitHub advisory candidates enriched with
npm metadata.sft-records-partial.jsonl: earlier SFT record snapshot.Results/a08trc02/sft-records-diagnosis*.jsonl.part-*: the diagnosis SFT
snapshots uploaded in this repository.The corpus emphasizes npm package-version changes, CVE/advisory diffs, malicious or suspicious releases, and benign neighboring versions. Cases are intended to teach diagnosis over release diffs with explicit evidence references rather than free-form malware classification.
No benchmark-style CVE prediction or vulnerability detection score is claimed for this artifact. Validation for this exported run focused on preserving the adapter artifacts, training logs, SFT records, and provenance needed to inspect or reproduce the run.
Before operational use, evaluate the adapter on your own held-out package corpus. In particular, measure JSON schema validity, evidence-reference validity, false positives, false negatives, and precision/recall for the specific policy workflow where it will be used.
mw-diagnosis-adapter.tgz.part-*: split archive of the main diagnosis LoRA
adapter and checkpoints.rehearsal-diag-adapter.tgz.part-*: split archive of a 1-GPU rehearsal
adapter.sft-records-diagnosis.jsonl.part-*: full SFT corpus, 1,867 chat records.sft-records-diagnosis-filtered.jsonl.part-0000: filtered SFT corpus, 1,708
records.sft-records-diagnosis-rich.jsonl.part-0000: richer SFT corpus variant, 1,708
records.mw-*.out.part-0000: Leonardo job logs for setup, training, serving, and
smoke tests.vllm-logs.tgz.part-0000: vLLM log archive.REASSEMBLE.txt: original artifact reassembly note.The large archives are split into 100 MB chunks.
Restore a split artifact with:
cat X.part-* > X
For the main adapter:
cat mw-diagnosis-adapter.tgz.part-* > mw-diagnosis-adapter.tgz
tar xzf mw-diagnosis-adapter.tgz
For the rehearsal adapter:
cat rehearsal-diag-adapter.tgz.part-* > rehearsal-diag-adapter.tgz
tar xzf rehearsal-diag-adapter.tgz
The main adapter archive includes:
mw-diagnosis-adapter/adapter_model.safetensorsmw-diagnosis-adapter/adapter_config.jsoncheckpoint-81, checkpoint-162, and checkpoint-243Each SFT row follows modulewarden.sft_record.v1:
messages[0]: system instructionmessages[1]: user message containing a modulewarden.audit_dossier.v1messages[2]: assistant message containing a modulewarden.diagnosis.v1The target diagnosis JSON includes:
verdict: NO_ISSUES_FOUND or ISSUE_FOUNDevidence_refs citing only IDs present in the dossier's evidence_indexThis artifact is intended for research, inspection, and reproduction of the ModuleWarden.com auditor fine-tuning pipeline. It can be used to study schema fidelity, evidence-cited vulnerability diagnosis, and model behavior on npm release audit dossiers. Downstream tooling should validate that cited evidence IDs exist in the source dossier.
It is not intended to be used as a complete vulnerability detection system by itself. ModuleWarden.com's production design combines deterministic gates, package diff evidence, and model-generated explanations.
The SFT records are inert JSON dossiers and target JSON diagnoses. They are not package installations or executable npm corpora. Do not install or execute npm packages referenced inside the training records solely because they appear in this repository. Treat package names, tarball URLs, scripts, and metadata as untrusted security-research data.