Repository navigation
Fixes for GitHub code scanning (CodeQL) alerts. No changes to the guide's text, rules or skills' behaviour.
- Ask Trevor example:
plainTextremoved HTML tags and comments in a single pass, so input such as<<b>script>left a tag behind once the inner one was removed. Tags and comments are now replaced with a space, repeatedly, so the pieces can't join up again, and any<still left becomes‹, so nothing can open markup (an unclosed<!--or<script, say). If you copied this sanitiser into your own server, update it. Tests now cover each case (57, up from 50). - Audit sandbox: the logging network sink listened on every interface of its container. It now listens only on its own address on the sandbox's closed network.
- Not changed: the alert on
sandbox/canaries.pywas about the deliberately fake credentials the sandbox plants to detect theft, and was dismissed as a false positive.
Full details in CHANGELOG.md.