English · Français
Please don't open a public issue for a security vulnerability. Instead, contact the maintainer directly at hervecedricyouan@gmail.com with:
- a description of the problem and its impact;
- reproduction steps;
- the affected
django-goroutineversion.
A response is targeted within 5 business days.
django-goroutine runs application code on persistent thread and process
pools, shared across requests:
- A
@dbfunction runs outside the HTTP request's thread, but in the same process, with the same memory access and the same Django configuration (including sensitive settings) — this is not a sandbox. - A
@cpufunction runs in a separate process (ProcessPoolExecutor): its arguments and result go throughpickle. Never pass to@cpu/cpu_map()data coming directly from unvalidated user input while trusting its deserialization to unaudited third-party code — the risk isn't specific to this library, but to inter-processpicklein general. - Request context (user, language, session) travels through
group()viacontextvars/asgiref, like any other Djangoawait. A bug in a@db/@cpufunction that reads this context for the wrong user (data leak between requests) is a high-severity vulnerability and should be reported as such, not as a feature bug.