Skip to content

chore(python): update to 0.9.0#187

Merged
qw-in merged 1 commit into
mainfrom
quinn/python-sdk-0-9-0
Jun 30, 2026
Merged

chore(python): update to 0.9.0#187
qw-in merged 1 commit into
mainfrom
quinn/python-sdk-0-9-0

Conversation

@qw-in

@qw-in qw-in commented Jun 30, 2026

Copy link
Copy Markdown
Member

Update python examples to 0.9.0 version of the Python SDK

Notably we had to switch from astral/uv:python3.10-alpine to astral/uv:python3.10-trixie-slim which appears to be an upstream change in alpine. I'll open an issue to track it in arcjet-py

@qw-in qw-in requested a review from estellajaysong June 30, 2026 20:34
@qw-in qw-in self-assigned this Jun 30, 2026

@arcjet-review arcjet-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arcjet Review — 🟢 Low Risk

Decision: Approved

Rationale: This PR is a routine version bump of the arcjet Python SDK from 0.8.0 to 0.9.0 in two example projects (FastAPI and Flask). The user-facing change is the graduation of experimental_detect_prompt_injection to detect_prompt_injection (stable API), with the import and call sites updated accordingly. Dockerfiles are switched from python3.10-alpine to python3.10-trixie-slim. No application logic, auth, secrets, or infrastructure code is touched — these are example apps. No security concerns identified.

Summary of Changes

Bumps the arcjet Python SDK from 0.8.0 to 0.9.0 in the FastAPI and Flask examples, renames experimental_detect_prompt_injectiondetect_prompt_injection (now stable), and switches both example Dockerfiles from Alpine to Debian Trixie slim base images.

Escalation Triggers

  • Dependency Changes: pyproject.toml files updated to pin arcjet 0.9.0
  • CI/CD Pipeline: Dockerfile base image changed from alpine to trixie-slim in both example apps

Notes

Diff is small (~12 changed lines) and well within the 1000-line threshold. Loaded the security-review skill and found no issues: no secrets, no auth changes, no injection surface introduced, and the prompt-injection-detection rule semantics are unchanged (just an API rename from experimental to stable).

Path filtering: 2 files excluded by ignore paths. 6 of 8 files included in review.

Review: 95cf5cda | Model: anthropic/claude-opus-4-7 | Powered by Arcjet Review

Comment thread examples/fastapi/Dockerfile
Comment thread examples/flask/Dockerfile
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​arcjet@​0.8.0 ⏵ 0.9.0100100100 +1100100

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Low
Filesystem access: pypi arcjet

Location: Package overview

From: examples/fastapi/pyproject.tomlpypi/arcjet@0.9.0

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/arcjet@0.9.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@qw-in qw-in added this pull request to the merge queue Jun 30, 2026
Merged via the queue into main with commit 51ce422 Jun 30, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants