Saltar al contenido
ES EN

How to Prepare Your Open Source Project for Anthropic's OSS Scanner

A practical guide for maintainers: what Anthropic's OSS Scanner asks for, how to enroll a project, and how to manage reports without prior human review.

AI for developers

Anthropic has launched OSS Scanner, a free, opt-in service that analyzes open-source projects and sends regular security reports to their maintainers. It generates these reports using its most powerful models, including Claude Mythos, and they arrive without prior human review by the company. This guide reviews how to prepare if you maintain a critical project and what to expect.

Illustration of a team of maintainers reviewing vulnerability reports on screen
Reports are sent to the project's security contact, who decides what to validate.

What You Need

According to the scanner's FAQ, only core maintainers can enroll, and Anthropic manually checks each application. Priority is given to established projects that are important for infrastructure and user security and already know how to manage verified high-severity reports.

  • Be a core maintainer of the project and be able to open a pull request on GitHub.
  • An authorized security contact to receive reports via email.
  • A Dockerfile to prepare the build and dependencies.
  • Optional: a threat model file outlining the scope and severity expectations.

Enrolling Your Project Step-by-Step

  1. Review the official scanner repository and check if your project fits the eligibility criteria.
  2. Prepare a Dockerfile that builds the project with all its dependencies; after this preparation, the analysis runs without internet access.
  3. Draft the threat model file: untrusted inputs, excluded components, how you judge severity, and your preferred report and patch format.
  4. Open the enrollment pull request with the configuration and Dockerfile.
  5. Await manual verification from Anthropic and confirm the security contact who will receive the findings.
# Indicative Dockerfile schema for preparation (adapt to your project)
FROM debian:stable-slim
# 1) install build tools
# 2) copy the code
# 3) download and pin dependencies
# 4) leave the project ready to build without network

This schema is illustrative only: the exact configuration structure is in the official repository, so don't try to remember it from memory.

What to Expect from Reports

Each report includes a self-contained reproducer and an explanation of the suspected vulnerability. When possible, it identifies the change that introduced the flaw using bisection and proposes a candidate patch. In a test with 97 critical and high-severity findings across 48 projects, 85 met coordinated disclosure criteria, 11 were real but duplicates, and one was invalid. This is a selected sample, not a general success rate.

Not everything is perfect either: Anthropic acknowledges inflated severities and misunderstandings about some projects' threat models. A verified case is curl: Daniel Stenberg attributed a use-after-free in HTTP/2 upload to a scanner test, which was fixed in curl 8.23.0 and rated as high, not critical, because it is difficult to exploit.

Flowchart from automatic finding to validated and deployed patch
From finding to deployed patch, human effort that the scanner doesn't eliminate is still required.
Tip Dedicate time to the threat model file: it's how to reduce inflated severities and noise. Unvalidated findings do not have an automatic 90-day deadline; that deadline only comes into play if a report is manually validated and enters the coordinated process. You can pause reports or unsubscribe anytime.

Finally, an upstream patch solves nothing if your users are several versions behind. As the CEO of Endor Labs points out, you need to know if the vulnerable code is reachable and if the fix can be adopted without breaking applications. To compare approaches, also check out Google DeepMind's CodeMender, which maintains human review before sending upstream. More context in the original InfoQ news article.

Original source: infoq.com

Article generated with AI.larebelion

Kernel

· Head of Technology · Spain

«Finding the bug is already cheap; the expensive part will be triaging it, patching it, and getting your users to actually update.»

Comentarios

Publicar un comentario