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.

Show HN: App to spoof GPS location on iOS without jailbreaking

https://github.com/acheong08/ios-location-spoofer
1•acheong08•5m ago•0 comments

Fish Shell

https://fishshell.com/
2•RyanShook•9m ago•1 comments

Ask HN: How do you catch silent logic bugs that don't crash?

1•vortexshadow•10m ago•0 comments

GTA 6's Dynamic Economy Will Change Open‑World Games Forever

https://techfusiondaily.com/gta-6-dynamic-economy/
2•nelkazzu•15m ago•0 comments

Examplefile – Sample Document File Formats

https://www.examplefile.com/document
1•petethomas•17m ago•0 comments

Show HN: DefendFlow Domain Security Board – live scans of popular sites

1•riyao_lin•20m ago•0 comments

Show HN: Headroom (OSS): Cuts LLM costs by 85%

https://github.com/chopratejas/headroom
1•chopratejas•21m ago•1 comments

Breaking the Linearity Barrier: Recursive Swarms for Long-Horizon AI Engineering

https://www.blankline.org/research/horizon-mode
1•satvikpendem•23m ago•0 comments

Data Activation Thoughts

https://galsapir.github.io/sparse-thoughts/2026/01/17/data_activation/
1•galsapir•27m ago•0 comments

Show HN: My way – 18-agent autonomous workflow for ClaudeCode – issues to deploy

https://github.com/avifenesh/awesome-slash
2•anotherCodder•31m ago•0 comments

The life of a playboy publisher who shaped 20th-century literature

https://www.washingtonpost.com/books/2026/01/09/bennett-cerf-biography-nothing-random-feldman-boo...
1•benbreen•35m ago•0 comments

Revisiting Brat Summer: Artists, politicians, and the summer of 2024

https://thelastwave.substack.com/p/revisiting-brat-summer
2•johanam•35m ago•0 comments

Build Your Own AI Coding Agent (Full Guide) [video]

https://www.youtube.com/watch?v=3GjE_YAs03s
2•kburman•39m ago•0 comments

Umarell – men of retirement age who spend their time watching construction sites

https://en.wikipedia.org/wiki/Umarell
3•gurjeet•40m ago•0 comments

The SaaS Selloff: AI and Interest Rates

https://davefriedman.substack.com/p/the-saas-selloff-ai-and-interest
4•stosssik•42m ago•0 comments

BioNeMo Platform Accelerate AI-Driven Drug Discovery

https://nvidianews.nvidia.com/news/nvidia-bionemo-platform-adopted-by-life-sciences-leaders-to-ac...
1•gmays•44m ago•0 comments

How do I stop participating?

https://geohot.github.io//blog/jekyll/update/2026/01/18/how-do-i-stop.html
3•JuanJohnJames•46m ago•0 comments

AI Sandbox for Claude Code CLI with Node and Python SDKs

https://sandbox.stateset.app
2•domsteil•53m ago•0 comments

You Need More AWS Accounts Than You Think

https://cloudposse.com/blog/you-need-more-aws-accounts-than-you-think
4•mooreds•54m ago•4 comments

Show HN: Gollem – Go framework for agentic AI app with MCP and built-in tools

https://github.com/m-mizutani/gollem
1•masa00•1h ago•0 comments

A new way to call C from Java: how fast is it?

https://lemire.me/blog/2026/01/17/a-new-way-to-call-c-from-java-how-fast-is-it/
1•mfiguiere•1h ago•1 comments

How to Read a Room in 5 Minutes

https://oedmethod.substack.com/p/how-to-read-a-room-in-5-minutes
1•truenfel•1h ago•0 comments

AI and Corporate Capture of Knowledge

https://www.schneier.com/blog/archives/2026/01/ai-and-the-corporate-capture-of-knowledge.html
5•fosco•1h ago•0 comments

Algebra will return to S.F. middle schools after more than a decade

https://www.sfchronicle.com/bayarea/article/algebra-return-sf-middle-schools-21299694.php
1•mikhael•1h ago•0 comments

MIT's Computer Systems Security (2024)

https://css.csail.mit.edu/6.858/2024/
2•barishnamazov•1h ago•0 comments

More HTTP/3 focus, one back end less

https://daniel.haxx.se/blog/2026/01/17/more-http-3-focus-one-backend-less/
2•todsacerdoti•1h ago•0 comments

The Born-XML Shakespeare Edition: The View from the New Oxford Shakespeare

http://www.gabrielegan.com/publications/Egan2019e.htm
1•mmooss•1h ago•0 comments

IRISC: An ARMv7 assembly interpreter and computer architecture simulator

https://polysoftit.co.uk/irisc-web/
5•rtybanana•1h ago•1 comments

Show HN: Agam Space – Self-hosted, zero-knowledge, E2EE file storage

https://github.com/agam-space/agam-space
2•rameshl•1h ago•0 comments

Astronomers spot one of the largest spinning structures found in the Universe

https://www.ast.cam.ac.uk/news/astronomers-spot-one-largest-spinning-structures-ever-found-universe
2•hhs•1h ago•0 comments