[ci skip] Add SECURITY.md (#4520)

This commit is contained in:
FlorianMichael authored and GitHub committed 2025-06-29 15:36:49 +02:00
1 parent 17d94a17f0
commit 9409c7d22a
2 files changed
+11 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# Security Policy
## Reporting a Vulnerability
If you discover a **security vulnerability**, please **do not** open a public issue. Instead, use one of the following **confidential contact methods**:
* **Email:** [security@viaversion.com](mailto:security@viaversion.com)
* **Discord:** Join our [Discord server](https://discord.gg/viaversion) and visit the [#exploit-report](https://discord.com/channels/316206679014244363/1388847764137316485) channel for further instructions.
If your issue is **not security-related** (e.g., bug reports, feature requests, or usage questions), please use the [GitHub Issues page](https://github.com/ViaVersion/ViaVersion/issues) or contact us via the [Discord server](https://discord.gg/viaversion).
@@ -241,7 +241,7 @@ public final class StructuredDataContainer implements Copyable {
/** /**
* Sets the lookup for serializer ids. Required to call most of the other methods. * Sets the lookup for serializer ids. Required to call most of the other methods.
* *
* @param protocol protocol to retreive the id of the serializer from * @param protocol protocol to retrieve the id of the serializer from
* @param mappedNames if the names are mapped (true if structures from the mapped version are added, false for the unmapped version) * @param mappedNames if the names are mapped (true if structures from the mapped version are added, false for the unmapped version)
*/ */
public void setIdLookup(final Protocol<?, ?, ?, ?> protocol, final boolean mappedNames) { public void setIdLookup(final Protocol<?, ?, ?, ?> protocol, final boolean mappedNames) {