Globox1997 / MedievalWeapons

https://modrinth.com/mod/medievalweapons
https://www.curseforge.com/minecraft/mc-mods/medievalweapons
MIT License
9 stars 12 forks source link

Virus? #105

Closed DeityofSin closed 1 year ago

DeityofSin commented 1 year ago

the mod is deleting itself from my modpack saying that it contains a virus. | Incompatible mod set! 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:194) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) 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:146) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.discovery.ModDiscoverer.discoverMods(ModDiscoverer.java:146) at net.fabricmc.loader.impl.FabricLoaderImpl.setup(FabricLoaderImpl.java:212) at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:189) ... 3 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error analyzing [D:\Minecraft\Curse forge\Curse\Instances\The Waking Dragon (Fabric)\mods\medievalweapons-1.4.3.jar]: java.io.FileNotFoundException: D:\Minecraft\Curse forge\Curse\Instances\The Waking Dragon (Fabric)\mods\medievalweapons-1.4.3.jar (Operation did not complete successfully 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:143) ... 5 more Caused by: java.lang.RuntimeException: Error analyzing [D:\Minecraft\Curse forge\Curse\Instances\The Waking Dragon (Fabric)\mods\medievalweapons-1.4.3.jar]: java.io.FileNotFoundException: D:\Minecraft\Curse forge\Curse\Instances\The Waking Dragon (Fabric)\mods\medievalweapons-1.4.3.jar (Operation did not complete successfully because the file contains a virus or potentially unwanted software) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:263) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:212) 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: D:\Minecraft\Curse forge\Curse\Instances\The Waking Dragon (Fabric)\mods\medievalweapons-1.4.3.jar (Operation did not complete successfully 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:1312) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277) at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709) at java.base/java.util.zip.ZipFile.(ZipFile.java:243) at java.base/java.util.zip.ZipFile.(ZipFile.java:172) at java.base/java.util.zip.ZipFile.(ZipFile.java:186) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.computeJarFile(ModDiscoverer.java:284) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:253) ... 7 more

RealxRancor commented 1 year ago

same for it says it contains a virus and i cant download it on the pc from my friend and from my gf..

spoonoo commented 1 year ago

Windows flags it as a trojan

RealxRancor commented 1 year ago

welp its only this verion andy older ist okay to downlaod..

RealxRancor commented 1 year ago

Incompatible mod set! net.fabricmc.loader.impl.FormattedException: net.fabricmc.loader.impl.discovery.ModResolutionException: Mod discovery failed! at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:192) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) 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:146) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.discovery.ModDiscoverer.discoverMods(ModDiscoverer.java:146) at net.fabricmc.loader.impl.FabricLoaderImpl.setup(FabricLoaderImpl.java:210) at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:187) ... 3 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error analyzing [C:\Users\l-gab\AppData\Roaming.minecraft\mods\medievalweapons-1.4.3.jar]: java.util.zip.ZipException: zip END header not found 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:143) ... 5 more Caused by: java.lang.RuntimeException: Error analyzing [C:\Users\l-gab\AppData\Roaming.minecraft\mods\medievalweapons-1.4.3.jar]: java.util.zip.ZipException: zip END header not found at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:263) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:212) 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.util.zip.ZipException: zip END header not found at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1469) at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477) at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1315) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277) at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709) at java.base/java.util.zip.ZipFile.(ZipFile.java:243) at java.base/java.util.zip.ZipFile.(ZipFile.java:172) at java.base/java.util.zip.ZipFile.(ZipFile.java:186) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.computeJarFile(ModDiscoverer.java:284) at net.fabricmc.loader.impl.discovery.ModDiscoverer$ModScanTask.compute(ModDiscoverer.java:253) ... 7 more

KuroNeko87 commented 1 year ago

Odd, I ran a virustotal analysis on the file and came clean https://www.virustotal.com/gui/url/89c3935fe4a4563412052e8fc077df2c3519e907c13789dae95b91b6bbb32596?nocache=1

RealxRancor commented 1 year ago

dont know why either cant downlaod it or use it in any way and my windows defender wont chill i cant even turn it off

DEAFG0AT commented 1 year ago

Same here, my friend and I both ran scans and it says that the jar file contains "Trojan:Script/Wacatac.H!ml"

EDIT: The 1.4.3 mod file is SIGNIFICANTLY larger than the version previous, even though the only notes in the changelog are "Added mythic upgrades compat" and "fixed javelin enchantment crash", so this definitely isn't just a false flag. There is an actual Trojan virus in this mod.

Tishbyte commented 1 year ago

Same, seeing that the owner hasn't responded to this issue, may be worth reporting it on mod page as a virus: https://www.curseforge.com/minecraft/mc-mods/medievalweapons

Tishbyte commented 1 year ago

Same here, my friend and I both ran scans and it says that the jar file contains "Trojan:Script/Wacatac.H!ml"

EDIT: The 1.4.3 mod file is SIGNIFICANTLY larger than the version previous, even though the only notes in the changelog are "Added mythic upgrades compat" and "fixed javelin enchantment crash", so this definitely isn't just a false flag. There is an actual Trojan virus in this mod.

I wouldn't say it's alot bigger, there were versions that were even bigger, but I get what you're saying.

Globox1997 commented 1 year ago

Mh I have no clue why this happens. The latest update includes mythic upgrades textures, that is the reason for the bigger size.

Globox1997 commented 1 year ago

This mod never had a virus but honestly I am not sure what lead to this occurrence. However curseforge and modrinth have now a better system to indicate affected mods.