frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Direct Access to the Apple Neural Engine

https://ane-native.dev
1•nnx•35s ago•0 comments

When an LLM gets the answer wrong, a score doesn't tell you why

https://tech.affirm.com/from-customer-conversations-to-merchant-risk-signals-1fd161cbb991
1•alexanderstatni•1m ago•0 comments

Ingressing Minds: Causal, Non-Physical Patterns In-Form Embodiments

https://www.mdpi.com/2409-9287/11/5/161
1•lioeters•2m ago•1 comments

Writing Confident Code

https://practicingruby.com/articles/confident-ruby
1•signa11•2m ago•0 comments

Ford to end car production in Germany after nearly a century

https://www.reuters.com/business/autos-transportation/ford-end-vehicle-production-germany-ntv-rep...
1•bushwart•8m ago•0 comments

Using Codex to explore potential antibacterial peptides without prior experience

https://halmoslabs.com/posts/physical-validation/
1•zulln•9m ago•0 comments

Edva – Zero-keyword, arena-managed systems language (LLVM and WASM)

https://edva.dev/
1•baldgeorge•9m ago•0 comments

Waymo Is Trying to Find Whoever Left a Loaded Gun in One of Its Cars

https://www.404media.co/waymo-is-trying-to-find-whoever-left-a-loaded-gun-in-one-of-its-cars/
2•tedlistens•10m ago•0 comments

A short history of read streams in Postgres

https://frn.sh/postgres-io/
1•shellpipe•11m ago•0 comments

Making cement in seconds just needs a big microwave

https://arstechnica.com/science/2026/12/making-cement-in-seconds-just-needs-a-really-big-microwave/
1•amooe•12m ago•0 comments

OpenAI's loss curve tracks what models have seen before, but something's missing

https://idlemachines.co.uk/essays/perplexity-limit
1•smaddrellmander•13m ago•0 comments

Olmicro: Small, efficient hybrid models built in the open

https://allenai.org/blog/olmicro
1•gmays•13m ago•0 comments

Leaked EU Draft Would Allow Mass Scanning of Private Messages

https://reclaimthenet.org/leaked-eu-draft-would-allow-mass-scanning-of-private-messages
4•iloveyoutwo•14m ago•0 comments

Gravity Was Just Used to Transmit a Message in Australia [video]

https://www.youtube.com/watch?v=5PEISeitI50
1•Bender•16m ago•0 comments

He built Russia's first private space firm. Now his missiles are hitting Russia

https://www.fastcompany.com/91647790/russian-exile-mikhail-kokorich-destinus-ukraine
2•tedlistens•16m ago•0 comments

Terms of Service; Didn't Read

https://tosdr.org/en
1•animal_spirits•17m ago•1 comments

Finding your ISP router's credentials

https://xetera.dev/article/finding-your-isp-routers-credentials
2•8organicbits•17m ago•0 comments

Portal: Current Events

https://en.wikipedia.org/wiki/Portal:Current_events
3•ivanjermakov•18m ago•0 comments

An Ode to My Nikon Z6

https://photographylife.com/an-ode-to-my-nikon-z6
1•bemtevi•18m ago•0 comments

HarnessBoard: A living tracker of AI coding agent and model prices

https://harnessboard.dev/
2•wilcaldrich•19m ago•0 comments

The Skynet-O-Meter has spent 24hrs in the "feverish" zone

https://botreport.net/skynet/
2•orac-g•21m ago•0 comments

I deleted Linux AND every app on the OS

https://twitter.com/superalesha/status/2127470584405565897
2•doener•21m ago•0 comments

Anti-vaccine MAHA mom Sara Brenner named acting FDA chief

https://thehill.com/newsletters/healthcare/6252756-maha-ally-sara-brenner-named-acting-fda-chief/
1•Alien1Being•21m ago•0 comments

What the LastPass Breach Proved: 11 Private Password Managers Compared for 2026

https://vertexfrontier.com/lastpass-breach-password-managers-compared/
2•ahmed2208•25m ago•0 comments

Who Controls Your Attention?

https://twitter.com/heymakio/status/2127914328737067031
4•marciob•26m ago•0 comments

FaceTerm: Interactive Installation that turns vistors into ASCII ARt

https://www.media.mit.edu/projects/faceterm-interactive-installation-that-turns-visitors-into-asc...
2•sargstuff•26m ago•0 comments

Bangladesh Doesn't Need to Be a "Development Superstar"

https://counterpointbd.com/Bangladesh-Doesnt-Need-to-Be-a-Development-Superstar
1•awad•29m ago•0 comments

Create Your Own Cyberdeck

https://www.raspberrypi.com/news/create-your-own-cyberdeck/
2•walterbell•30m ago•0 comments

Network Time Protocol

https://en.wikipedia.org/wiki/Network_Time_Protocol
1•jeromechoo•31m ago•0 comments

The Love of My Life [video]

https://www.youtube.com/watch?v=lBx86QE4k3s
1•simonebrunozzi•32m 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.