BeansGalaxy / Beans-Backpacks-2

1.20 inventory management mod. Designed to solve inventory clutter and transferring items while belonging in vanilla Minecraft's aesthetic.
MIT License
21 stars 1 forks source link

Beans Backpacks Antivirus Error #92

Open EliasSandro38 opened 4 months ago

EliasSandro38 commented 4 months ago

The latest version of the mod 0.19-v2 for fabric 1.20.1 is detected by the antivirus as a threat, and when the game is opened, the same antivirus does not allow it to be played. Is it because it doesn't recognize it as a file? Or does it have a virus?

It not only happened to me, but to 2 friends with whom I tried it, and yesterday when we played with a previous version of the mod this did not happen to us.

BeansGalaxy commented 4 months ago

I've started getting this issue around the time I've added the ability to save data to the world, but I have no clue how to even trouble shoot this since anti-viruses don't exactly tell you the problem to change so your program doesn't get flagged. Also on my system what I use to code has full access to my computer so windows anti-virus treats my mod differently.

You'll have to take my word on this but it's only a silly backpack mod.

My theory is recently there was someone packaging viruses onto mods and I think windows antivirus must be noticing similarities in the malicious mods and mine since we both are modding minecraft. All that said not sure how to fix this or to even find the issue.

If windows has any error messages, any screenshots could be used as a lead to where to find the problem. If you can find anything on your system, upload literally anything about my mod. :)

EliasSandro38 commented 4 months ago

I saw on some occasions that the Windows anitvirus detects malicious files or programs, because it cannot recognize them, and it is not necessarily a virus.

but the thing about them having gone to the curseforge page again to add viruses to the mods, because it happened that curseforge had several mods like When dungeons arise and some other mods from creators that caused the antivirus to trip.

For my part, I downloaded it and the antivirus didn't work. What happened to me was two friends who downloaded the mod, but it said that the file was not reliable. They both deactivated their antivirus to download it and it worked, but when one of them started the game with the mod, a crash occurred in which something from the window defender appeared. We chose to release the mod, but I honestly would like to be able to play it. It's a good mod :)

I will try to send the crash report that minecraft throws so you can see it

EliasSandro38 commented 4 months ago

This is what comes out when trying to download it from modrinth or curseforge

image

And this is the crash report:

Incompatible mods found! net.fabricmc.loader.impl.FormattedException: net.fabricmc.loader.impl.discovery.ModResolutionException: Mod discovery failed! at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:197) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: net.fabricmc.loader.impl.discovery.ModResolutionException: Mod discovery failed! at net.fabricmc.loader.impl.discovery.ModDiscoverer.lambda$discoverMods$1(ModDiscoverer.java:147) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.discovery.ModDiscoverer.discoverMods(ModDiscoverer.java:147) at net.fabricmc.loader.impl.FabricLoaderImpl.setup(FabricLoaderImpl.java:215) at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:192) ... 3 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error analyzing [C:\Users\LEANDRA\Desktop\mundito\mods\BeansBackpacks-fabric-1.20.1-0.19-v2.jar]: java.io.FileNotFoundException: C:\Users\LEANDRA\Desktop\mundito\mods\BeansBackpacks-fabric-1.20.1-0.19-v2.jar (The operation could not be completed because the file contains a virus or potentially unwanted software) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:562) at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:604) at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:981) at net.fabricmc.loader.impl.discovery.ModDiscoverer.discoverMods(ModDiscoverer.java:144) ... 5 more Caused by: java.lang.RuntimeException: Error analyzing [C:\Users\LEANDRA\Desktop\mundito\mods\BeansBackpacks-fabric-1.20.1-0.19-v2.jar]: java.io.FileNotFoundException: C:\Users\LEANDRA\Desktop\mundito\mods\BeansBackpacks-fabric-1.20.1-0.19-v2.jar (The operation could not be completed because the file contains a virus or potentially unwanted software) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:288) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:237) at java.base/java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:100) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: java.io.FileNotFoundException: C:\Users\LEANDRA\Desktop\mundito\mods\BeansBackpacks-fabric-1.20.1-0.19-v2.jar (The operation could not be completed because the file contains a virus or potentially unwanted software) at java.base/java.io.RandomAccessFile.open0(Native Method) at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:259) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:213) at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1442) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1407) at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:716) at java.base/java.util.zip.ZipFile.(ZipFile.java:250) at java.base/java.util.zip.ZipFile.(ZipFile.java:179) at java.base/java.util.zip.ZipFile.(ZipFile.java:193) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.computeJarFile(ModDiscoverer.java:309) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:278) ... 7 more