Skip to content

faiss#15344

Open
Sheri98 wants to merge 2 commits intogoogle:masterfrom
Sheri98:add-faiss
Open

faiss#15344
Sheri98 wants to merge 2 commits intogoogle:masterfrom
Sheri98:add-faiss

Conversation

@Sheri98
Copy link
Copy Markdown

@Sheri98 Sheri98 commented Apr 12, 2026

Summary

  • Add libFuzzer harness for FAISS, Meta's similarity search library (~40K stars)

  • FAISS is a transitive dependency in production vector databases, RAG pipelines, and recommendation engines

  • Harness targets index deserialization (read_index, read_index_binary, read_ProductQuantizer) plus runtime exercise of search, range_search, reconstruct, assign, compute_residual, and sa_decode on successfully-loaded indices

  • Includes 15-seed corpus covering Flat, HNSW, IVFFlat, IVFPQ, PQ, ScalarQuantizer, LSH, IDMap, PreTransform, and Binary index families

  • Includes dictionary with index magic bytes and format tokens

  • Sanitizers: ASan + UBSan

  • Engines: libFuzzer, AFL, honggfuzz

    Test plan

  • CLA check passes

  • Container build succeeds for all sanitizer/engine combinations

  • Harness achieves >10% function coverage on seed corpus replay

Sheri98 added 2 commits April 11, 2026 18:12
FAISS (Facebook AI Similarity Search) is a C++ library for efficient
similarity search and clustering of dense vectors, maintained by Meta
with ~40K stars. It is widely deployed in production ML systems as a
transitive dependency in vector databases, RAG pipelines, and
recommendation engines.

This adds a libFuzzer harness targeting FAISS index deserialization
(read_index, read_index_binary, read_ProductQuantizer) plus runtime
exercise of search, range_search, reconstruct, assign, compute_residual,
and sa_decode on successfully-loaded indices.

Sanitizers: ASan + UBSan. Engines: libFuzzer, AFL, honggfuzz.
@github-actions
Copy link
Copy Markdown

Sheri98 is integrating a new project:
- Main repo: https://github.com/facebookresearch/faiss.git
- Criticality score: 0.60838

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant