SPB Git

Repository Public License Research preview

SECURITY.md 2.0 KB 21 lines markdown

1# Security policy23## Scope45This repository contains teaching material: LaTeX sources, original figures, small Python demonstrations and labs that run offline on synthetic data. It contains no production service.67## Rules that apply to every contribution89- **No secrets.** Never commit API keys, tokens, passwords, private keys or `.env` files. Labs read credentials from environment variables only; a `.env.example` with dummy values may be committed. `tools/validate_assets.py` scans tracked files for common secret patterns and fails the build on a match.10- **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.11- **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.12- **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.py` rejects known dangerous patterns.13- **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.14- **Human confirmation** is required before modifying remote services, deploying, purchasing resources or publishing artifacts.1516## Reporting a problem1718Report 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.1920If a secret is committed by mistake: revoke it first, then remove it from history, then report it.21
Files main
Menu

Theme