VOOZH about

URL: https://thenewstack.io/arcjets-python-sdk-embeds-security-in-code/

⇱ Arcjet's Python SDK Embeds Security in Code - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-01-16 14:00:25
Arcjet's Python SDK Embeds Security in Code
Programming Languages / Python / Security

Arcjet’s Python SDK Embeds Security in Code

The new SDK brings application-layer protections directly into Python code as AI development drives adoption and demand grows for in-code security controls.
Jan 16th, 2026 2:00pm by Darryl K. Taft
👁 Featued image for: Arcjet’s Python SDK Embeds Security in Code
Featured image by Anastasiya Romanova on Unsplash.

Security platform provider Arcjet has launched a Python SDK to bring application-layer security directly into code.

The SDK, now in beta, extends Arcjet’s security platform to Python-based services and APIs to meet customer demand and AI-driven Python growth, said Arcjet Founder and CEO David Mytton.

“We started with the JavaScript ecosystem, because that’s where most new applications are being built with full stack development,” he told The New Stack. The company started with support for both JavaScript and TypeScript applications.

However, “With the Python SDK, we’re extending Arcjet’s application-layer approach to one of the largest developer ecosystems in the world,” Mytton said in a statement. “Teams rely on Python for critical services, from public APIs to internal systems. This release gives developers a clear way to apply meaningful security controls directly in code without introducing operational overhead.”

Arcjet received a lot of requests for support for additional languages, with Python being the most popular.

The Django Python framework “is a particular driver of this, given its popularity for web applications and APIs, but AI use cases have accelerated Python’s popularity,” Mytton wrote.

Python Security Needs

Indeed, Python security is increasingly relevant as AI development drives Python adoption.

Earlier this week, Anthropic, a leading AI research and products company, invested $1.5 million in the Python Software Foundation (PSF). The investment will support the foundation overall, with a particular focus on Python ecosystem security.

Anthropic’s funds will enable the PSF to make progress on its security roadmap, including work designed to protect millions of PyPI users from attempted supply chain attacks, the foundation said.

Python is widely used for backend services and APIs — especially for AI applications — but most security tools operate at the network or edge layer, Mytton said. Arcjet brings security decisions into application code where developers have full access to request context and business logic, making protections more accurate and easier to manage, he explained.

Overall, the Arcjet Python SDK supports application-layer protections, including rate limiting, bot detection, email validation and signup spam prevention, Mytton said in the blog. These protections are evaluated using Arcjet’s contextual decision engine and applied as part of normal request handling, allowing teams to tailor behavior based on user activity, request patterns and application-specific signals.

The Arcjet SDK provides building blocks so security becomes just another feature, regardless of the deployment environment.

WebAssembly Component

Arcjet’s approach involves embedding a WebAssembly (Wasm) module in its SDK, allowing for local analysis of incoming requests at near-native speed.

The Wasm module is compiled from Rust and provides a secure sandbox for analysis, which is cross-platform and has now been extended to another language beyond JavaScript, Mytton said.

“The first version of the Python SDK is framework-ready for us to insert the WebAssembly bits into it so that we can do all the local analysis that we’ve been doing on the JavaScript side of things,” he said.

Furthermore, “Wasmtime allows us to execute WebAssembly inside Python,” Mytton explained. Wasmtime is an open source WebAssembly runtime hosted by the Bytecode Alliance and designed for use either as part of a larger stack or as a standalone runtime.

Just like Arcjet’s JavaScript SDK, the Python SDK uses WebAssembly for local security analysis. This is currently in test/beta phase, but it enables them to run their security analysis locally rather than just using an API client.

In addition, the Python SDK supports both FastAPI-style (asynchronous) and Flask-style (synchronous) APIs. Arcjet has example applications for both FastAPI and Flask.

TRENDING STORIES
Darryl K. Taft covers DevOps, software development tools and developer-related issues from his office in the Baltimore area. He has more than 25 years of experience in the business and is always looking for the next scoop. He has worked...
Read more from Darryl K. Taft
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Anthropic.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.