Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

security: Create policy and thank previous reporters (#5162)

Dylan Madisetti32a9ad417f69
diff --git a/.github/workflows/marimo-bot.yml b/.github/workflows/marimo-bot.yml
index 7b8d52424c..517eeab0de 100644
--- a/.github/workflows/marimo-bot.yml
+++ b/.github/workflows/marimo-bot.yml
@@ -43,6 +43,7 @@ jobs:
head_sha="$(echo "$pr" | jq -r .head.sha)"
pushed_at="$(echo "$pr" | jq -r .head.repo.pushed_at)"
+ # NB mitigate potential race condition.
if [[ $(date -d "$pushed_at" +%s) -gt $(date -d "$COMMENT_AT" +%s) ]]; then
echo "Updating is not allowed because the PR was pushed to (at $pushed_at) after the triggering comment was issued (at $COMMENT_AT)"
exit 1
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000000..1c3db26357
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,21 @@
+# Security Policy
+
+## Reporting a Vulnerability
+
+To report a security vulnerability, [please draft an advisory through
+Github](https://github.com/marimo-team/marimo/security/advisories/new), or
+email the marimo team; engineering [at] marimo [dot] io.
+
+Advisories will be escalated to a CVE and/or a general advisory issued if end-users
+are directly impacted. Attribution for any actionable report will be provided
+in the section below (unless anonymity is preferred).
+
+## Recognition and Thanks
+
+We appreciate the efforts of those who report vulnerabilities, and thank the
+FOSS community at large for their contributions to security. We would like to
+acknowledge the contributions of the following individuals for their reporting:
+
+ - @AlexanderBarabanov
+ - @pwntester
+ - @s-celles
diff --git a/pyproject.toml b/pyproject.toml
index 40ab6e67e4..54d284c2a4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -517,6 +517,7 @@ extend-exclude = [
"**/snapshots/*",
"**/__demo__/*",
"base64.test.ts",
+ "SECURITY.md", # Contains usernames that trigger typos
]
[tool.black]