通过模块放置实现软件仓库的盲水印
Blind Watermarking of Software Repositories via Module Placement
AI总结:
本文提出PlaceMark盲水印系统,将有效载荷编码在软件仓库模块放置中,经实验验证其在多数文本变换下可精确恢复,可作为源文本水印的补充载体。
摘要:
源代码水印通过在软件制品中嵌入可恢复的标识符来支持溯源追踪。现有许多方法将该标识符编码为令牌或程序语法,使水印易受修改源文本的变换影响。本文提出PlaceMark,一种盲水印系统,将有效载荷编码在仓库内模块的放置位置中。每个合格模块由其文件名和顶层定义名称识别,密钥确定其有序候选目标位置及读取顺序中的位置,模块在候选列表中的位置决定编码符号。嵌入操作会重定位选定模块并更新其导入引用。提取过程使用分布式仓库、密钥及约定解码参数,无需原始副本或放置账本。对10个Python仓库的容量测量显示,9个仓库的标称容量为249至2166比特,1个仓库无放置通道。在216次评估的文本变换试验中,有效载荷被精确恢复。在Django、Airflow和Salt上,重定位会逐渐降低恢复率;在Pylint上,我们实现中基于路径的排除机制使重定位能改变载体成员,我们针对无目标对手及将预算集中在公共载体集的对手进行了测量。文件名或定义名称的更改会改变身份输入,已单独测量。精确恢复还取决于放置可行性。结果表明模块放置可作为载体,补充嵌入在源文本中的水印。
英文摘要:
Source-code watermarking supports provenance tracking by embedding a recoverable identifier in a software artifact. Many existing approaches encode this identifier in tokens or program syntax, exposing the watermark to transformations that modify the source text. We present PlaceMark, a blind watermarking system that encodes a payload in the placement of modules within a repository. Each eligible module is identified by its filename and top-level definition names. A secret key determines its ordered candidate destinations and its position in the reading order; the module's location within its candidate list determines the encoded symbol. Embedding relocates selected modules and updates their import references. Extraction uses the distributed repository, the key, and agreed decoding parameters, without an original copy or placement ledger. Capacity measurements on ten Python repositories yield nominal capacities of 249 to 2,166 bits in nine repositories, while one provides no placement channel. In 216 trials of the evaluated text transformations, the payload is recovered exactly. Relocation degrades recovery gradually on Django, Airflow and Salt, while on Pylint a path-based exclusion in our implementation lets relocation change carrier membership, and we measure it for an untargeted adversary and for one that concentrates its budget on the public carrier set. Changes to filenames or definition names alter the identity input and are measured separately. Exact recovery also depends on placement feasibility. The results characterize module placement as a carrier that can complement watermarks embedded in source text.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。