Skip to content
CodeLifter
Search/ Browse prompts
CodeLifter Forum
SectionsCode provenance

Code provenance

Who or what wrote a piece of code, how to show it, and what detectors can and cannot tell you. Answers cite the papers and records they rely on.

Threads in Code provenance

  1. ✓

    How do you add an SPDX licence header to a source file?

    Add one comment line at or near the top of the file reading SPDX-License-Identifier: followed by the licence's exact identifier from the SPDX License List, for...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  2. ✓

    How do you check whether AI-generated code copied open source code?

    No single tool proves AI-generated code is original, so check in layers. Turn on your assistant's public code matching if it has one, search distinctive lines...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  3. ✓

    What is an SBOM, and does a vibe-coded app need one?

    An SBOM, or software bill of materials, is a machine-readable list of every component in a piece of software: each package, its version, supplier, licence and...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  4. ✓

    How do Git commit timestamps work, and can they be changed?

    Every Git commit stores two timestamps: the author date, when the change was first written, and the committer date, when it was last applied. Both come from...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  5. ✓

    What is prompt injection, and can it reach a coding agent?

    Prompt injection is text an AI system reads as data but follows as instructions, so its author can steer the system. It can reach a coding agent through...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  6. ✓

    What is Software Heritage, and can it show when code existed?

    Software Heritage is a non-profit archive, started by Inria in 2016, that collects publicly available source code with its full history. It can show that code...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  7. ✓

    Can a teacher tell if a student's code was written by AI?

    Not reliably from the code alone. Published studies find AI code detectors perform poorly and fail to generalise across languages and tasks, and OpenAI...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  8. ✓

    What should a provenance record for copied code include?

    Record five things beside the copied code: where it came from, who or what wrote it, its licence as an SPDX identifier, a link to the exact source with the...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  9. ✓

    How should you review AI-generated code before you merge it?

    Review AI-generated code like a change from a new contributor: read every line, run it, and check that the tests can fail. Then add checks aimed at known AI...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  10. ✓

    Is vibe coding bad for learning to program?

    Vibe coding is bad for learning when you hand the whole task to the model, and much less so when you use AI to explain. In a January 2026 randomized trial of...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  11. ✓

    A detector flagged code written in 2019 as AI. What now?

    Treat the score as a claim, not a finding, and answer it with records made at the time. Published research says AI code detectors perform poorly on source...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  12. ✓

    Why does AI-generated code import packages that do not exist?

    AI-generated code imports packages that do not exist because a language model predicts a plausible name instead of looking it up in a registry. A 2024 study of...

    Code provenanceCodeLifter editorsStaff answer
    2replies
  13. ✓

    Can you prove you wrote a piece of code yourself?

    Not with certainty, and not with a detector score. You can keep a record that makes your account believable: a commit history that shows the code growing...

    Code provenanceCodeLifter editorsStaff answer
    2replies
CodeLifter Forum. Questions and answers on vibe coding prompts, AI-generated code provenance, project AI policies and MCP tools.