frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Kids Are Not Okay (With Tech)

https://www.solarshades.club/p/the-kids-are-not-okay-with-tech
1•speckx•2m ago•0 comments

I Need to Talk About the Weirdest Part of Epstein's Emails–Besides the Obvious

https://slate.com/news-and-politics/2025/11/donald-trump-jeffrey-epstein-emails-files-news.html
1•ZeljkoS•5m ago•0 comments

When Were Things the Best?

https://thezvi.wordpress.com/2025/12/19/when-were-things-the-best/
1•danielfalbo•9m ago•0 comments

Wish HN: Dark Mode for Xmas (Or 2026)

1•rcarmo•9m ago•2 comments

Ask HN: How do I start a data center company and get customers?

1•roschdal•13m ago•0 comments

Share Your Projects

1•Bluhorizon•15m ago•1 comments

Alleged Navier Stokes Existence and Smoothness Proof in Lean

https://twitter.com/davidmbudden/status/2002627726877069805
1•ladberg•18m ago•0 comments

Ask HN: What are you using to run your AI agents for open source projects?

2•Gerome24•18m ago•1 comments

Show HN: I built a job board that filters "Ghost Jobs" in the Middle East

https://camels.work/
2•adityamallah•19m ago•1 comments

Ask HN: Which whole genome sequencing provider do you recommend in 2025?

1•croemer•21m ago•0 comments

Shiva Subramaniam

https://medium.com/@shivasubramaniam
1•shiburam•25m ago•0 comments

Lines of code that will beat A/B testing every time (2012)

https://stevehanov.ca/blog/?id=132
1•Tomte•26m ago•0 comments

Politics, Propaganda, & Professional Wrestling

https://domofutu.substack.com/p/politics-propaganda-proffesionalwrestling
1•wjb3•27m ago•0 comments

An open-source lightweight alternative to Graphite, ghstack, Git-branchless

https://github.com/memorypasta/stak
1•starboyy•29m ago•0 comments

What computer science has to say about the simulation hypothesis

https://iopscience.iop.org/article/10.1088/2632-072X/ae1e50
1•m_kos•30m ago•0 comments

India Came to Make the World’s Generics

https://www.vox.com/future-perfect/469311/india-drugs-pharmacy-industry-global-health
1•nightwalkerid•32m ago•0 comments

Watermark Removal as a Denoising Task

https://blog.return.moe/en/2025/12/21/watermark-removal-as-a-denoising-task/
1•rlaneth•33m ago•0 comments

When Kernel Programmers Lie to the Verifier: A Tale of Faulty Optimizations

https://blog.igns.top/posts/ebpf-promises/
1•ftyghome•36m ago•0 comments

Show HN: You Shall Not Pass the Parcel

https://easel.games/@raysplaceinspace/you-shall-not-pass-the-parcel
1•BSTRhino•38m ago•0 comments

Show HN: DataFlow – Open Tool for LLM data prep 10k synthetic > 1M generic data

https://github.com/OpenDCAI/DataFlow
1•Mey0320•43m ago•0 comments

Pg_textsearch: PostgreSQL extension for BM25 relevance-ranked full-text search

https://github.com/timescale/pg_textsearch
2•fanf2•45m ago•0 comments

Death of Gloria Ramirez

https://en.wikipedia.org/wiki/Death_of_Gloria_Ramirez
2•ZeljkoS•45m ago•0 comments

Lightweight MySQL MCP Server: Secure AI Database Access

https://askdba.net/2025/12/14/introducing-lightweight-mysql-mcp-server-secure-ai-database-access/
1•askdba•46m ago•1 comments

Breakdowns of the Year

https://www.science.org/doi/full/10.1126/science.aee8012
1•atakan_gurkan•54m ago•0 comments

How Scams Worked In The 1800s (2015)

https://www.npr.org/sections/npr-history-dept/2015/02/12/385310877/how-scams-worked-in-the-1800s
2•Tomte•55m ago•0 comments

Xeovo VPN – the joy of a simple sign-up

https://rewiring.bearblog.dev/xeovo-vpn-the-joy-of-a-simple-sign-up/
1•Mossy9•1h ago•4 comments

Homeless people used as mobile Wi-Fi hotspots (2012)

https://www.nbcnews.com/id/wbna46714752
4•KomoD•1h ago•0 comments

Task Injection – Exploiting agency of autonomous AI agents

https://bughunters.google.com/blog/4823857172971520/task-injection-exploiting-agency-of-autonomou...
2•todsacerdoti•1h ago•0 comments

Text similarity search via normalized compression distance

https://discourse.haskell.org/t/vibe-coding-text-similarity-search-via-normalized-compression-dis...
1•todsacerdoti•1h ago•0 comments

Why tech billionaires are quietly bankrolling Europe's far-right [video]

https://www.youtube.com/watch?v=GHQAfk_5Ekk
2•baobun•1h ago•0 comments
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.