frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Advent of Places: Kelly Butte

https://computer.rip/2026-12-04-advent-4.html
1•aray07•2m ago•0 comments

Rambling thoughts on LLM consistency and harness inflexibility

1•our_are_why•6m ago•0 comments

MedGemma 2: Advanced open model for healthcare

https://blog.google/innovation-and-ai/technology/health/medgemma-2/
1•gmays•6m ago•0 comments

Red Delicious – An Apple Silicon Port of the Red Language

https://github.com/JeanHuguesdeRaigniac/red-delicious
1•jhderaigniac•8m ago•1 comments

Comparing frontier pretraining without sharing held-out data or model weights

https://ntt123.github.io/compare-frontier-pretraining/
1•xcodevn•9m ago•0 comments

Primecoin

https://en.wikipedia.org/wiki/Primecoin
2•spzx•11m ago•0 comments

Experts warn SpaceX's million-satellite plan threatens safety and environment

https://www.cbc.ca/news/science/spacex-million-satellites-data-centres-9.7446629
4•devonnull•12m ago•0 comments

Ask HN: What are the errors you experience most on K8s?

1•docdiesel•12m ago•0 comments

Problematic Cryptography Math

https://cookie.engineer/weblog/articles/problematic-cryptography-math.html
1•WhyIsItAlwaysHN•15m ago•0 comments

Why reward optimization pushes AI agents to evade safety monitors(Bengio et al.)

https://arxiv.org/abs/2612.04113
2•datascientist•16m ago•0 comments

Create 2D and 3D games with Google Labs' Pillowfort

https://blog.google/innovation-and-ai/models-and-research/google-labs/try-pillowfort/
1•gmays•17m ago•0 comments

Show HN: Every train in Austria and Switzerland in 3D, running on its timetable

https://world.cyntro.at
1•MichaelLabitzke•17m ago•0 comments

Show HN: Autotune – Genetic LLVM phase-ordering CLI that beats Clang -O3

https://github.com/youknowme19/Autotune-The-Phase-Ordering-CLI-Doctor
1•sandy191020•19m ago•0 comments

Hotspot Performance Engineering Fails

https://lemire.me/blog/2023/04/27/hotspot-performance-engineering-fails/
1•tosh•19m ago•0 comments

AI's Half-Used Data Centers

https://www.isambrooks.com/p/ais-half-used-data-centers
2•HSO•19m ago•1 comments

Halfway Readouts for Multi-Token Prediction

https://x.com/Qvinfor/status/2129627007114002584?a=gx3imp8mxjpyhc0YDG4&s=20
4•Dor_frem•20m ago•0 comments

My home server setup: coding agents, dev servers, and more

https://www.alara.blog/my-home-server-setup-coding-agents-dev-servers-and-more/
1•ingve•20m ago•0 comments

What the labs aren't telling us

https://www.amapel.me/what-the-labs-arent-telling-us
1•pellicceama•22m ago•0 comments

Show HN: TOKO – A lightweight desktop app to cook prompts first

https://donovan-ratefison.github.io/toko/
1•Donovan-R•24m ago•1 comments

How fast can *you* break an elliptic curve?

https://ecdlp.live/
18•grittygrease•25m ago•2 comments

The Rocky Mountains Are About to Move [video]

https://www.youtube.com/watch?v=93X001VzIV4
1•Bender•26m ago•0 comments

Cryptography behind the top cryptocurrencies (2021)

https://ethanfast.com/top-crypto.html
1•spzx•27m ago•0 comments

JEPA world models could predict physics all along. Now they can plan with it

https://haddyalchaer.com/playwm
5•halcdev•28m ago•0 comments

Show HN: Gitsquashed – your GitHub year as a card (open source)

https://gitsquashed.com/
1•7eoinfr•29m ago•0 comments

The Future of Older Worker

https://oldforhire.com/
1•pepebg•29m ago•0 comments

Show HN: ButterSim – RTL simulation accelerator built with Gemini

https://github.com/manili/ButterSim
1•manili•30m ago•0 comments

La Monte Young, US minimalist composer and conceptual artist, dies aged 91

https://www.theguardian.com/music/2026/dec/06/la-monte-young-us-minimalist-composer-conceptual-ar...
2•knowhy•31m ago•0 comments

The NSA's scramble to slow down AI

https://www.axios.com/2026/12/06/ai-encryption-nsa-slow-down-models
2•artninja1988•31m ago•2 comments

Cached input prices differ by 26x among 8 EU inference providers

https://ttft.eu/blog/cached-input-price
1•g58892881•32m ago•1 comments

Making guns in Blender with LLM agents

https://tomaytotomato.com/making-guns-in-blender/
2•tomaytotomato•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.