Please confirm the following.
What parts of Modrinth is your feature request related too?
Modrinth App, Modrinth.com website, Modrinth API for developers
Is your suggested feature related to a problem? Please describe.
Problems:
- JNI natives and other native libraries in projects may not support all platforms and architectures (or in the case of linux, even the right arch may still have issues)
- In the case of client side anti tamper systems, I would prefer to be informed that I am running a potentially obfuscated native executable. (yes, someone did that)
Due to the lack of a disclosure, I am forced to manually audit mods I wish to use for native libraries and verify their compatibility, quality, and safety.
Describe the solution you'd like
A disclosure (preferably per uploaded artifact) of contained JNI natives/native libraries and their architectures, and if they are required for the function of the project or, are manditory or optional to enhance performance or facilitate specific features.
Potential Approaches:
- Manual Disclosure:
Common platforms1 should be easily selectable, and uncommon platforms1 can be specified as well.
- Automatic Detection:
Automatic jar scanning on modrinth servers for JNI natives/native libraries (maybe integrate into antivirus?)
A check could also be added to the modrinth app that compares the supported platforms of an artifact to the current platform for mod filtering, or warning the user that a mod contains incompatible natives.
Footnotes
1.
- Some common platform combinations:
- Some less common platform combinations include (but not limited to):
- Windows
- Linux
- x86 (32 bit)
- armv7 (32 bit)
- iOS/iPadOS (pojav launcher)
Some MacOS arm64 natives may work on iOS arm64, but not all of them
Describe alternatives you've considered
Continuing to manually audit mods I wish to use to verify the quality, safety, and compatibility of their native libraries.
Additional context
This is my first issue
Please confirm the following.
What parts of Modrinth is your feature request related too?
Modrinth App, Modrinth.com website, Modrinth API for developers
Is your suggested feature related to a problem? Please describe.
Problems:
Due to the lack of a disclosure, I am forced to manually audit mods I wish to use for native libraries and verify their compatibility, quality, and safety.
Describe the solution you'd like
A disclosure (preferably per uploaded artifact) of contained JNI natives/native libraries and their architectures, and if they are required for the function of the project or, are manditory or optional to enhance performance or facilitate specific features.
Potential Approaches:
Common platforms1 should be easily selectable, and uncommon platforms1 can be specified as well.
Automatic jar scanning on modrinth servers for JNI natives/native libraries (maybe integrate into antivirus?)
A check could also be added to the modrinth app that compares the supported platforms of an artifact to the current platform for mod filtering, or warning the user that a mod contains incompatible natives.
Footnotes
1.
Some MacOS arm64 natives may work on iOS arm64, but not all of them
Describe alternatives you've considered
Continuing to manually audit mods I wish to use to verify the quality, safety, and compatibility of their native libraries.
Additional context
This is my first issue