frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: AgentShield SDK – Runtime security for agentic AI applications

https://pypi.org/project/agentshield-sdk/
2•iamsanjayk•8mo ago
Hi HN,

We built AgentShield, a Python SDK and CLI to add a security checkpoint for AI agents before they perform potentially risky actions like external API calls or executing generated code.

Problem: Agents calling arbitrary URLs or running unchecked code can lead to data leaks, SSRF, system damage, etc.

Solution: AgentShield intercepts these actions:

- guarded_get(url=...): Checks URL against policies (block internal IPs, HTTP, etc.) before making the request.

- safe_execute(code_snippet=...): Checks code for risky patterns (os import, eval, file access, etc.) before execution.

It works via a simple API call to evaluate the action against configurable security policies. It includes default policies for common risks.

Get Started:

Install: pip install agentshield-sdk

Get API Key (CLI): agentshield keys create

Use in Python: from agentshield_sdk import AgentShield # shield = AgentShield(api_key=...) # await shield.guarded_get(url=...) # await shield.safe_execute(code_snippet=...)

Full details, documentation, and the complete README are at <https://pypi.org/project/agentshield-sdk/>

We built this because securing agent interactions felt crucial as they become more capable. It's still early days, and we'd love to get your feedback on the approach, usability, and policies.

Comments

subhampramanik•8mo ago
Looks interesting -- Does it work like a wrapper on top of OpenAI specs? Like, can we just replace the OpenAI package with this, and it's fully integrated?
iamsanjayk•8mo ago
Hey, thanks for asking! Good question.

AgentShield isn't a wrapper around the OpenAI package, so you wouldn't replace openai with it. Think of AgentShield as a separate safety check you call just before your agent actually tries to run a specific risky action.

So, you'd still use the openai library as normal to get your response (like a URL to call or code to run). Then, before you actually use httpx/requests to call that URL, or exec() to run the code, you'd quickly check it with shield.guarded_get(the_url) or shield.safe_execute(the_code).

Currently, It focuses on securing the action itself (the URL, the code snippet) rather than wrapping the LLM call that generated it.

Kiwix: Free educational content, offline browser apps, and local hotspot device

https://kiwix.org/en/
1•adityaathalye•3m ago•1 comments

The Economist – Archive 1945 – NotebookLM

https://notebooklm.google.com/notebook/34510332-d39c-499e-882d-e48393d612cd
1•instagraham•8m ago•0 comments

ChatGPT involvement in mentally-ill person's murder and suicide

https://en.wikipedia.org/wiki/Murder_of_Suzanne_Adams
2•d_silin•9m ago•0 comments

Show HN: Sessy – Open-source email observability for AWS SES

https://github.com/marckohlbrugge/sessy
1•marckohlbrugge•11m ago•0 comments

Fork Yeah: We're keeping ingress-Nginx alive

https://www.chainguard.dev/unchained/keeping-ingress-nginx-alive
1•gpi•13m ago•0 comments

Crazy Jam Jar: Match-3 Blast for Nonstop Fun

https://ibb22.com/casino/bbgame-13370/
1•gamedemoplayer•14m ago•1 comments

A Big, Long Day: The Fastest Known Time on the Everest Base Camp Trail

https://strivetrips.org/blog/ebc-writeup/
2•mcoliver•15m ago•0 comments

A new era of Stack Overflow

https://stackoverflow.blog/2025/12/30/a-new-era-of-stack-overflow/
1•gudzpoz•16m ago•0 comments

Sirius DB

https://www.sirius-db.com/
1•manoji•18m ago•0 comments

Conduit (Rust Matrix Server) v0.10.11 another critical vulnerability

https://conduit.rs/changelog/#v0-10-11-2025-12-30
2•acheong08•25m ago•0 comments

Apps Let You Bet on Deportations and Famine. Mainstream Media Is Eating It Up

https://theintercept.com/2025/12/29/polymarket-kalshi-betting-prediction-cnn-news-media/
2•thm•32m ago•0 comments

Show HN: S3Broker – CF Worker library to protect your S3 storage from ransomware

https://github.com/tsunrise/s3broker
1•tsunrise•33m ago•0 comments

Show HN: Perfetto2LLM - A tool to pass system traces to an LLM

https://perfetto-to-llm.vercel.app/
2•ak2242•34m ago•0 comments

Nexels

https://lessvrong.com/cs/nexels/
1•ibobev•35m ago•0 comments

Show HN: Supertictactoe.gg – A real-time PvP implementation of Ultimate TTT

https://supertictactoe.gg
1•dheesh•35m ago•0 comments

Direct3D 12: The Behavior of ClearUnorderedAccessViewUint/Float

https://asawicki.info/news_1795_secrets_of_direct3d_12_the_behavior_of_clearunorderedaccessviewui...
1•ibobev•36m ago•0 comments

Microsoft's Nadella overhauls leadership as he plots AI strategy beyond OpenAI

https://www.ft.com/content/255dbecc-5c57-4928-824f-b3f2d764f635
4•JamesAdir•36m ago•1 comments

OpenUSD Core Spec 1.0 is Here

https://aousd.org/blog/foundations-of-open-3d-development-introducing-aousd-core-specification-1-0/
1•ibobev•38m ago•0 comments

RunST does not prevent resources from escaping

https://welltypedwit.ch/posts/runst-does-not-prevent-resources-from-escaping.html
1•todsacerdoti•40m ago•0 comments

ByteDance to pour US$14B into Nvidia chips in 2026

https://www.scmp.com/tech/big-tech/article/3338191/bytedance-pour-us14-billion-nvidia-chips-2026-...
2•mfiguiere•40m ago•0 comments

New Yorker Dr. Berkan's New Channel RogoTRON

https://www.youtube.com/channel/UCGlaL2xCv4X1hDb1fQhU74w
1•northlondoner•44m ago•0 comments

Questions to ask yourself every year

https://gourav.io/blog/yearly-review
3•jerrygoyal•51m ago•2 comments

I Won a Teknofest 2025: A Step-by-Step Guide

https://www.notion.so/yapsgg/How-I-Won-a-TEKNOFEST-2025-A-Step-by-Step-Guide-2d2465f04ab58023bed5...
1•abdibrokhim•52m ago•1 comments

Study links America's favorite cooking oil to obesity

https://medicalxpress.com/news/2025-11-links-america-favorite-cooking-oil.html
2•PaulHoule•1h ago•0 comments

Show HN: Weekly newsletter with tactical frameworks from 50 $1M+ founders

https://www.doanything.com/preview/uXalImXcFZk
1•AlexMorganFndr•1h ago•0 comments

How musicals use motifs to tell stories

https://pudding.cool/2025/12/motifs/
1•gmays•1h ago•0 comments

Ask HN: What to do when Claude Code is writing code?

1•brihati•1h ago•2 comments

Show HN: Schengen Calculator – Avoid €5K Fines for Overstaying EU"

https://owlfacts.com
1•sunrays•1h ago•1 comments

A personal recap of 2025: on running, LLMs, family, coffee, work

https://dimitarmisev.com/blog/2025-recap
1•misev•1h ago•0 comments

I Built a Module System for a Language That Doesn't Have One

https://www.claudianadalin.com/blog/building-pinecone
1•xbmcuser•1h ago•0 comments