PEMark: Watermarking API Responses Based on Proxy Gateways and Position Encoding
Yifei Zhou, Xianjun Gu, Xinyu Dai, Ming Liu, Lansheng Han

TL;DR
PEMark introduces a novel, non-intrusive API response watermarking method using position encoding via a proxy gateway, ensuring traceability without disrupting business operations.
Contribution
It is the first to embed distortion-free watermarks into API responses by exploiting key order permutation without modifying data values.
Findings
Maintains business usability after watermark embedding
Achieves 100% robustness against tampering and insertion attacks
Can withstand certain deletion attacks
Abstract
Data leakage from API responses has drawn wide attention. APIs are often not fully regulated, making them easy to abuse. One common solution is to embed watermarks into API responses for traceability. However, existing watermarking methods often require modifying database content or API response data. This forces changes to business system code, and may even disrupt normal business operations because data values are altered. In this paper, we propose an original pluggable watermarking scheme based on a watermark proxy gateway and PEMark (Position Encoding-based Watermarking). The key novelty of our approach is exploiting the inherent permutation redundancy in the ordering of JSON/XML key-value pairs -- an overlooked dimension that carries no semantic information yet provides abundant encoding capacity. First, we forward server responses to the watermark proxy gateway, a design that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
