Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sidik-ml

Latest version: v0.5.9

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: radityobw
0 Stars
0 Forks
7 Versions
349 Downloads
Python Repo language

Scan summary

sidik-ml was last scanned on 25 Nov 2026 at version 0.5.9. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 5 were published within 2 days (24 and 25 Nov 2026).
  • Findings: No rules fired in version 0.5.9.
  • Downloads: 349 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.9 LATEST 25 Nov 2026 No rules fired
0.5.8 25 Nov 2026 No rules fired
0.5.7 24 Nov 2026 No rules fired
0.5.6 24 Nov 2026 Not shown
0.5.5 24 Nov 2026 Not shown

No rules fired in 0.5.9

Findings

Findings for v0.5.9. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.5.9; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

SIDIK-ML: Explainable Non-Neural ML Extension

Ekstensi Machine Learning Klasik Non-Neural Terjelaskan untuk Reduksi False Positive Deteksi Hardcoded Secret SIDIK\ Explainable Classical Non-ANN Machine Learning Extension for False Positive Reduction in SIDIK Static Secret Detection

Python 3.9+ PyPI Version GitHub Release CI Status Paradigm Non-ANN Only License: MIT


🇮🇩 Bahasa Indonesia

📌 Ikhtisar Proyek & Filosofi Desain

SIDIK-ML adalah paket perangkat lunak Python independen yang memperluas kemampuan pemindai deterministik SIDIK (>=v1.3.4; dukungan penuh polyglot + 8 ekosistem mulai SIDIK >=v1.4.0) dengan lapisan penyaringan false positive berbasis klasifikasi klasik Non-Artificial Neural Network (Non-ANN) yang terjelaskan.

