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.

Teens sue xAI over Grok's pornographic images of them

https://www.bbc.com/news/articles/cgk2lzmm22eo
1•1659447091•15s ago•0 comments

Show HN: Ssh.bot – Controlled SSH Access for AI Agents

https://ssh.bot
1•lobovkin•1m ago•0 comments

Show HN: Couplecore.me – Dead-simple custom couple landing pages

https://couplecore.me
1•andresribeiro•2m ago•0 comments

Show HN: Billing software built for expert witnesses

https://myexpertpractice.com
1•watsoft•6m ago•1 comments

Native PCVR Running on macOS

https://twitter.com/cyannick/status/2033602617339789495
1•LorenDB•6m ago•2 comments

Islamvy – I built this when my dreams wouldn't stop and I felt alone

https://apps.apple.com/ae/app/islamvy/id6759146306
1•myusufuysal•7m ago•0 comments

Short-term survival of tardigrades in Martian regolith simulants

https://www.cambridge.org/core/journals/international-journal-of-astrobiology/article/shortterm-s...
1•PaulHoule•9m ago•0 comments

FCR: Single-Slot Confirmation for Ethereum

https://fastconfirm.it
1•bpierre•9m ago•0 comments

Iran earns oil windfall as US turns blind eye

https://www.ft.com/content/35e815ef-46f3-4169-a39d-cc6bafdfbc1c
1•JumpCrisscross•11m ago•0 comments

Stream0, the messaging layer for AI agents. HTTP-native, event-driven

https://github.com/risingwavelabs/stream0
1•jinqueeny•12m ago•0 comments

Reasons to be pessimistic (and optimistic) on the future of biosecurity

https://www.owlposting.com/p/reasons-to-be-pessimistic-and-optimistic
1•paulpauper•12m ago•0 comments

How a Deep Learning Library Enables Learning

https://www.henrypan.com/blog/2026-03-14-how-deep-learning-library-enables-learning/
1•megadragon9•14m ago•0 comments

How Much Cognitive Damage Does a Phone Notification Do?

https://carlhendrick.substack.com/p/how-much-cognitive-damage-does-a
1•wilsonjholmes•15m ago•0 comments

Show HN: Trackm, a personal finance web app

https://trackm.net
5•iccananea•19m ago•0 comments

The Audit Labs

https://theauditlabs.com
1•Ralevski•21m ago•0 comments

CEO Asks ChatGPT to Void $250M Contract, Ignores Lawyers, Loses Terribly

https://www.404media.co/ceo-ignores-lawyers-asks-chatgpt-how-to-void-250-million-contract-loses-t...
1•defrost•21m ago•0 comments

Show HN: Browse-your-way – use LLMs to browse a customizable web

https://browse-your-way.vercel.app/news.ycombinator.com
1•MaxLeiter•24m ago•0 comments

Nvidia DGX Station

https://www.nvidia.com/en-us/products/workstations/dgx-station/
3•jjcm•28m ago•3 comments

Extreme Strawberry Growing in South Korea

https://www.nytimes.com/card/2026/03/16/world/asia/south-korea-strawberry-farming
3•bookofjoe•31m ago•1 comments

Hedystia DB – A type-safe ORM for TypeScript with smart caching

https://docs.hedystia.com
2•Zastinian•32m ago•0 comments

Show HN: EyesOff – On-device AI that catches shoulder surfers

https://www.eyesoff.app
1•Two_hands•32m ago•0 comments

Apollo's John Zito questions private equity's software valuations

https://www.cnbc.com/2026/03/16/apollo-john-zito-private-equity-software-valuations.html
1•rpcope1•37m ago•0 comments

Adding Innovation Labs

https://www.rubick.com/innovation-labs/
1•donutshop•40m ago•1 comments

The Unbroken Chain

https://www.ersinakinci.com/p/the-unbroken-chain
1•earksiinni•40m ago•0 comments

Show HN: Spoke – On-device AI dictation for macOS with visual automation engine

https://usespoke.app/
2•usespoke•45m ago•1 comments

Analysis of Endocrine Disruptors and Hazardous Additives in Headphones

https://arnika.org/en/publications/the-sound-of-contamination
3•shaicoleman•46m ago•0 comments

Show HN: AI Products Quality Monitoring

https://www.useargoos.com/
1•aleksam•47m ago•0 comments

Ukraine's Defense Industrial Base–An Anchor for Economic European Security

https://www.cfr.org/articles/securing-ukraines-future-in-europe-ukraines-defense-industrial-base-...
2•JumpCrisscross•48m ago•0 comments

Technical Analysis of CVE-2025-14500: IceWarp Webmail Pre-Auth RCE Chain

https://mileniumsec.com/blog/cve-2025-14500-icewarp-analysis
2•azqzazq•50m ago•1 comments

US judge blocks efforts to reshape childhood vaccine policy

https://www.reuters.com/world/us-judge-blocks-efforts-reshape-childhood-vaccine-policy-2026-03-16/
6•kaycebasques•51m ago•1 comments