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

Fermyon Joins Akamai

https://www.fermyon.com/blog/fermyon-joins-akamai
1•lormayna•2m ago•0 comments

Show HN: I made a free tool to check iOS version market share

https://ioscompatibility.com
2•_jogicodes_•5m ago•0 comments

Who Invented Vector Clocks?

https://decomposition.al/blog/2023/04/08/who-invented-vector-clocks/
1•fanf2•8m ago•0 comments

Olson's portrait of SOE bravery in WW2 undone by incompetence at the top (2017)

https://www.afr.com/life-and-luxury/arts-and-culture/olsons-portrait-of-soe-bravery-in-ww2-undone...
1•robtherobber•10m ago•0 comments

Netflix Offers Mostly Cash for Warner Brothers

https://www.bloomberg.com/news/articles/2025-12-01/warner-bros-gets-mostly-cash-netflix-offer-in-...
2•mgh2•10m ago•0 comments

Goatmire Elixir 2025 – Elixir Programming Language Forum

https://elixirforum.com/t/goatmire-elixir-2025-videos/73509
1•amalinovic•13m ago•0 comments

Scientists Built a Working Computer Memory Out of Shiitake Mushrooms

https://www.sciencealert.com/scientists-built-a-working-computer-memory-out-of-shiitake-mushrooms
1•sundarurfriend•14m ago•0 comments

Double Threat: How AI Code Review Eradicates SQL Injection and Hardcoded Secrets

https://codeprot.com/articles/code-security.html
1•allenz_cheung•15m ago•0 comments

Visualize 4B Years: The Trillions of Generations: LUCA to Modern Human

https://www.g9n.com/tools/learning/evolution-visualisation
1•appsoftware•20m ago•1 comments

North American Computational Linguistics Open Competition

https://naclo.org/practice.php
1•Antibabelic•22m ago•0 comments

AI Headshot Generators Are Killing the $500 Photoshoot – Here's Why That Matters

https://medium.com/@naveensky/ai-headshot-generators-are-killing-the-500-photoshoot-heres-why-tha...
1•naveensky•24m ago•0 comments

Is Nano Banana Pro Overhyped?

https://twitter.com/GiaconeStefano/status/1995785300694471077
1•johntiror•27m ago•0 comments

Examining the security posture of an Anti-Crime Ecosystem [pdf]

https://github.com/GainSec/anti-crime-ecosystem-research/blob/main/whitepaper/GainSec_Whitepaper_...
1•beeburrt•29m ago•0 comments

Age of the 'scam state': how an illicit industry took root in south-East Asia

https://www.theguardian.com/technology/2025/dec/02/scam-state-multi-billion-dollar-industry-south...
1•n1b0m•30m ago•0 comments

Show HN: I want food – Simple swipe based restaurant discovery app

https://iwant.food/
2•b44rd•30m ago•0 comments

Invisible XML

https://www.xml.com/articles/2025/12/02/invisible-xml-update/
2•protomolecool•30m ago•1 comments

Rockstar co-founder compares AI to 'mad cow disease'

https://www.pcgamer.com/software/ai/rockstar-co-founder-compares-ai-to-mad-cow-disease-and-says-t...
2•nreece•31m ago•0 comments

Show HN: I was reintroduced to computers: Raspberry Pi

https://airoboticist.blog/2025/12/01/i-was-reintroduced-to-computers-raspberry-pi/
3•observer2022•36m ago•0 comments

After years building software, AI forced me to rethink a few assumptions

https://www.indiehackers.com/post/after-years-building-software-ai-forced-me-to-rethink-a-few-ass...
1•lyn03•36m ago•0 comments

Nvidia announces new open AI models and tools for autonomous driving research

https://techcrunch.com/2025/12/01/nvidia-announces-new-open-ai-models-and-tools-for-autonomous-dr...
1•sundarurfriend•38m ago•1 comments

Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025

https://chrisebert.net/comparing-aws-lambda-arm64-vs-x86_64-performance-across-multiple-runtimes-...
2•hasanhaja•38m ago•0 comments

Samsung Launches Galaxy Z TriFold Smartphone with 10-Inch Display

https://www.macrumors.com/2025/12/01/samsung-galaxy-z-trifold-debut/
2•tosh•39m ago•0 comments

DataGuard responds as German parliament passes NIS2

https://www.dataguard.com/press/nis2-in-germany
1•doener•40m ago•0 comments

London Mayor urged to ban ads promoting cars and flights

https://walthamforestecho.co.uk/2025/11/25/mayor-urged-to-ban-ads-promoting-cars-and-flights/
1•robtherobber•41m ago•0 comments

Show HN: Nakso – An Excalidraw Alternative for Desktop

https://nakso.app
2•niklauslee•47m ago•2 comments

Would you rent B300 (Blackwell Ultra) GPUs in Mongolia at –$5/HR?

https://old.reddit.com/r/LocalLLaMA/comments/1pbzw8f/would_you_rent_b300_blackwell_ultra_gpus_in/
1•guerrilla•47m ago•1 comments

Show HN: SQLite-repair-go – Recover corrupt SQLite DBs when standard tools fail

https://github.com/Tougee/sqlite-repair-go
1•touge•48m ago•0 comments

$0 1-Year SSL Certificates (Certum Root)

https://www.servbay.com/store
1•Saltyfishh•49m ago•2 comments

Stanford AI Club: Jeff Dean on Important AI Trends [video]

https://www.youtube.com/watch?v=AnTw_t21ayE
1•intelkishan•49m ago•0 comments

Duplication Isn't Always an Anti-Pattern

https://medium.com/@HobokenDays/rethinking-duplication-c1f85f1c0102
2•birdculture•51m ago•0 comments