diff --git a/no-ambient-authority/SKILL.md b/no-ambient-authority/SKILL.md index b8cd9a5..3384acc 100644 --- a/no-ambient-authority/SKILL.md +++ b/no-ambient-authority/SKILL.md @@ -59,6 +59,12 @@ before writing or refactoring a Python script; don't invent conventions. - Checker: run `~/projects/awesome-ocap/tools/disciplined_python_check.py path/to/script.py` and treat each finding as a bug. It points at matching before/after examples in `tests/fixtures/disciplined_python/{errors,fixed}/`. +- Calibration: Python can't enforce a capability boundary (name mangling + and introspection get around any wrapper), so for a small script, + attenuation that lives mostly in names is fine. An example: a read-only + library view whose path object could still POST. GET-only is ideal; + note the gap honestly and move on. Robustness against adversaries + means leaving Python (e.g. for Hardened JavaScript). ## how this shows up in review