Skip to content

[Backlog]: Reverse Engineering Embeddings #29

Description

@felipepenha

Checklist

  • Backlog entry requires creating new sandboxes.
  • Backlog entry requires creating new exploitation code and/or tutorials.

CVE List

No response

Description

Summary

Exploitation that obtain text from a vector database.

GenAI Red Teaming Manual Reference

4.2.2.1 Embedding Inversion Attacks / A. Reverse Engineering Embeddings

Sandbox

Reuse sandboxes/RAG_local, which stores embedding vectors locally with chromadb.

Developer must check whether any change to sandboxes/RAG_local is necessary.

Exploitation

Obtain access to the sandbox vector database and the embedding model API.

The embedding model will be probed by coupling

https://github.com/ranfysvalle02/hacking-vectors

The learned model will, then, be used to invert vectors from the vector database.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions