Fix hancock OSS-Fuzz integration: system deps, atheris install, copyright year#63
Merged
0ai-Cyberviser merged 2 commits intoadd-hancock-projectfrom Apr 8, 2026
Conversation
…yright year Agent-Logs-Url: https://github.com/0ai-Cyberviser/oss-fuzz/sessions/25cdfaef-3855-40a9-9ade-7eb81ee1835f Co-authored-by: 0ai-Cyberviser <266508493+0ai-Cyberviser@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix OSS-Fuzz integration files for Hancock project
Fix hancock OSS-Fuzz integration: system deps, atheris install, copyright year
Apr 8, 2026
0ai-Cyberviser
approved these changes
Apr 8, 2026
There was a problem hiding this comment.
Pull request overview
Updates the OSS-Fuzz integration for the hancock project to address build/runtime blockers in its Dockerfile and build script, aligning the integration with OSS-Fuzz expectations for dependencies and licensing headers.
Changes:
- Correct copyright headers from 2026 to 2025.
- Add missing system packages (
nmap,libmaxminddb-dev) and clean apt metadata in the project Dockerfile. - Ensure
atherisis installed explicitly before installing the project’s Python requirements.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| projects/hancock/Dockerfile | Adds required OS dependencies and cleans apt lists; fixes copyright year. |
| projects/hancock/build.sh | Installs atheris explicitly before requirements; fixes copyright year. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three blockers in the hancock OSS-Fuzz integration files that would prevent the PR from building or being merged.
projects/hancock/Dockerfile2026→2025nmapandlibmaxminddb-devtoapt-get install— required at runtime bypython-nmapandmaxminddbrespectively; absent from the base image&& rm -rf /var/lib/apt/lists/*RUN apt-get update && apt-get install -y python3-dev nmap libmaxminddb-dev \ && rm -rf /var/lib/apt/lists/*projects/hancock/build.sh2026→2025pip3 install atherisbefore therequirements.txtinstall — all 8 fuzz targets import atheris but it is not inrequirements.txt, so fuzz targets would fail to build without thispip3 install atheris pip3 install -r "$SRC/hancock/requirements.txt"Original prompt
Fix OSS-Fuzz integration files for Hancock project
The branch
add-hancock-projectin this repo contains the OSS-Fuzz integration for Hancock (PR google#15315 against google/oss-fuzz). Three files need to be updated to fix critical blockers that will prevent the PR from being merged.1.
projects/hancock/Dockerfile— Add missing system dependencies and fix copyright yearCurrent file:
Required changes:
Copyright 2026toCopyright 2025nmapandlibmaxminddb-devto theapt-get installline (required bypython-nmapandmaxminddbPython packages)&& rm -rf /var/lib/apt/lists/*to clean up apt cacheThe updated file should be:
2.
projects/hancock/build.sh— Fix copyright year and add explicit atheris installCurrent file:
Required changes:
Copyright 2026toCopyright 2025pip3 install atherisbefore the requirements.txt install as a safety net (atheris is the fuzzing framework all 8 fuzz targets depend on)The updated file should be: