← Lab /AI/ML

Small-angle orthogonal rotation of embeddings evades detection, enabling steganographic data exfiltration

An attacker with write access can embed hidden payloads in vector embeddings without affecting retrieval results

AI/ML arXiv 13 May 2026 Attack Prototype evidence Threat model

Published as “VectorSmuggle: Steganographic Exfiltration in Embedding Stores and a Cryptographic Provenance Defense”

Why it matters

Operators of RAG pipelines should adopt embedding-level provenance (e.g., VectorPin) because statistical anomaly detection alone cannot reliably block steganographic exfiltration.

Summary

Small-angle orthogonal rotation of embeddings evades off-the-shelf statistical detectors across every model and corpus tested, while distribution-shifting perturbations are caught by Isolation Forest and One-Class SVM with ROC-AUC ≥0.85. Adaptive white-box attackers can further drive detector AUC to near-zero while preserving cosine similarity. At higher rotation capacities the attacks become detectable (OCSVM AUC ≈0.92 at 256 B, ≥0.99 at 512 B). The paper proposes VectorPin, a cryptographic provenance protocol that breaks verification for any post-embedding modification, offering a durable defense. The evidence is based on experiments with a synthetic PII corpus and two public-benchmark corpora totaling over 26 000 chunks.

What they found 3

  1. Small-angle orthogonal rotation defeats distribution-based detection across every (model, corpus) pair tested.

    “small-angle orthogonal rotation defeats distribution-based detection across every (model, corpus) pair tested.”

  2. Isolation Forest and One-Class SVM flag every embedding perturbation with cosine change <0.95 at ROC-AUC ≥0.85, some reaching 1.00.

    “two off-the-shelf statistical detectors - Isolation Forest [15] and One-Class SVM [26] with an RBF kernel - trained on a held-out clean batch flag every operating point that meaningfully moved the embedding direction (cos(orig, obf) < 0.95) at ROC-AUC ≥0.85, with several configurations reaching 1.00.”

  3. Any post-embedding modification breaks VectorPin signature verification.

    “Any post-embedding modification - including all studied techniques, both perturbation and architectural-smuggling variants - breaks signature verification.”

Caveats 6

  • At higher rotation capacity, OCSVM AUC ≈0.92 at 256 B and ≥0.99 at 512 B, making the attack detectable.
  • Adaptive white-box attackers with detector access drive both AUCs to near-zero while keeping cosine similarity above 0.99.
  • The headline detection numbers in Section 5.3 are computed on 68 syntheticPII chunks split into 27 detector-training and 41 test vectors.
  • The cross-corpus replication ... reproduces the directional findings to three decimal places - rotation AUC = 0.500 on both new corpora, matching the synthetic-corpus value.
  • The headline detection numbers in Section 5.3 come from text-embedding-3-large.
  • The empirical payload-capacity demonstration ... assumes the receiver has both the original v and the rotated Rv, which we map onto the attacker-controlled-corpus case of the threat model.

What’s new here 4

  • Empirical evaluation of embedding-level steganography across multiple models, corpora, and vector-store backends.
  • Demonstration that small-angle orthogonal rotation is undetectable by standard anomaly detectors on real-world embeddings.
  • Introduction of VectorPin, a lightweight Ed25519-based provenance scheme for embeddings with cross-language reference implementations.
  • Open-source release of Python and Rust implementations and test vectors for reproducibility.

Threat model stated by the source

AdversaryInsider with backup access (privileged engineer)
Assumestrusted ingestion path; signing-key custody; no compromise of signing key