tukaani-project / xz-java

XZ for Java
https://tukaani.org/xz/java.html
BSD Zero Clause License
23 stars 14 forks source link

[Feature Request]: OSS-Fuzz integration #3

Open onionpsy opened 1 year ago

onionpsy commented 1 year ago

Describe the Feature

Hi all,

we have integrated xz-java into Google OSS-Fuzz which will provide more security for your project: https://github.com/google/oss-fuzz/pull/9797

Why do you need Fuzzing? The Code Intelligence JVM fuzzer Jazzer has already found hundreds of bugs in open source projects including for example OpenJDK, Protobuf or jsoup. Fuzzing proved to be very effective having no false positives. It provides a crashing input which helps you to reproduce and debug any finding easily. The integration of your project into the OSS-Fuzz platform will enable continuous fuzzing of your project by Jazzer.

What do you need to do? The integration requires the maintainer or one established project commiter to deal with the bug reports.

You need to create or provide one email address that is associated with a google account as per here. When a bug is found, you will receive an email that will provide you with access to ClusterFuzz, crash reports, code coverage reports and fuzzer statistics. More than 1 person can be included.

How Code Intelligence can support? We will continue to add more fuzz targets to improve code coverage over time. Furthermore, we are permanently enhancing fuzzing technologies by developing new fuzzers and more bug detectors.

Please let me know if you have any questions regarding fuzzing or the OSS-Fuzz integration.

Expected Complications

No response

Will I try to implement this new feature?

Yes

JiaT75 commented 9 months ago

Hello!

I apologize for ignoring this for such a long time. Thank you for adding XZ for Java to OSS-Fuzz. XZ Utils (the C implementation) is also in OSS-Fuzz so I have some understanding of the process. I suppose the following steps should be taken to maximize the usefulness of this:

In xz-java:

In OSS-Fuzz:

I will start working through this, just letting you know in case I am missing an important step.

Also, is there a name that you would like to be used in the THANKS file? On your GitHub profile I did not see a surname. You may of course remain anonymous if you wish :)