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•10mo 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•10mo 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•10mo 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.

Show HN: iFrame Tester Gator

https://iframetest.com/
1•tonysurfly•1m ago•0 comments

Show HN: Graft – Your local environment, everywhere

https://graft.run
1•erdaniels•2m ago•0 comments

Canada's Bill C-22 Mandates Mass Metadata Surveillance of Canadians

https://www.parl.ca/DocumentViewer/en/45-1/bill/C-22/first-reading
2•opengrass•3m ago•0 comments

Russia's new elite hit squad was compromised by using Google Translate

https://theins.ru/en/inv/290235
1•amarcheschi•3m ago•0 comments

DriverExplorer – Windows kernel driver loader and viewer in Rust

https://github.com/orinimron123/DriverExplorer
1•orinimron123•4m ago•0 comments

I'm Too Lazy to Check Datadog Every Morning, So I Made AI Do It

https://quickchat.ai/post/automate-bug-triage-with-claude-code-and-datadog
1•piotrgrudzien•6m ago•0 comments

Turing, Gödel, and Church at Princeton in the 1930s (2012) [video]

https://www.youtube.com/watch?v=kO-8RteMwfw
1•gone35•8m ago•0 comments

Wizaskdo

https://github.com/xmonader/wizaskdo
1•aredirect•12m ago•1 comments

Show HN: Lux – Drop-in Redis replacement in Rust. 5.6x faster, ~1MB Docker image

https://github.com/lux-db/lux
2•mattyhogan•12m ago•1 comments

LessWrong Policy on LLM Use

https://www.lesswrong.com/posts/nQWavk9mnwcv6ScMR/new-lesswrong-editor-also-an-update-to-our-llm-...
2•xpe•13m ago•0 comments

It Ought to Be a Pull Door

https://elliotbonneville.com/it-really-ought-to-be-a-pull-door/
2•elliotbnvl•13m ago•0 comments

Show HN: Flutterby, an App for Flutter Developers

https://flutterby.app/
2•DavidCanHelp•14m ago•1 comments

Sewage Dump Is Now One of America's Best Bird Sanctuaries [video]

https://www.youtube.com/watch?v=gt_eVx5AX2s
1•EwanG•17m ago•0 comments

Show HN: PostSupremo – Generate authentically inauthentic LinkedIn content

https://www.postsupremo.com/
1•raphaelsoeiro•18m ago•0 comments

Show HN: HUMANTODO

https://humantodo.dev/
3•bodash•19m ago•1 comments

State Department Cuts Price of Renouncing U.S. Citizenship to $450

https://www.nytimes.com/2026/03/15/us/us-citizenship-renounce-price-cut.html
4•vinni2•22m ago•0 comments

Show HN: What Is Your Face Worth in the Modeling Industry?

https://facemaxxing.vercel.app/
1•roozka10•23m ago•0 comments

Show HN: Whspe – We decomposed TTFB to build a real hosting quality score

1•gezginweb•23m ago•0 comments

Reddit Post 4

https://old.reddit.com/r/PisequaltoNP/comments/1rupoi7/practical_pnp_paper/
1•KaoruAK•23m ago•0 comments

Ghost Logits: Simulating missing partition mass in sampled softmax [pdf]

https://github.com/yousef-rafat/MaximusLLM/blob/main/docs/maxis.pdf
1•yousef_g•24m ago•0 comments

The Toyota 4Runner Trailhunter's Snorkel Isn't Even a Snorkel, So Be Careful

https://www.thedrive.com/news/the-toyota-4runner-trailhunters-snorkel-isnt-even-a-snorkel-so-be-c...
3•PaulHoule•25m ago•0 comments

UK Companies House security blunder leaves director data exposed

https://www.accountingweb.co.uk/tech/tech-pulse/companies-house-security-blunder-leaves-director-...
3•mmarian•25m ago•0 comments

Demos of 2025 from the Demoscene

https://laurent.le-brun.eu/blog/the-best-demos-of-2025-from-the-demoscene
2•laurentlb•26m ago•0 comments

Show HN: 3D Tic Tak Toe – More Challenging Then You Think

https://arthur-ficial.github.io/tictactoe-3d/
2•franze•28m ago•1 comments

LLMs can be absolutely exhausting

https://tomjohnell.com/llms-can-be-absolutely-exhausting/
2•tjohnell•29m ago•0 comments

Show HN: A local-first genomic analysis toolkit

https://github.com/emrecolako/savior/
1•emre•29m ago•0 comments

BioNTech founders to depart, form new mRNA-focused company

https://www.statnews.com/2026/03/10/biontech-mrna-ugur-sahin-ozlem-tureci-depart-new-company/
2•brandonb•30m ago•0 comments

Claude-Code-Workflow – Orchestrate Multiple CLI Agents

https://github.com/catlog22/Claude-Code-Workflow
1•jeremyjh•30m ago•0 comments

ThoughtRAIL – A Multi-AI Thinkspace

https://thoughtrail.ai
1•codingnibble•33m ago•1 comments

. GotHub All the Things

https://x61.sh/log/2026/03/14032026191148-gothub.html
2•jnpnj•34m ago•1 comments