frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

SpaceX backs Anthropic with data centre deal amidst Musk's OpenAI lawsuit

https://www.aljazeera.com/economy/2026/5/6/spacex-backs-anthropic-with-data-centre-deal-amidst-mu...
3•billybuckwheat•1m ago•0 comments

Any app on recent Android versions can leak certain traffic

https://mullvad.net/en/blog/any-app-on-recent-android-versions-can-leak-certain-traffic
1•jonah-archive•1m ago•0 comments

Show HN: Ranking every disease (the unmet needs index)

https://insights.convoke.bio/unmet-needs
1•snats•2m ago•0 comments

Smart Goals Are Overrated

https://arrowcoaching.net/blog/post.html?slug=smart-goals
1•Joboman555•3m ago•0 comments

My implementation of CVE-2026-31431(CopyFail) in C++, no dependency needed

https://github.com/gbonacini/CVE-2026-31431
1•bg_bg•3m ago•1 comments

Three things in AI to watch, according to a Nobel-winning economist

https://www.technologyreview.com/2026/05/11/1137090/three-things-in-ai-to-watch-according-to-a-no...
2•Brajeshwar•5m ago•0 comments

One engine, many tools – Introducing Rubydex

https://railsatscale.com/2026-05-12-one-engine-many-tools/
1•ufuk•6m ago•0 comments

Ploopy Bean: a trackpoint for every computer

https://ploopy.co/shop/bean-pointing-stick/
1•jibcage•6m ago•0 comments

3D renderings of 142 significant objects at the Metropolitan Museum of Art

https://www.metmuseum.org/art/collection/search?showOnly=has3d
3•bookofjoe•7m ago•0 comments

Android Auto home screen widgets look nearly ready

https://www.androidauthority.com/android-auto-home-widgets-3662452/
1•1970-01-01•8m ago•0 comments

Paper introduces Positive Alignment framework for AI

https://twitter.com/RubenLaukkonen/status/2054215967584944599
1•momentmaker•9m ago•0 comments

US Government Concedes First Amendment Violation in Berenson Settlement

https://foundationforfreedomonline.com/us-government-concedes-first-amendment-violation-in-berens...
2•iamnothere•10m ago•0 comments

Spar [KILL]: AI distribution agent for startups that identifies warm intro paths

https://sparit.vc/spar/d/BPCf3D6XsY
1•endofcoding•17m ago•0 comments

Markdown, the WD-40 of Digital Information

https://hoeijmakers.net/markdown-the-wd-40-of-digital-information/
2•speckx•17m ago•0 comments

Domain-level metacognitive monitoring in frontier LLMs: A 33-model atlas

https://arxiv.org/abs/2605.06673
1•Brajeshwar•17m ago•0 comments

Hey Bambu Lab: come sue us [video]

https://www.youtube.com/watch?v=1jhRqgHxEP8
3•Topfi•18m ago•0 comments

Short form video "clippers" are overrunning the internet

https://www.npr.org/2026/05/12/nx-s1-5794670/influencers-creators-video-clips
4•tolerance•18m ago•0 comments

Looking for design partners – Building Agent-mediated communication

1•ckerf24•19m ago•0 comments

The social contract between the user and the OS is broken

2•m348e912•22m ago•0 comments

Claude for the Legal Industry

https://claude.com/blog/claude-for-the-legal-industry
3•droidjj•23m ago•1 comments

Exim Mail Server Hit by "Dead.Letter" TLS Flaw, Admins Told to Upgrade

https://fossforce.com/2026/05/exim-mail-server-hit-by-dead-letter-tls-flaw-admins-told-to-upgrade/
1•speckx•24m ago•0 comments

Show HN: Free online lectures on Computer Science and Discrete Math topics

https://www.youtube.com/channel/UCaBw3oACBbnONFFRR2D-dpA
2•furcyd•24m ago•0 comments

Fast, Updatable Lookups with the Join Table Engine in ClickHouse

https://clickhouse.com/blog/join-table-engine
2•samaysharma•27m ago•0 comments

2 Mistakes, 1 weird trick, 27 years: an explainer of the OpenBSD SACK bug

https://www.studiodemby.com/standalone/sack-vulnerability/index.html
1•shrimplectic•28m ago•0 comments

How to make your text look futuristic

https://typesetinthefuture.com/2016/02/18/futuristic/
27•_vaporwave_•29m ago•2 comments

Ask HN: If AI has made engineers more efficient, why does everything feel worse?

3•ent101•30m ago•4 comments

More Thinking, More Bias: Length-Driven Position Bias in Reasoning Models

https://arxiv.org/abs/2605.06672
1•Brajeshwar•32m ago•0 comments

Slop-Amplified Fear of Privilege Escalation (Local, Not Remote) in Linux Kernel

https://techrights.org/n/2026/05/12/The_Slop_Amplified_Fear_of_Privilege_Escalation_Local_Not_Rem...
1•speckx•33m ago•0 comments

Supporting critical Open Source with $5M credits for vulnerability detection

https://depthfirst.com/open-defense
8•andreamichi•36m ago•1 comments

Samsung is upgrading its smart refrigerators with Google AI to recognize foods

https://qz.com/samsung-bespoke-fridge-google-gemini-ai-food-recognition-051126
2•stalfosknight•36m 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.