Scan your whole stack
Are you using sidik-ml?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.9
sidik-ml was last scanned on 25 Nov 2026 at version 0.5.9. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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
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.
create_non_ann_model().validate_non_ann_model_name() secara eksplisit menolak model neural (ann, mlp, cnn, rnn, lstm, transformer, codebert) demi menjamin transparansi keputusan dan bobot ringan.30 Fitur Statis Bebas Target Leakage (FEATURE_SCHEMA_VERSION = "1.0.0"):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).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.TriagePolicy):suppress_false_positives=False) sehingga seluruh temuan deterministik SIDIK tetap ditampilkan bersama probabilitas rahasia dan kontribusi fitur pendorongnya (explain_single_candidate()).never_suppress_severities=("CRITICAL",) melindungi temuan kritis agar tidak pernah dibungkam diam-diam oleh model ML.sidik.plugins) & Thin Launcher TUI/GUI/Polyglot SAST + 8-Ekosistem SCA: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.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).portable JSON & skops):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.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.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)
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:
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 |
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.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).Gradient Boosting hanya 1,00 ms (0,0156 ms/kandidat), puncak memori 12,76 KB, dan ukuran artefak 2.533,63 KB (.skops).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
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\Scriptstanpa menjalankanActivate.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 lewatpython -m sidik_ml ...atau gunakan peluncurrun_sidik_ml.bat/run_sidik_ml_cli.bat.
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
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.