Plyara

Latest version: v2.2.8

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

Scan your dependencies

Page 1 of 6

2.2.8

What's Changed

Bugfixes

* A bug dropping internal escaped double-quotes by vitaly-kamluk in https://github.com/plyara/plyara/pull/163

Unit test improvements

* Perform compatibility testing with public YARA ruleset repositories by cccs-rs in https://github.com/plyara/plyara/pull/160
* Fixed noisy unit tests during repo cloning. Reported by utkonos in https://github.com/plyara/plyara/issues/165

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.7...v2.2.8

2.2.7

What's Changed

Bugfixes

* Fixed a regression introduced by https://github.com/plyara/plyara/commit/0430454310d401d05cf60fca388ceb636c1877b7 where the rule end line number was incorrect. By vitaly-kamluk in https://github.com/plyara/plyara/pull/157

New Contributor

* vitaly-kamluk made their first contribution in https://github.com/plyara/plyara/pull/157

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.6...v2.2.7

2.2.6

Bugfix Release

- Fix regression introduced with narrowing of characterset for strings. Reported by utkonos in https://github.com/plyara/plyara/issues/154

**NOTE**: This regression was discovered due to progress in a major testing project for plyara tracked in 146. If you want to help, testing those rule repositories and opening issues for any crashes or inconsistencies would be a great help to the project overall.

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.5...v2.2.6

2.2.5

Bugfix Release

Bugfixes

- Fixed comments between rules being properly discarded and not attached to a rule. Reported by utkonos in https://github.com/plyara/plyara/issues/150
- Nums and Hexnums have the same limit at which YARA returns an integer overflow error. Reported by utkonos in https://github.com/plyara/plyara/issues/151
- Tags now cannot contain `.`. Reported by utkonos in https://github.com/plyara/plyara/issues/152
- Bytestring comments now have the correct line number. Reported by utkonos in https://github.com/plyara/plyara/issues/153

Unit Tests

- Unit test coverage is now 100% in the following modules. Reported by utkonos in https://github.com/plyara/plyara/issues/138
- `core.py`
- `exceptions.py`
- `command_line.py`
- The following functions need a maintainer to clean them up and write 100% unit tests:
- `utils.generate_hash`
- `rebuild_yara_rule`

Deprecations

- `utils.is_valid_rule_name` is deprecated because the parser handles rule name validation now. Function will be removed in version 2.3.
- `utils.is_valid_rule_tag` is deprecated because the parser handles tag name validation now. Function will be removed in version 2.3.
- `utils.detect_imports` is deprecated because imports are now properly reported in each rule by default. Function will be removed in version 2.3.
- `utils.detect_dependencies` is deprecated because imports are now properly reported in each rule by default. Function will be removed in version 2.3.

Removed

- `utils.generate_logic_hash` is now removed. If you need this functionality, use `utils.generate_hash`.

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.4...v2.2.5

2.2.4

Bugfix Release

- Fixed improper handling of comments in various locations. Found during unit test overhaul by utkonos in https://github.com/plyara/plyara/issues/147

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.3...v2.2.4

2.2.3

Bugfix Release

- Fix problem with clearing the parser after an exception has been raised. Reported by dadokkio in [118](https://github.com/plyara/plyara/issues/118)
- Fix a set of regressions involving negative number parsing and xor modifiers. Reported by Neo23x0 in [143](https://github.com/plyara/plyara/issues/143)
- Fix negative integer parsing in metadata. Reported by kam193 in https://github.com/CybercentreCanada/assemblyline/issues/231
- Add unit tests for negative number parsing in PR made by cccs-rs in [130](https://github.com/plyara/plyara/pull/130)
- Add unit tests for negated hex string byte parsing in PR made by cccs-rs in [130](https://github.com/plyara/plyara/pull/130)

**Full Changelog**: https://github.com/plyara/plyara/compare/v2.2.2...v2.2.3

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.