frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

1•alexjcomeau•14s ago

ELucid8 – A Practicall Dialect of Lucid

https://billwadge.com/2026/11/29/introducing-elucid8-a-practical-dialect-of-lucid/
1•bade•3m ago•0 comments

Four federal cases trace $974M in Nvidia chips and servers to China

https://ailately.com/articles/chip-smuggling-route-to-china
1•ryanedennis•3m ago•0 comments

Ask HN: What's Worth Your Click?

1•abitcynicalabou•4m ago•0 comments

A Subexponential Time Algorithm for Elliptic Curve Discrete Logarithm

https://github.com/bochum-crypto/subexponential-ecdl/tree/main
1•_tk_•5m ago•0 comments

Friday – an open-source alternative to Devin that runs on your laptop

https://github.com/splashxmoon/friday-code
2•teddyd1•5m ago•0 comments

Advertisement urging end of US Military aid to Israel dropped by NBC

https://www.aljazeera.com/news/2026/11/28/advertisement-urging-end-of-us-military-aid-to-israel-d...
2•unitedfirmware•6m ago•0 comments

After=network.target is a shutdown directive

https://savyasacheejha.com/posts/after-network-target/
1•genghizkhan•8m ago•0 comments

Show HN: AAMT v0.7 – Local WebGPU LLM and Diffusion CLI/SDK for Node.js

https://www.npmjs.com/package/@asamanthinks/aamt
1•YareAceNoK•8m ago•0 comments

XBOW vs. Zkao?

1•baby•10m ago•0 comments

How Effective Are Cold Reads for Agentic Review?

https://jonathannen.com/cold-cases/
1•jwilliams•13m ago•0 comments

Show HN: Building an ancient city builder game

https://tiberava.online/
4•arcadefirestorm•15m ago•0 comments

Brandeburg Concertos

https://en.wikipedia.org/wiki/Brandenburg_Concertos
1•gradus_ad•15m ago•0 comments

Farflung Geography Game – Play the Daily Map Quiz

https://farflung.game/
1•Tomte•16m ago•0 comments

Tokyo residents take governments to court as digitalization concerns mount

https://www.japantimes.co.jp/news/2026/11/29/japan/crime-legal/tokyo-app-digital-divide/
1•geox•16m ago•0 comments

Long-Term Memory for a 32K Local Agent: Testing Mnemonic Proxy

https://sotaaz.com/post/mnemonic-proxy-en
2•lastreload•21m ago•0 comments

"Did you know I helped develop recurrent transformers? It's the thing that "

https://www.reddit.com/r/coaxedintoasnafu/comments/1y8l712/coaxed_into_silicon_valleys_awesome_fu...
1•AmbroseBierce•21m ago•1 comments

I made the most beautiful interactive 3D fluid simulation in unreal [video]

https://www.youtube.com/shorts/7WZ8d2GNzEU
1•shroom1•22m ago•0 comments

Show HN: Directory of Markdown Websites

https://buttertart.net
1•amordecosmos•23m ago•0 comments

Show HN: Axum-like Discord bots library in Rust

https://github.com/Nekidev/dyncord
1•nyeki•24m ago•0 comments

Cumulative Measurement Error

https://aphyr.com/posts/431-cumulative-measurement-error
2•lucamark•25m ago•0 comments

How to Cool Down Computers Inside of An Airbus A320 [video]

https://www.youtube.com/watch?v=L7Qwj4Hm1EE
1•karakoram•26m ago•0 comments

Have You Tried Using Your Agent?

https://blog.jim-nielsen.com/2026/have-you-tried-your-agent/
2•Curiositry•27m ago•1 comments

Wine-Staging 11.23 Released with Fix for Steam

https://www.phoronix.com/news/Wine-Staging-11.23
1•Bender•27m ago•0 comments

SquashFS Seeing a Lot of Patch Activity to Deal with AI Nuisances

https://www.phoronix.com/news/SquashFS-AI-Patches
1•Bender•27m ago•0 comments

Underrated reasons to be thankful VI

https://dynomight.net/thanks-6/
1•Curiositry•28m ago•0 comments

What Is Ambergris?

https://www.nhm.ac.uk/discover/what-is-ambergris.html
2•thunderbong•29m ago•0 comments

A crowdsourced attempt to prove Goldbach's conjecture with AI agents and Lean

https://www.goldbach.tech/?lang=en
1•c4pt0r•29m ago•0 comments

British social security system techies yank services offline

https://www.theregister.com/security/2026/11/27/british-social-security-system-techies-yank-servi...
1•Bender•29m ago•0 comments

Data for sale: where the money is, and where it isn't

https://jackmaguire.org/blog/data-for-sale/
1•sillygoose75•29m ago•1 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.