Skip to content

Commit

Permalink
malcontent: add caveats
Browse files Browse the repository at this point in the history
Signed-off-by: egibs <[email protected]>
  • Loading branch information
egibs committed Dec 19, 2024
1 parent 0c3626c commit 615b0ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Formula/m/malcontent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 615b0ff

Please sign in to comment.