Plyara

Latest version: v2.2.7

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

Scan your dependencies

Page 2 of 5

2.2.1

Bugfix Release
* Fix exception raised when `store_raw_sections` is set to `False` reported by cccs-ay

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.0...v2.2.1

2.2.0

What's Changed

Improvements
* Add time import option by ronbarrey in https://github.com/plyara/plyara/pull/110
* Update utils.py by ruppde in https://github.com/plyara/plyara/pull/114
* Update several log calls in plyara.core by vEpiphyte in https://github.com/plyara/plyara/pull/120
* Support for new operators introduced in 4.1.0 by robert-phe in https://github.com/plyara/plyara/pull/121
* Support for macho import by ronbarrey in https://github.com/plyara/plyara/pull/122
* Add r escape character by Derekt2 in https://github.com/plyara/plyara/pull/125
* Patch bytestrings to support parsing w/ "~" symbol by cccs-rs in https://github.com/plyara/plyara/pull/130
* Add new YARA keywords by cccs-rs in https://github.com/plyara/plyara/pull/130
* Add dex, macho, lnk, and string modules by utkonos
* Add defined and none keywords by utkonos
* Allow for negative numbers to be parsed by cccs-rs in https://github.com/plyara/plyara/pull/130
* Update to support negative floating point numbers from (0, -1) by cccs-rs in https://github.com/plyara/plyara/pull/130
* Apply [some] black formatting by cccs-rs in https://github.com/plyara/plyara/pull/130
* Unit test reorganization by utkonos
* Add linter unit test by utkonos
* Add noqa comments to PLY introspection docstrings and function strings in preparation for Ruff migration by utkonos
* Handle missing files gracefully by utkonos
* Add support for "vt" module by utkonos
* Test support for Python 3.13, 3.12, 3.11, and 3.10 by utkonos
* v2.2 by utkonos in https://github.com/plyara/plyara/pull/131

Breaking Changes
* Only associate imports that are actually used in the rule by cccs-rs in https://github.com/plyara/plyara/pull/130
* Retain old behavior as `import_effects` optional parameter by utkonos

Deprecations
* utils.generate_logic_hash() by utkonos

Bug Fixes
* Fix formatting problem in rebuild_yara_rule reported by rakovskij-stanislav in https://github.com/plyara/plyara/issues/109
* Fix bug that can occur on '-0' matches by cccs-rs in https://github.com/plyara/plyara/pull/130
* fix: noisy debug messages by Neo23x0 in https://github.com/plyara/plyara/pull/126

New Contributors
* cccs-rs made their first contribution in https://github.com/plyara/plyara/pull/130
* ronbarrey made their first contribution in https://github.com/plyara/plyara/pull/110
* ruppde made their first contribution in https://github.com/plyara/plyara/pull/114
* vEpiphyte made their first contribution in https://github.com/plyara/plyara/pull/120
* robert-phe made their first contribution in https://github.com/plyara/plyara/pull/121
* Derekt2 made their first contribution in https://github.com/plyara/plyara/pull/125

New Maintainer
* larsborn

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.1.1...v2.2.0

2.1.1

Patch release to address a bug.

* https://github.com/plyara/plyara/pull/108

2.1.0

New Features:

* https://github.com/plyara/plyara/pull/62 The parser can be reused without reinstantiation via the new `clear()` method. This saves time between parsing sessions when using plyara on a large amount of data. Thanks malwarefrank!
* https://github.com/plyara/plyara/pull/69 Python 3.8 support.
* https://github.com/plyara/plyara/pull/84 A new parameter `meta_as_kv` can be used to emit the old 1.x JSON schema for entries in the meta section of a rule. Thanks [sbruno](https://github.com/sbruno) and Neo23x0!
* https://github.com/plyara/plyara/pull/90 New instructions and configuration for contributors. Thanks malwarefrank!
* https://github.com/plyara/plyara/pull/92 YARA 4.0 support. Thanks malvidin!!!!
* https://github.com/plyara/plyara/pull/93 New rule hashing utility. Thanks malvidin!

Changes:

* https://github.com/plyara/plyara/pull/81 Removed deprecated methods: `is_valid_rule_name()`, `is_valid_rule_tag()`, `detect_imports()`, `detect_dependencies()`, `generate_logic_hash()`, and `rebuild_yara_rule(). Functionality of each of these is found in the utilities.

2.0.3

Patch release to address a bug.

* Fix handling of empty metadata strings. (58 from Tasssadar)

Note: this release will be unsigned on PyPI.

2.0.2

Patch release to address a bug.

* Fix handling of empty metadata strings. (54)

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.