frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Therac-25

https://en.wikipedia.org/wiki/Therac-25
1•0xcg•1m ago•0 comments

Green Software Foundation

https://github.com/Green-Software-Foundation
1•saikatsg•3m ago•0 comments

SpaceX just disclosed Musk's new compensation package

https://xcancel.com/gnoble79/status/2049597193670234341
2•doener•8m ago•0 comments

Queen Camilla Unites Winnie-the-Pooh with a Long-Lost Friend

https://www.nytimes.com/2026/04/29/books/queen-camilla-winnie-the-pooh.html
1•ChrisArchitect•13m ago•0 comments

Collective Speed Is Not the Summation of Individual Speed

https://blog.jim-nielsen.com/2026/collective-speed-isnt-the-sum-of-individual-speed/
1•zdw•14m ago•0 comments

Free Solar Radiation, Heat Flux,Temperature,Humidity Data from Dtdss Algorithm

https://cloud.fiaos.org/data/
1•iopoer•14m ago•0 comments

Copy Fail: 732 Bytes to Root on Every Major Linux Distribution

https://xint.io/blog/copy-fail-linux-distributions
2•eyalitki•20m ago•2 comments

What it takes to transpose a matrix

https://gudok.xyz/transpose/
1•signa11•21m ago•0 comments

Meta's multi-billion-dollar Graviton deal

https://www.tomshardware.com/tech-industry/artificial-intelligence/metas-multi-billion-dollar-gra...
1•y1n0•21m ago•0 comments

Tell HN: VS Code v1.117.0 automatically adds GitHub Copilot as your co author

3•adithyassekhar•21m ago•0 comments

Incompressible Knowledge Probes: Measuring what frontier models know

https://01.me/research/ikp/
2•wmf•23m ago•0 comments

Humanoid Robots Will Work as Baggage Handlers at Tokyo Airport

https://www.engadget.com/2160602/humanoid-robots-will-work-as-baggage-handlers-at-tokyo-airport/
1•y1n0•23m ago•1 comments

Iran Proposes Bitcoin Oil Toll

https://decrypt.co/363641/iran-bitcoin-payments-oil-ships-seeking-hormuz-passage
1•janandonly•23m ago•0 comments

Tesla Semi: first truck rolls off high-volume production line

https://electrek.co/2026/04/29/tesla-semi-first-truck-high-volume-production-line/
1•y1n0•24m ago•0 comments

House approves reauthorization of warrantless spy powers

https://thehill.com/homenews/house/5856102-warrantless-spy-powers-fisa-702/
1•divbzero•24m ago•0 comments

Why Model Collapse in LLMs Is Inevitable with Self-Learning

https://hackaday.com/2026/04/29/why-model-collapse-in-llms-is-inevitable-with-self-learning/
1•omer_k•25m ago•0 comments

Europe has a fuel problem: It doesn't know how much it has

https://www.politico.eu/article/europe-fuel-supply-problem/
2•leonidasrup•27m ago•0 comments

Half of 'long shot' Polymarket bets on military action are successful

https://www.ft.com/content/989d335e-275b-4cdc-b51d-4b29fd8895b0
2•petethomas•29m ago•0 comments

Ask HN: Is anyone still using the ChatGPT browser, Atlas?

1•widenrun•34m ago•0 comments

AI optimism surges in Asia, unlike in the U.S.

https://restofworld.org/2026/ai-optimism-asia/
2•TheWeiHu•41m ago•2 comments

The Shadow Glass

https://morrigan-tech.com/blog/the-shadow-glass/
1•milkglass•46m ago•0 comments

OpenObserve Raises $10M Series A

https://openobserve.ai/blog/series-a-announcement/
3•safeie•49m ago•0 comments

Monad Tutorials Timeline

https://wiki.haskell.org/Monad_tutorials_timeline
3•brudgers•59m ago•1 comments

Lessons from Building an OTel Normalizer for GenAI

https://www.groundcover.com/blog/otel-normalizer-genai-part-1
2•thebitofmyheart•1h ago•0 comments

Physicists reveal universal speed limit on quantum information scrambling

https://phys.org/news/2026-04-physicists-reveal-universal-limit-quantum.html
2•thunderbong•1h ago•1 comments

Talking About Dark Matter – Sixty Symbols [video]

https://www.youtube.com/watch?v=qxuMRaUbWow
1•celias•1h ago•1 comments

Show HN: Vela Coach – an open-source coach that reads your Granola transcripts

https://github.com/Vela-Engineering/coach
1•yihlamur•1h ago•0 comments

Ashby's Law of Requisite Variety (Cybernetics)

https://en.wikipedia.org/wiki/Variety_(cybernetics)
1•nomilk•1h ago•0 comments

Humanoid Robots Are Still a Body Problem with Jerry Pratt [video]

https://www.youtube.com/watch?v=fsPDZjWMKMs
3•thunderbong•1h ago•0 comments

Meta stock drops on quarterly results 'internet disruptions' user numbers down

https://www.cnbc.com/2026/04/29/meta-q1-earnings-report-2026.html
4•1vuio0pswjnm7•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•12mo 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•12mo 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•12mo 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.