Alih-alih mengganti mesin aturan deterministik SIDIK atau menyisipkan model deep neural network berbobot ratusan megabita, SIDIK-ML bekerja sebagai plugin opsional melalui kontrak data aman SecretCandidate (schema_version = "1.0.0") dan entry point standar sidik.plugins. Ketika dijalankan melalui sidik-ml gui, sidik-ml interactive, maupun --enable-ml, antarmuka menampilkan tema khusus Amber Orange (#f59e0b / #ea580c) lengkap dengan lencana NON-ANN ML, prompt sidik-ml>, serta dasbor HTML bernuansa kuning-oranye agar langsung terbedakan dari mode deterministik standar Ocean Blue (#3b82f6) milik SIDIK.


✨ Fitur dan Kapabilitas Utama

  1. Lima Model Klasik Non-ANN dengan Penjaga Penolak Arsitektur Neural:
    • Mendukung eksklusif Logistic Regression, Decision Tree, Random Forest, Extra Trees, dan Gradient Boosting via create_non_ann_model().
    • Fungsi validate_non_ann_model_name() secara eksplisit menolak model neural (ann, mlp, cnn, rnn, lstm, transformer, codebert) demi menjamin transparansi keputusan dan bobot ringan.
  2. Rekayasa 30 Fitur Statis Bebas Target Leakage (FEATURE_SCHEMA_VERSION = "1.0.0"):
    • Mengekstrak tujuh dimensi fitur murni dari konteks pemindaian (string_stats, entropy, pattern_evidence, lexical_context, code_context, file_context, serta deterministic_signal) tanpa pernah menyimpan nilai kredensial mentah (hanya masked_value dan value_sha256).
  3. Validasi Silang Anti-Kebocoran Data (Zero Data Leakage):
    • Menyediakan deduplicate_records(), resolve_cross_repo_value_duplicates() berbasis SHA-256, stratified_repository_split() (StratifiedGroupKFold), serta assert_no_leakage() yang memastikan nol tumpang-tindih repo_id maupun value_sha256 antara himpunan latih dan uji.
  4. Kebijakan Triage Hibrida Fail-Safe (TriagePolicy):
    • Secara default beroperasi pada mode konsultatif (suppress_false_positives=False) sehingga seluruh temuan deterministik SIDIK tetap ditampilkan bersama probabilitas rahasia dan kontribusi fitur pendorongnya (explain_single_candidate()).
    • Saat supresi diaktifkan, never_suppress_severities=("CRITICAL",) melindungi temuan kritis agar tidak pernah dibungkam diam-diam oleh model ML.
  5. Integrasi Penuh Plugin (sidik.plugins) & Thin Launcher TUI/GUI/Polyglot SAST + 8-Ekosistem SCA:
    • Terdaftar ke grup sidik.plugins melalui plugin.py, sehingga perintah sidik-ml interactive, sidik-ml gui, dan sidik-ml-gui membuka antarmuka TUI serta Desktop GUI SIDIK dengan kontrol ML Triage aktif.
    • Saat dipasangkan dengan SIDIK >=v1.4.0, sidik-ml scan otomatis mendukung pemindaian polyglot (30+ ekstensi bahasa/konfigurasi seperti .py, .js, .ts, .go, .rs, .java, .php, .rb, .cs, .env, Dockerfile) serta SCA OSV offline lintas 8 ekosistem (PyPI, npm, Go, crates.io, Maven, Packagist, RubyGems, NuGet; 19 format manifest/lockfile), lengkap dengan paritas CI/CD (--fail-on, --severity, --mode, --baseline, --sarif-output), --include-deps, update-db, db-info, fetch-model, dan 8 format laporan (console, compact, sarif, github, html, markdown, json, csv).
  6. Lima Model Bawaan Siap Pakai (Out-of-the-Box) & Serialisasi Terverifikasi SHA-256 (portable JSON & skops):
    • Menyertakan seluruh 5 model Non-ANN terbundel berformat portable JSON terverifikasi SHA-256 (gradient_boosting sebagai bawaan ~46 KB, random_forest ~172 KB, extra_trees ~338 KB, logistic_regression ~2,4 KB, dan decision_tree ~2,2 KB, terlatih pada korpus terbuka Apache-2.0 Samsung/CredData) tanpa version skew lintas versi scikit-learn/Python.
    • Daftar dan pilih preset secara instan via sidik-ml models atau --model <preset> (misalnya random_forest atau lr), dan tetap mendukung artefak .skops/.json kustom dengan SAFE_SKOPS_TYPE_PREFIXES tanpa pickle/joblib mentah.

🏗️ Arsitektur Integrasi Hibrida

Kode Sumber & Manifes Target
           │
           ▼
   SIDIK Core (>=v1.4.0: Polyglot SAST 30+ Ekstensi + Offline OSV SCA 8 Ekosistem; kompatibel >=v1.3.4)
           │
           ├──[Kontrak SecretCandidate v1.0.0 (masked_value + value_sha256)]──┐
           │                                                                   ▼
           │                                                       SIDIK-ML Plugin
           │                                             (30 Fitur Statis -> skops + SHA-256
           │                                              -> Probabilitas + Explainability)
           │                                                                   │
           ◄──[sisipan metadata ml_triage & TriagePolicy Fail-Safe CRITICAL]───┘
           │
           ▼
  CLI Interaktif (TUI) │ Desktop GUI │ 8 Format Laporan (Console, Compact, HTML, SARIF v2.1.0, GitHub, MD, JSON, CSV)

📊 Ringkasan Hasil Empiris Terverifikasi

Seluruh angka di bawah tercatat pada eksperimen reproduksibel SIDIK-ML dengan seed = 42, 5-fold StratifiedGroupKFold, 1.000 bootstrap resamples, dan uji McNemar pada dataset terbuka Samsung/CredData (258 latih di 86 repo, 64 held-out test di 23 unseen repo), 25 repositori Python eksternal, serta 1.094 sampel zero-shot CredDetX:

1. Baseline SIDIK v1.1.0 vs Lima Model Non-ANN (CredData Held-Out, N = 64)
Model / Kondisi 5-Fold CV F1 Precision Uji Recall Uji F1-Score Uji MCC Uji FPR Uji McNemar p vs SIDIK
Kondisi A: SIDIK v1.1.0 - 0,8103 0,8868 0,8468 -0,1465 1,0000 -
Logistic Regression 0,8550 +- 0,0444 1,0000 0,8302 0,9072 0,6757 0,0000 0,15159
Decision Tree 0,8146 +- 0,1020 0,9000 0,8491 0,8738 0,3600 0,4545 0,45450
Random Forest 0,8949 +- 0,0236 0,9298 1,0000 0,9636 0,7692 0,3636 0,000244
Extra Trees 0,8957 +- 0,0408 0,9400 0,8868 0,9126 0,5604 0,2727 0,11532
Gradient Boosting (Pilihan CV) 0,9028 +- 0,0249 0,9038 0,8868 0,8952 +0,4178 0,4545 0,21011
  • Integrasi Hibrida & Pengaman Fail-Safe CRITICAL: Pada Kondisi C1 (Post-SIDIK Triage), Gradient Boosting menekan FP sebesar 36,36% dan memulihkan MCC ke +0,1597 sembari melindungi 3 temuan CRITICAL; pada Kondisi C2 (Candidate-Wide), Recall mencapai 0,9057, F1 0,8889, dan MCC +0,2923.
  • Generalisasi Eksternal (E1 & E2): Pada 25 repository Python publik (1.193 berkas .py), model menandai 7 / 20 (35,0%) temuan deterministik sebagai false positive dengan tambahan latensi hanya +3,6 ms (+0,15%) dan melindungi 4 temuan CRITICAL (REVIEW_PRIORITY). Pada uji zero-shot CredDetX (1.094 kandidat) yang mengalami domain shift, konfigurasi hibrida C1 menjaga stabilitas F1 = 0,7969 dan MCC = +0,2075, mengungguli SIDIK v1.1.0 murni (MCC = +0,1999) maupun model tunggal (MCC = -0,2052).
  • Overhead Inferensi Luring: Inferensi batch Gradient Boosting hanya 1,00 ms (0,0156 ms/kandidat), puncak memori 12,76 KB, dan ukuran artefak 2.533,63 KB (.skops).

📁 Struktur Paket

SIDIK-ML/
├── .github/workflows/sidik-ml-ci.yml  # CI otomatis pytest, plugin discovery, & CLI
├── action.yml                         # Composite GitHub Action (SARIF & PR annotations)
├── sidik_ml/
│   ├── __init__.py                    # Ekspor publik paket SIDIK-ML
│   ├── __main__.py                    # Titik masuk modul (python -m sidik_ml)
│   ├── cli.py                         # CLI scan, train, ekstrak fitur, TUI & GUI launchers
│   ├── plugin.py                      # Adapter entry point sidik.plugins (SidikMLPlugin)
│   ├── data/                          # 5 model Non-ANN portabel bawaan + manifest SHA-256
│   ├── schemas.py                     # MLPrediction, HybridFinding, TriagePolicy
│   ├── features.py                    # 30 fitur statis bebas target leakage
│   ├── models.py                      # 5 model Non-ANN & neural exclusion guard
│   ├── dataset.py                     # JSONL I/O, deduplikasi SHA-256, StratifiedGroupKFold
│   ├── evaluation.py                  # F1, MCC, bootstrap CI, McNemar test, ablasi fitur
│   ├── explainability.py              # Bobot model, permutation importance, penjelasan kandidat
│   ├── serialization.py               # Save/load .skops aman terverifikasi SHA-256
│   ├── training.py                    # Pipeline pelatihan reproduksibel & provenans JSON
│   └── integration.py                 # HybridTriagePipeline (SIDIK + opsional ML classifier)
├── notebooks/
│   ├── data/
│   │   ├── creddata_features.jsonl    # Korpus fitur statis bebas leakage (Apache-2.0 CredData)
│   │   └── README.md                  # Dokumentasi privasi & statistik korpus notebook
│   └── quickstart.ipynb               # Interactive Jupyter / Google Colab quickstart notebook
├── tests/                             # Unit & integration tests (pytest)
├── pyproject.toml                     # Konfigurasi paket, dependencies, & entry points
├── CHANGELOG.md
├── LICENSE
└── README.md

🚀 Panduan Instalasi & Pemakaian Cepat

1. Instalasi Global via PyPI (Pengguna Umum & CI/CD)

SIDIK-ML secara otomatis memasang dependensi inti SIDIK (sidik>=1.3.4), sehingga pengembang dapat langsung memasang satu perintah dari PyPI:

# Pemindai CLI & plugin Non-ANN ML
pip install sidik-ml

# Lengkap dengan antarmuka Desktop GUI (Pillow + Matplotlib)
pip install "sidik-ml[gui]"

Untuk pengembangan lokal dari source repository:

..\SIDIK\.venv\Scripts\Activate.ps1       # Windows PowerShell
# source ../SIDIK/.venv/bin/activate      # Linux / macOS

pip install -e "..\SIDIK[gui]"
pip install -e .

Catatan Windows PowerShell: Apabila Anda membuka langsung folder SIDIK\.venv\Scripts tanpa menjalankan Activate.ps1, PowerShell tidak memuat perintah dari folder aktif secara otomatis. Gunakan awalan .\ (misalnya .\sidik-ml -i, .\sidik-ml --gui, .\sidik -i, atau .\sidik --gui), atau aktifkan virtual environment terlebih dahulu dengan .\Activate.ps1. Jika skrip aktivasi terblokir kebijakan eksekusi PowerShell, jalankan lewat python -m sidik_ml ... atau gunakan peluncur run_sidik_ml.bat / run_sidik_ml_cli.bat.

2. Perintah Harian (Selaras sidik dan sidik-ml)

Melalui entry point sidik.plugins, perintah sidik-ml dan sidik kini mendukung pola argumen yang simetris untuk TUI, Desktop GUI, pemindaian one-shot, modul python -m, serta 8 format laporan:

# 1. Periksa versi, daftar 5 model bawaan, atau luncurkan TUI / Desktop GUI
sidik-ml --version
sidik-ml models              # Tampilkan 5 model Non-ANN siap pakai & checksum SHA-256
sidik-ml -i                  # atau: sidik-ml interactive / python -m sidik_ml -i / run_sidik_ml_cli.bat
sidik-ml --gui               # atau: sidik-ml gui / sidik-ml-gui / python -m sidik_ml --gui / run_sidik_ml.bat

# 2. Pindai langsung proyek Python maupun polyglot (bawaan Gradient Boosting, atau pilih preset)
sidik-ml . --fail-on high
sidik-ml . --model random_forest --fail-on high
sidik-ml --target path/to/project --include-deps --model model.skops --format html -o hasil_ml.html
sidik-ml scan path/to/project --include-deps --model model.skops --format html -o hasil_ml.html

# 3. Sinkronisasi database OSV luring (8 ekosistem / all) & cek statistik SQLite lokal
sidik-ml db-info
sidik-ml update-db --ecosystem npm,go,crates
# sidik-ml update-db --ecosystem all

# 4. Pindai dengan output ringkas / JSON (tanpa supresi default)
sidik-ml scan path/to/project --format compact --fail-on none
sidik-ml scan path/to/project --json --fail-on none

# 5. Atau gunakan langsung dari perintah standar SIDIK
sidik --list-plugins
sidik --target path/to/project --enable-ml --ml-model model.skops

# 6. Unduh model .skops terverifikasi SHA-256 ke cache pengguna
sidik-ml fetch-model https://example.com/gradient_boosting.skops --sha256 <hex_digest>

# 7. Ekspor fitur bebas leakage dari kandidat untuk anotasi / eksperimen
sidik-ml extract-features path/to/project --output candidates.jsonl --repo-id my_repo

# 8. Verifikasi integritas checksum SHA-256 artefak model .skops
sidik-ml verify-model model.skops --sha256 <hex_digest>

# 9. Latih & bandingkan 5 model Non-ANN menggunakan StratifiedGroupKFold
sidik-ml train dataset.jsonl --output-dir artifacts/ --stratified

# 10. Jalankan seluruh unit & integration tests
pytest tests -v

# 11. Atau jalankan lewat GitHub Container Registry (ghcr.io) tanpa setup Python
docker run --rm -v "${PWD}:/workspace" ghcr.io/radityobw/sidik-ml:latest /workspace --include-deps

🗺️ Ekosistem Perangkat Lunak Publik (Public Software Ecosystem)

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases sidik-ml

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229