frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

LED Sports Ticker – A high-performance 60fps stadium-style scoreboard

https://play.google.com/store/apps/details?id=com.tickerled.sports&hl=en_US
1•scrolling•2m ago•0 comments

Hard-Chat – A serverless, RAM-only P2P terminal chat

https://github.com/mrhardlint/Hard-Chat
1•hardlint•2m ago•0 comments

Almost all content here is HN's own bots

4•DidYouKnowThat•7m ago•2 comments

Five dead after Amazon-branded cargo plane overruns runway at Miami airport

https://www.nbcnews.com/news/us-news/amazon-plane-crash-miami-rcna596369
1•r_singh•11m ago•0 comments

App Review Shenanigans

https://kaylees.site//app-review-shenanigans.html
1•latexr•12m ago•1 comments

Four Weeks of a Vegan Diet Alter Signs of Inflammation and Aging

https://www.uniklinik-freiburg.de/en/press/press-releases/detailed-view/6938-vier-wochen-vegane-e...
14•marvinborner•17m ago•5 comments

CrisperWhisper – Speech to Text Model That Transcribes What You Say Verbatim

https://github.com/nyrahealth/CrisperWhisper
1•Curiositry•20m ago•0 comments

The Turpentine Effect (2010)

https://ribbonfarm.com/2010/03/18/the-turpentine-effect/
1•Curiositry•23m ago•0 comments

Pivot to AI safety, I beg you

https://ceselder.substack.com/p/pivot-to-ai-safety-i-beg-you
5•doitLP•25m ago•3 comments

Genius AI Detector

https://geniusaidetector.com/
1•ohjeez•25m ago•0 comments

When the Building Becomes the Computer

https://medium.com/@Radomako/when-the-building-becomes-the-computer-ea91674841e2
1•richieadomako•25m ago•0 comments

Show HN: Find people who share your taste in books, films, and music

https://www.joinstratum.app/
1•JeffreyInyang•27m ago•0 comments

An MCP for Telling the Time?

https://smithery.ai/servers/wolfendentheo/Stamp
1•Facingsouth•27m ago•0 comments

Draw the Rest of the Owl

https://luke.zip/posts/draw-the-owl/
2•yathern•32m ago•0 comments

Show HN: Maths.free – Learn all of maths, in order

https://maths.free/
1•nadermx•33m ago•2 comments

I'm a father who studies the impact of AI: this is what parents need to know

https://www.theguardian.com/technology/2026/sep/06/daniel-susskind-father-studies-ai-artificial-i...
1•lemming•38m ago•1 comments

UN backs new map showing Africa's true relative size with US alone in opposition

https://www.npr.org/2026/09/04/nx-s1-5958611/africa-world-map-un-vote
9•anticorporate•40m ago•2 comments

Ask HN: What is your biggest struggle while learning?

1•Cursed666•40m ago•1 comments

Have the frontier labs mixed up AI safety and security?

https://martinalderson.com/posts/ai-safety-vs-security/
1•ymolodtsov•44m ago•0 comments

Show HN: CellularFlow – Continual-learning LLM using associative memory

https://github.com/celcilin/cellularflow
2•celcilin•45m ago•0 comments

Making a Python interpreter in 1024 bytes

https://austinhenley.com/blog/python1024.html
33•azhenley•48m ago•8 comments

Show HN: Music-player – a music daemon where server and client are one binary

https://github.com/tsirysndr/music-player
1•tsiry•48m ago•0 comments

PortableMind – Offline AI on a USB

https://portablemind.io
1•shaunpud•49m ago•0 comments

Comparison of Power Training vs. Traditional Strength Training in Older Adults

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2792175
1•bookofjoe•50m ago•0 comments

One Hundred Authors Against Einstein

https://archive.org/details/HundertAutorenGegenEinstein
4•tzury•51m ago•0 comments

Show HN: Grsshppr – Hop Devices Across Macs (Wi-Fi/BLE/AWDL)

https://grsshppr.app/
1•PeanutOS•54m ago•1 comments

Every MCP tool argument is model-chosen, so the signature is the boundary

https://fulcrumenterprises.gumroad.com/l/mcp-starter-kit
1•csolomon0704•54m ago•0 comments

Show HN: Chrome-bridge – let any AI agent drive your real logged-in Chrome

https://github.com/siropkin/chrome-bridge
1•siropkin•54m ago•0 comments

Is mathematics about to enter the conservatory?

https://mbmccoy.dev/posts/mathematical-conservatory/
2•_alternator_•59m ago•0 comments

A fresh definition of the product role

https://www.svpg.com/a-fresh-definition-of-the-product-role/
1•jaynate•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•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.