From a8615f8ce91e5ff7428567b1004abfced18432d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2026 00:10:43 +0000 Subject: [PATCH 1/2] build(deps): bump github.com/cawalch/go-yara Bumps the go-yara group with 1 update: [github.com/cawalch/go-yara](https://github.com/cawalch/go-yara). Updates `github.com/cawalch/go-yara` from 0.10.0 to 0.11.1 - [Release notes](https://github.com/cawalch/go-yara/releases) - [Changelog](https://github.com/cawalch/go-yara/blob/main/CHANGELOG.md) - [Commits](https://github.com/cawalch/go-yara/compare/v0.10.0...v0.11.1) --- updated-dependencies: - dependency-name: github.com/cawalch/go-yara dependency-version: 0.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-yara ... Signed-off-by: dependabot[bot] --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 4632740..3d2e64a 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.27.0 toolchain go1.27.4 require ( - github.com/cawalch/go-yara v0.10.0 + github.com/cawalch/go-yara v0.11.1 github.com/ebitengine/purego v0.11.3 github.com/hoophq/alcatraz v0.23.0 github.com/rrethy/ahocorasick v1.0.0 @@ -16,7 +16,7 @@ require ( ) require ( - github.com/cawalch/go-pe v0.0.0-20261115152824-c75b66411b12 // indirect + github.com/cawalch/go-pe v0.1.0 // indirect github.com/dustin/go-humanize v1.1.0 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/google/uuid v1.6.0 // indirect diff --git a/go.sum b/go.sum index 65d5704..3400ba0 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ -github.com/cawalch/go-pe v0.0.0-20261115152824-c75b66411b12 h1:o6g0uRmigkzPkl0dABhAWeEq+ASKhPELbPbnAgh+R38= -github.com/cawalch/go-pe v0.0.0-20261115152824-c75b66411b12/go.mod h1:EoVGEYn1l0W480qiRMsr++ZaaqHabaHBEeMwu1BH3MU= -github.com/cawalch/go-yara v0.10.0 h1:FpX4wc9G9z7A8xzwLyNDCbQFMEo6ujUblsvvsWxjnKo= -github.com/cawalch/go-yara v0.10.0/go.mod h1:2/YOBtkPACGoVPCYaGpUzCI22yOL5dB1VK8l9sa1UIk= +github.com/cawalch/go-pe v0.1.0 h1:VyUzry7zsTR6zoK20r9NIW8ySrwsb8q/WTLFmvcs3E0= +github.com/cawalch/go-pe v0.1.0/go.mod h1:EoVGEYn1l0W480qiRMsr++ZaaqHabaHBEeMwu1BH3MU= +github.com/cawalch/go-yara v0.11.1 h1:Tr3ucuV6hHot3XOBaAfJ2C6ob1K7Bu00sC/RF2mjWTc= +github.com/cawalch/go-yara v0.11.1/go.mod h1:c0J2GV82Go3md2hrA+J3Uk5pjCXK6FkN/17ODGqE0xE= github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2xWg= github.com/dustin/go-humanize v1.1.0/go.mod h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI= github.com/ebitengine/purego v0.11.3 h1:OB+JLpdm7ioymhyA+6s5kbb/uOuYycAgL8NNTFc5MLg= From 24f78b5e7e4869f1d30a07dd2a59a4b3302daef2 Mon Sep 17 00:00:00 2001 From: Tanimul Haque Khan Date: Thu, 26 Nov 2026 09:31:55 +0600 Subject: [PATCH 2/2] fix(yara): update pinned go-yara version to v0.11.1 The go-yara bump left engine.pinnedVersion at v0.10.0, failing TestPinnedVersionMatchesGoMod and TestEngineVersion. Adds a changelog fragment for the reported engine_version change. Co-Authored-By: Claude Opus 5.5 --- changelog.d/559-go-yara-bump.changed.md | 1 + internal/yara/engine/engine.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/559-go-yara-bump.changed.md diff --git a/changelog.d/559-go-yara-bump.changed.md b/changelog.d/559-go-yara-bump.changed.md new file mode 100644 index 0000000..2a5faa9 --- /dev/null +++ b/changelog.d/559-go-yara-bump.changed.md @@ -0,0 +1 @@ +- YARA: the engine is go-yara v0.11.1 (was v0.10.0), and the status reports `engine_version` `0.11.1` (#559). diff --git a/internal/yara/engine/engine.go b/internal/yara/engine/engine.go index 2c61f31..de3e54f 100644 --- a/internal/yara/engine/engine.go +++ b/internal/yara/engine/engine.go @@ -32,7 +32,7 @@ import ( // information (TestPinnedVersionMatchesGoMod keeps the two in step). const ( goYaraModule = "github.com/cawalch/go-yara" - pinnedVersion = "v0.10.0" + pinnedVersion = "v0.11.1" ) // Name is the engine name the bundle's engine.name refers to.