Skip to content
vetkitChecksChangelogDocumentation

vetkit.jupyter.server.cors-any-origin

The Jupyter server allows cross-origin requests from any website (allow_origin = '*'). A malicious page can then drive the kernel API in the user's browser.

Last updated:

Suite: Security

regex

The Jupyter server allows cross-origin requests from any website (allow_origin = '*'). A malicious page can then drive the kernel API in the user's browser.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Remove allow_origin or set it to the exact origin of the front-end that embeds Jupyter.

References

Source: packages/engine/rules/sast/config.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.