google / google/magika

[Misdetection] log file misdetected as Ini File

Open
#1,147 1 comment 0 reactions 0 assignees View on GitHub
misdetection
Dominant language
Rust
Stars
18.6k
Forks
1.2k
Avg merge
3d 12h
Merged PRs (30d)
20

Description

The log for the game Hades is detected as an INI file even though it should be plain text or a log file.

[Hades.log](https://github.com/user-attachments/files/22625982/Hades.log)

magika 0.1.2 standard_v3_3

Output
```json
[
{
"path": "Hades.log",
"result": {
"status": "ok",
"value": {
"dl": {
"description": "INI configuration file",
"extensions": [
"ini"
],
"group": "text",
"is_text": true,
"label": "ini",
"mime_type": "text/plain"
},
"output": {
"description": "INI configuration file",
"extensions": [
"ini"
],
"group": "text",
"is_text": true,
"label": "ini",
"mime_type": "text/plain"
},
"score": 0.7749999761581421
}
}
}
]
```

Contributor guide

Open the contributing guide

Research direction

The report includes Hades.log and output from magika 0.1.2 using standard_v3_3; start by reproducing that classification. Investigate why this sample is labeled INI, then verify that the result is plain text or a log file rather than INI.

Written by the indexing model from the issue text.

Assessment

Tech stack
machine-learning, rust
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.