Python stdlib module — cgitb. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.enable()Neutralenable(display, logdir, context, format)
Install an exception handler that formats tracebacks as HTML.
.html()Neutralhtml(einfo, context)
Return a nice HTML document describing a given traceback.
.html_escape()Neutralhtml_escape(s, quote)
Replace special characters "&", "<" and ">" to HTML-safe sequences.
.lookup()Neutrallookup(name, frame, locals)
Find the value for a given name in the given environment.
.scanvars()Neutralscanvars(reader, frame, locals)
Scan one logical line of Python and look up values of variables used.
.text()Neutraltext(einfo, context)
Return a plain text document describing a given traceback.
| FQN | Field | |
|---|---|---|
| cgitb | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import cgitb