From 615b0ff6c3961ef554bef965679fcd3e6335563b Mon Sep 17 00:00:00 2001 From: egibs <20933572+egibs@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:46:49 -0600 Subject: [PATCH] malcontent: add caveats Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --- Formula/m/malcontent.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Formula/m/malcontent.rb b/Formula/m/malcontent.rb index 9a46365a83cccc..3d2d6402a1207a 100644 --- a/Formula/m/malcontent.rb +++ b/Formula/m/malcontent.rb @@ -22,6 +22,15 @@ def install system "go", "build", *std_go_args(ldflags: "-s -w -X main.BuildVersion=#{version}", output: bin/"mal"), "./cmd/mal" end + def caveats + <<~EOS + malcontent embeds Yara rules in order to scan files and + certain AV or anti-malware software may detect malcontent as malicious. + Programs that leverage Yara will generally see other programs that also use Yara as malicious + due to their respective strings looking for problematic behavior. + EOS + end + test do assert_match version.to_s, shell_output("#{bin}/mal --version")