Karton-classifier

Latest version: v2.0.0

Safety actively analyzes 623835 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.0

Breaking changes:

- `script:linux:sh` is now classified as `script:sh` (platform field is gone) (https://github.com/CERT-Polska/karton-classifier/pull/54)

New features and improvements:

- Added platform detection for ELF files (https://github.com/CERT-Polska/karton-classifier/pull/55)
- Added support for other types of malicious scripts (https://github.com/CERT-Polska/karton-classifier/pull/54)
- Added `{"kind": "json"}` classification for JSON files (`misc:json`) (https://github.com/CERT-Polska/karton-classifier/pull/49)
- XML documents are classified as ASCII-encoded (`misc:ascii`) (https://github.com/CERT-Polska/karton-classifier/pull/51)
- Support for CSV files (`misc:csv`) (https://github.com/CERT-Polska/karton-classifier/pull/58)
- Support for multiple extra archive formats (https://github.com/CERT-Polska/karton-classifier/pull/57)
- Support for MBR, XCOFF and COM files (https://github.com/CERT-Polska/karton-classifier/pull/59)
- Support for graphics images and VHD disk images (https://github.com/CERT-Polska/karton-classifier/pull/60)

Bugfixes:

- Fixed pcap files recognition (https://github.com/CERT-Polska/karton-classifier/pull/67)

Thanks jasperla, r1d3th3wav3s and chkp-ramanl for contributions! :tada:

1.4.0

New features and improvements:
- `karton-core` bumped to v5.0.0 (47)

1.3.0

**New features:**
- Support for lzh archives (https://github.com/CERT-Polska/karton-classifier/pull/41, thanks tsalvia!)

**Bugfixes:**
- Correct classification of encrypted Office documents (https://github.com/CERT-Polska/karton-classifier/pull/45, thanks chkp-ramanl!)

1.2.0

**New features**:

- Added support for PCAP files (https://github.com/CERT-Polska/karton-classifier/pull/25, thanks rakovskij-stanislav)
- Added support for MacOS binaries (https://github.com/CERT-Polska/karton-classifier/pull/32, thanks chkp-alexeybu)
- Improved EML support (https://github.com/CERT-Polska/karton-classifier/pull/36)
- Other improvements (https://github.com/CERT-Polska/karton-classifier/pull/37):
- Reordered Powershell and Javascript heuristics with favor of Powershell
- Improved Composite Document type recognition when file name lacks of extension
- MIME type fix-up for archive:xz, which is correctly generated by libmagic>=5.40

**Other changes**:

- Minimum supported Python version: 3.7
- Supported libmagic versions: >=5.37, <=5.40

1.1.0

New features:
- Added support for ISO-8859-1, UTF-8 text files and PGP encrypted files (https://github.com/CERT-Polska/karton-classifier/pull/13, thanks r1d3th3wav3s)
- Added support for PE binaries with custom MS-DOS stub (https://github.com/CERT-Polska/karton-classifier/pull/16)
- Classifier spawns `stage:unrecognized` tasks for samples that were not recognized by classifier (https://github.com/CERT-Polska/karton-classifier/pull/19, thanks conitrade-as)
- Added MIME type to resulting Task headers (https://github.com/CERT-Polska/karton-classifier/pull/23, thanks conitrade-as)
- Alternative libmagic method used for classification can be specified via `magic` argument of `Classifier` constructor (used for libmagic pinning in tests, https://github.com/CERT-Polska/karton-classifier/pull/23)

Bugfixes:
- Fix for OOXML files (https://github.com/CERT-Polska/karton-classifier/pull/17)

1.0.0

Initial public release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.