frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Light without electricity? Glowing algae could make it possible

https://www.colorado.edu/today/2026/05/06/light-without-electricity-glowing-algae-could-make-it-p...
1•geox•17s ago•0 comments

OpenBSD Stories: The closest thing to cute kittens (OpenBSD/zaurus)

http://miod.online.fr/software/openbsd/stories/zaurus1.html
1•zdw•33s ago•0 comments

Show HN: Recursant, "Istio for agents", is now open source

https://github.com/ajensenwaud/recursant
2•hestefisk•1m ago•0 comments

Analysis Paralysis: Folders

https://nonogra.ph/analysis-paralysis-folders-05-06-2026
1•dekdrop•2m ago•0 comments

White-Collar Sweatshops

https://aeon.co/essays/what-made-law-into-a-white-collar-sweatshop-in-the-1980s
1•cstever•2m ago•0 comments

I built a window manager for stocks

https://finterm.xyz/dashboard
1•qemuguest•2m ago•0 comments

State Strategies to Subvert Fraudulent Uniform Commercial Code Filings [pdf]

https://www.nass.org/sites/default/files/reports/updated-ucc-fraudulent-filing-report-july2023.pdf
1•ilamont•3m ago•0 comments

Arcee Trinity Large Technical Report

https://arxiv.org/abs/2602.17004
2•tcp_handshaker•3m ago•0 comments

Making your own programming language is easier than you think (but also harder)

https://lisyarus.github.io/blog/posts/making-your-own-programming-language.html
1•atan2•4m ago•0 comments

View of Life: A Letter to Richard Dawkins

https://punyamishra.com/2026/05/04/this-view-of-life-a-letter-to-richard-dawkins/
1•freediver•4m ago•0 comments

Reviving the IBM Selectric Composer Fonts (2023)

https://www.kutilek.de/selectric/
1•tangus•5m ago•0 comments

Old Job Is Still Running You. You Just Don't Work There Anymore

https://www.derekneighbors.com/2026/05/05/your-old-job-is-still-running-you
2•speckx•8m ago•0 comments

Google Gemini app does not respect chat history preferences

1•great_psy•10m ago•0 comments

Walt Disney and the Romance of Building (A Ton of Apartment Buildings)

https://www.governance.fyi/p/walt-disney-and-the-romance-of-building
2•bigbobbeeper•10m ago•1 comments

What the OpenAI Agent Phone might feel like

https://kouh.me/openaiphone
2•mrkn1•10m ago•0 comments

How AI agent memory works

https://memory.cobanov.dev/
2•cobanov•11m ago•0 comments

Bitter Lessons from the ISSpresso

https://mceglowski.substack.com/p/bitter-lessons-from-the-isspresso
1•zdw•12m ago•0 comments

Supreme Court denies Apple breathing space in Epic fight

https://appleinsider.com/articles/26/05/06/supreme-court-denies-apples-hopes-for-breathing-space-...
1•benoau•14m ago•0 comments

Saved ~40GB of db space wasted on unused indexes

https://peerlist.io/raviojhax/articles/how-unused-indexes-ate-41gb-postgres
1•raviojha•14m ago•0 comments

March Amtrak Up 21%; Flying Up 7% Since 2019

https://ti.org/antiplanner/?p=23854
1•speckx•15m ago•0 comments

Programming Still Sucks

https://www.stvn.sh/writing/programming-still-sucks-fqffhyp
2•jeromechoo•15m ago•0 comments

Batch API is terrible for one agent. It might be great for a fleet

https://eran.sandler.co.il/post/2026-04-27-batch-api-is-terrible-for-one-agent/
1•gmays•19m ago•0 comments

Surveva: Global Social Polling

https://surveva.com/
1•faisalalothaina•19m ago•1 comments

A Mutation Gave Humans the Gift of Speech. These Mice Have It, Too

https://www.nytimes.com/2026/05/06/science/a-mutation-gave-humans-the-gift-of-speech-these-mice-h...
3•jonas21•19m ago•0 comments

Show+HN:YouTube Transcript API

https://youtubetranscript.us/
2•nikitarogers•19m ago•1 comments

Recondo – Logging Proxy for Coding Agents (Claude Code, Codex, Gemini)

https://github.com/recondodev/recondo
1•andmerm•19m ago•0 comments

DeepSeek could be valued at up to $50B in first fundraising

https://www.reuters.com/world/asia-pacific/deepseek-nears-45-billion-valuation-chinas-big-fund-le...
2•cmitsakis•22m ago•0 comments

What Happens When Fraud Tempts UK Workers? (2025)

https://www.cifas.org.uk/workplace-fraud-trends-2025
1•gnabgib•23m ago•0 comments

An agent OS built as narrow workers on iii primitives

https://www.agentsos.sh/
1•rohitghumare•25m ago•0 comments

Ask HN: Should coding agents fall back to another model when one fails?

https://www.zot.sh/#model-fallback
5•patriceckhart•27m ago•1 comments
Open in hackernews

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

https://pypi.org/project/agentshield-sdk/
2•iamsanjayk•1y 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•1y 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•1y 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.