Protecting Intellectual Priority in the Age of AI: Runnable Encrypted Code and Public Provenance for Private Repositories

The rise of AI-powered coding assistants introduces two new threats to researchers and developers working in private repositories: inadvertent content leakage through AI tools that read local files, and difficulty proving independent development when concurrent work appears publicly. This working paper presents two complementary tools. Shadow Archive provides timestamp evidence for private Git repositories by maintaining an obfuscated hash tree in a separate public repository. AiLock offers in-place file encryption with memory-only execution: files remain ciphertext in the working tree, while encrypted Python code is decrypted only inside a controlled runtime so it can still be run, imported, and inspected. Together, the tools form a lightweight toolkit for protecting intellectual priority in AI-assisted software development.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-17
DOI
https://doi.org/10.5281/zenodo.20480538
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Protecting Intellectual Priority in the Age of AI: Runnable Encrypted Code and Public Provenance for Private Repositories

Hongyun Luo
Zenodo (CERN European Organization for Nuclear Research)
Scientific Computing and Data Management
article

Protecting Intellectual Priority in the Age of AI: Runnable Encrypted Code and Public Provenance for Private Repositories

Hongyun Luo
article en

Abstract

The rise of AI-powered coding assistants introduces two new threats to researchers and developers working in private repositories: inadvertent content leakage through AI tools that read local files, and difficulty proving independent development when concurrent work appears publicly. This working paper presents two complementary tools. Shadow Archive provides timestamp evidence for private Git repositories by maintaining an obfuscated hash tree in a separate public repository. AiLock offers in-place file encryption with memory-only execution: files remain ciphertext in the working tree, while encrypted Python code is decrypted only inside a controlled runtime so it can still be run, imported, and inspected. Together, the tools form a lightweight toolkit for protecting intellectual priority in AI-assisted software development.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 14%
Scientific Computing and Data Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.