# File-level Malicious Code Detection on Malicious Package Python (val)

Source: [File-level Malicious Code Detection on Malicious Package Python (val)](<https://www.sota2.com/research/sota/file-level-malicious-code-detection-on-malicious-package-python-val>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-06-09T07:03:01.395Z

Evaluation of model performance for file-level malicious code detection using the validation split of the Malicious Package Python dataset, reporting Precision, Recall, and F1 score.

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

| Scope | Recorded value |
| --- | --- |
| Task | File-level Malicious Code Detection |
| Dataset (including any stated split) | Malicious Package Python, File-level (val) |
| Metric | Precision |
| Unit | PERCENT |
| Direction | Higher is better |
| Results loaded | 4 of 4 |
| Coverage | All results currently returned for this benchmark |

Evaluation settings may differ between results. The original papers and recorded configurations are needed to establish comparability. A shared metric name alone does not establish an identical protocol.

## Metrics

- [Precision](<https://www.sota2.com/research/sota/file-level-malicious-code-detection-on-malicious-package-python-val.md?metric=Precision>): Higher is better; unit: PERCENT.

- [Recall](<https://www.sota2.com/research/sota/file-level-malicious-code-detection-on-malicious-package-python-val.md?metric=Recall>): Higher is better; unit: PERCENT.

- [F1 Score](<https://www.sota2.com/research/sota/file-level-malicious-code-detection-on-malicious-package-python-val.md?metric=F1%20Score>): Higher is better; unit: PERCENT.

## Recorded results

| Method | Precision | Result date | Report paper |
| --- | --- | --- | --- |
| MOLOT | 84.6 | Not recorded | 6a279de790966ade919bf543 |
| semgrep | 16.3 | Not recorded | 6a279de790966ade919bf543 |
| ossgadget | 16.1 | Not recorded | 6a279de790966ade919bf543 |
| bandit4mal | 12.6 | Not recorded | 6a279de790966ade919bf543 |

### MOLOT

Precision: 84.6. Result ID: 6a27ba14fbc373592c23f509.

[Reporting paper](<https://www.sota2.com/research/paper/6a279de790966ade919bf543.md>)

[Method origin paper](<https://www.sota2.com/research/paper/6a279de790966ade919bf543.md>)

Recorded evaluation configuration: {"Ecosystem":"Python","Support":"41579","Evaluation Protocol":"End-to-end evaluation"}. This record does not assert independent reproduction.

### semgrep

Precision: 16.3. Result ID: 6a27ba14fbc373592c23f50c.

[Reporting paper](<https://www.sota2.com/research/paper/6a279de790966ade919bf543.md>)

Recorded evaluation configuration: {"Ecosystem":"Python","Support":"43664","Evaluation Protocol":"End-to-end evaluation"}. This record does not assert independent reproduction.

### ossgadget

Precision: 16.1. Result ID: 6a27ba14fbc373592c23f50a.

[Reporting paper](<https://www.sota2.com/research/paper/6a279de790966ade919bf543.md>)

Recorded evaluation configuration: {"Ecosystem":"Python","Support":"48689","Evaluation Protocol":"End-to-end evaluation"}. This record does not assert independent reproduction.

### bandit4mal

Precision: 12.6. Result ID: 6a27ba14fbc373592c23f50b.

[Reporting paper](<https://www.sota2.com/research/paper/6a279de790966ade919bf543.md>)

Recorded evaluation configuration: {"Ecosystem":"Python","Support":"47904","Evaluation Protocol":"End-to-end evaluation"}. This record does not assert independent reproduction.

Page 1 of 1. This is an index page, not the full collection.
