Skip to content

Commit

Permalink
feat: switch to Go fuzzing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Aug 11, 2023
1 parent a4b8599 commit 660f949
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 698 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20 as builder
FROM golang:1.21 as builder
WORKDIR /src
ARG VERSION

Expand Down
9 changes: 0 additions & 9 deletions Dockerfile-fuzz

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ We maintain a comprehensive suite of unit tests and recommend table-driven testi

### Fuzzing

We currently run fuzzing over ImageCashLetter in the form of a [`moov/bai2`](https://hub.docker.com/r/moov/bai2fuzz) Docker image. You can [read more](./test/fuzz-reader/README.md) or run the image and report crasher examples to [`security@moov.io`](mailto:security@moov.io). Thanks!
We currently run fuzzing over ACH in the form of a [Github Action](https://github.com/moov-io/ach/actions/workflows/fuzz.yml). Please report crashes examples to [`oss@moov.io`](mailto:oss@moov.io). Thanks!

## Related projects
As part of Moov's initiative to offer open source fintech infrastructure, we have a large collection of active projects you may find useful:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/moov-io/bai2

go 1.19
go 1.21

require (
github.com/go-kit/log v0.2.1
Expand Down
6 changes: 1 addition & 5 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,12 @@ endif
teardown:
-docker-compose down --remove-orphans

docker: update docker-hub docker-fuzz
docker: update docker-hub

docker-hub:
docker build --pull --build-arg VERSION=${VERSION} -t moov/bai2:${VERSION} -f Dockerfile .
docker tag moov/bai2:${VERSION} moov/bai2:latest

docker-fuzz:
docker build --pull -t moov/bai2fuzz:$(VERSION) . -f Dockerfile-fuzz
docker tag moov/bai2fuzz:$(VERSION) moov/bai2fuzz:latest

docker-push:
docker push moov/bai2:${VERSION}
docker push moov/bai2:latest
Expand Down
57 changes: 0 additions & 57 deletions test/fuzz-reader/README.md

This file was deleted.

1 change: 0 additions & 1 deletion test/fuzz-reader/corpus/sample1.txt

This file was deleted.

1 change: 0 additions & 1 deletion test/fuzz-reader/corpus/sample2.txt

This file was deleted.

1 change: 0 additions & 1 deletion test/fuzz-reader/corpus/sample3.txt

This file was deleted.

Loading

0 comments on commit 660f949

Please sign in to comment.