Skip to content
mentoor

Licensing and provenance

For engineers

Open-source licences, where generated code came from, attribution, licence scanning and company policy for AI coding tools

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

Which licence is permissive?

Choose one answer

Check yourself · 2 of 5

A generated 150-line function has an unusual structure and a comment naming another project. What is the best next step?

Choose one answer

Check yourself · 3 of 5

You ship a product using an MIT-licensed package. What must you do?

Choose one answer

Check yourself · 4 of 5

A scan of an agent's pull request flags a package under AGPL-3.0-only, used at runtime in your hosted API, and your policy denies AGPL. What do you do?

Choose one answer

Check yourself · 5 of 5

Which clause belongs in an AI coding tool policy?

Choose one answer

Topics

  1. Open-source licences engineers must know4 min read · Permissive (MIT, Apache-2.0, BSD) versus copyleft (GPL, AGPL, LGPL, MPL) and what each obliges when code ships
  2. Tracing where generated code came from4 min read · Verbatim matches with public code, code-referencing filters in assistants, and recording which tool wrote which change
  3. Attribution, notices and SPDX identifiers4 min read · When licences require notices and copyright headers, NOTICE files, and SPDX identifiers and SBOMs that track them
  4. Licence scanning before merge4 min read · Tools such as ScanCode and dependency-review checks that flag incompatible licences in an agent's change
  5. Company policy for AI coding tools4 min read · Approved tools, data retention and training opt-outs, IP indemnity, and rules for what code may be sent to a model

Start here

110 questions · last verified 2026-12