blob: 2d7b4b25ff8eec8939d7ff75c1a184234963fe1a [file] [log] [blame] [view]
kplybon8216f272019-08-08 10:12:25 -04001# OSS-Fuzz: Continuous Fuzzing for Open Source Software
Mike Aizatsky8f24df72016-10-25 14:31:45 -07002
3[Fuzz testing](https://en.wikipedia.org/wiki/Fuzz_testing) is a well-known
kplybon8216f272019-08-08 10:12:25 -04004technique for uncovering programming errors in software.
kplybond8af01c2019-08-09 15:24:43 -04005Many of these detectable errors, like [buffer overflow](https://en.wikipedia.org/wiki/Buffer_overflow), can have serious security implications. Google has found [hundreds](https://bugs.chromium.org/p/chromium/issues/list?can=1&q=label%3AStability-LibFuzzer+-status%3ADuplicate%2CWontFix) of security vulnerabilities and stability bugs by deploying [guided in-process fuzzing of Chrome components](https://security.googleblog.com/2016/08/guided-in-process-fuzzing-of-chrome.html),
6and we now want to share that service with the open source community.
Mike Aizatsky8f24df72016-10-25 14:31:45 -07007
inferno-chromiuma660ca32016-11-23 08:35:07 -08008In cooperation with the [Core Infrastructure Initiative](https://www.coreinfrastructure.org/),
9OSS-Fuzz aims to make common open source software more secure and stable by
kplybon8216f272019-08-08 10:12:25 -040010combining modern fuzzing techniques with scalable,
Kostya Serebryanyb48c72b2016-11-18 16:47:25 -080011distributed execution.
12
kplybon8216f272019-08-08 10:12:25 -040013We support the [libFuzzer](http://llvm.org/docs/LibFuzzer.html) and [AFL](http://lcamtuf.coredump.cx/afl/) fuzzing engines
14in combination with [Sanitizers](https://github.com/google/sanitizers), as well as
15[ClusterFuzz](https://github.com/google/clusterfuzz),
16a distributed fuzzer execution environment and reporting tool.
Mike Aizatsky8f24df72016-10-25 14:31:45 -070017
kplybon8216f272019-08-08 10:12:25 -040018Currently, OSS-Fuzz supports C and C++ code, though other languages supported by [LLVM](http://llvm.org) may work too.
Kostya Serebryany229ffae2016-12-02 20:41:47 -080019
kplybon8216f272019-08-08 10:12:25 -040020## Overview
21![OSS-Fuzz process diagram](docs/images/process.png)
22
kplybon615ff3a2019-08-08 10:36:35 -040023## Documentation
kplybon8216f272019-08-08 10:12:25 -040024Read our [detailed documentation](https://google.github.io/oss-fuzz) to learn how to use OSS-Fuzz.
Max Morozaa9c2572018-12-11 13:56:48 -080025
Oliver Chang9e0c1432016-10-25 20:44:34 -070026## Trophies
Abhishek Aryacf4af862019-08-07 07:37:16 -070027As of August 2019, OSS-Fuzz has found [~14,000] bugs in over [200] open source
28projects.
Mike Aizatsky26819642016-10-06 14:02:52 -070029
Abhishek Aryacf4af862019-08-07 07:37:16 -070030[~14,000]: https://bugs.chromium.org/p/oss-fuzz/issues/list?can=1&q=-status%3AWontFix%2CDuplicate+-Infra
31[200]: https://github.com/google/oss-fuzz/tree/master/projects
Mike Aizatsky26819642016-10-06 14:02:52 -070032
Abhishek Aryacf4af862019-08-07 07:37:16 -070033## Blog posts
34
kplybon615ff3a2019-08-08 10:36:35 -040035* 2016-12-01 ([Open Source](https://opensource.googleblog.com/2016/12/announcing-oss-fuzz-continuous-fuzzing.html),
36[Testing](https://testing.googleblog.com/2016/12/announcing-oss-fuzz-continuous-fuzzing.html),
37[Security](https://security.googleblog.com/2016/12/announcing-oss-fuzz-continuous-fuzzing.html))
38* 2017-05-08 ([Open Source](https://opensource.googleblog.com/2017/05/oss-fuzz-five-months-later-and.html),
39[Testing](https://testing.googleblog.com/2017/05/oss-fuzz-five-months-later-and.html),
40[Security](https://security.googleblog.com/2017/05/oss-fuzz-five-months-later-and.html))
41* 2018-11-06 ([Security](https://security.googleblog.com/2018/11/a-new-chapter-for-oss-fuzz.html))
Abhishek Aryacf4af862019-08-07 07:37:16 -070042
43