Compare commits

...

3 Commits

Author SHA1 Message Date
github-actions[bot]
6ba466142a chore(release): Update version to v1.4.313 2025-09-15 00:09:01 +00:00
Kayvan Sylvan
5b4c87b476 Merge pull request #1770 from ksylvan/kayvan/ci-0914-garble-to-fix-false-positive-virus-detection
Use Garble to get around false positive Microsoft Defender virus detection
2025-09-14 17:06:27 -07:00
Kayvan Sylvan
f9b2c650aa feat: add garble obfuscation to build process for enhanced binary protection
- Add garble installation to release workflow
- Configure goreleaser to use garble gobinary
- Set garble build flags for literals obfuscation
- Enable tiny mode for reduced binary size
- Add random seed for build reproducibility
- Update VSCode dictionary with garble terms
2025-09-14 16:43:56 -07:00
7 changed files with 24 additions and 2 deletions

View File

@@ -44,6 +44,8 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: ./go.mod go-version-file: ./go.mod
- name: Install garble
run: go install mvdan.cc/garble@latest
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6 uses: goreleaser/goreleaser-action@v6
with: with:

View File

@@ -19,6 +19,14 @@ builds:
- darwin - darwin
main: ./cmd/fabric main: ./cmd/fabric
binary: fabric binary: fabric
gobinary: garble
# From https://github.com/eyevanovich/garble-goreleaser-example/blob/main/.goreleaser.yaml
# command is a single string.
# garble's 'build' needs the -literals and -tiny args before it, so we
# trick goreleaser into using -literals as command, and pass -tiny and
# build as flags.
command: "-literals"
flags: [ "-tiny", "-seed=random", "build" ]
archives: archives:
- formats: [tar.gz] - formats: [tar.gz]

View File

@@ -58,6 +58,7 @@
"githelper", "githelper",
"gjson", "gjson",
"GOARCH", "GOARCH",
"gobinary",
"GODEBUG", "GODEBUG",
"godotenv", "godotenv",
"GOEXPERIMENT", "GOEXPERIMENT",
@@ -117,6 +118,7 @@
"modeline", "modeline",
"modelines", "modelines",
"mpga", "mpga",
"mvdan",
"nicksnyder", "nicksnyder",
"nixpkgs", "nixpkgs",
"nometa", "nometa",

View File

@@ -1,5 +1,15 @@
# Changelog # Changelog
## v1.4.313 (2025-09-14)
### PR [#1770](https://github.com/danielmiessler/Fabric/pull/1770) by [ksylvan](https://github.com/ksylvan): Use Garble to get around false positive Microsoft Defender virus detection
- Add garble obfuscation to build process for enhanced binary protection against false positive virus detection
- Configure goreleaser to use garble gobinary with literals obfuscation
- Enable tiny mode for reduced binary size with random seed for build reproducibility
- Add garble installation to release workflow
- Update VSCode dictionary with garble-related terms
## v1.4.312 (2025-09-14) ## v1.4.312 (2025-09-14)
### PR [#1769](https://github.com/danielmiessler/Fabric/pull/1769) by [ksylvan](https://github.com/ksylvan): Go 1.25.1 Upgrade & Critical SDK Updates ### PR [#1769](https://github.com/danielmiessler/Fabric/pull/1769) by [ksylvan](https://github.com/ksylvan): Go 1.25.1 Upgrade & Critical SDK Updates

View File

@@ -1,3 +1,3 @@
package main package main
var version = "v1.4.312" var version = "v1.4.313"

Binary file not shown.

View File

@@ -1 +1 @@
"1.4.312" "1.4.313"