Security policy
Scope
This repository contains teaching material: LaTeX sources, original figures, small Python demonstrations and labs that run offline on synthetic data. It contains no production service.
Rules that apply to every contribution
- No secrets. Never commit API keys, tokens, passwords, private keys or
.envfiles. Labs read credentials from environment variables only; a.env.examplewith dummy values may be committed.tools/validate_assets.pyscans tracked files for common secret patterns and fails the build on a match. - No personal data. No student data, no private records, no confidential employer material. Datasets are synthetic unless a provenance file in
datasets/provenance/documents source, licence and cleaning. - Offline by default. Demos and labs must run without network access. External APIs are mocked in tests and CI. A lab that genuinely needs a paid account must say so at the top of its instructions and offer an offline alternative.
- No destructive commands in student material. Dangerous shell commands are shown as non-executable pseudocode or sandboxed simulations. Never instruct learners to pipe a remote script into a shell.
tools/validate_labs.pyrejects known dangerous patterns. - Least privilege for agents. Sessions on coding agents teach working-directory scoping, permission prompts, diff review and human approval before any destructive or outward-facing action.
- Human confirmation is required before modifying remote services, deploying, purchasing resources or publishing artifacts.
Reporting a problem
Report a vulnerability, a leaked secret or unsafe instructions privately to the repository owner, Simon-Pierre Boucher, through the private issue tracker of the hosting platform where this repository is published. Do not open a public issue for a leaked credential. No contact address is published in this repository on purpose.
If a secret is committed by mistake: revoke it first, then remove it from history, then report it.