frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GPUI and Rust and Chromiun = Radium. PLease give me your thoughts

https://www.getradium.io/
1•samlembke•1m ago•0 comments

Variable-Length Integers in Go

https://kmcd.dev/posts/variable-length-integers/
1•ingve•2m ago•0 comments

The little thingies you used to play with. End of an Era

https://himanshusinghbisht.substack.com/p/the-little-thingies-you-used-to-play
1•gilfoyle_7•3m ago•0 comments

GPU Canvas

https://berkantay.github.io/gpucanvas/?n=10000&effect=ripple
1•razodactyl•7m ago•0 comments

Show HN: Which prompts ate your Claude Code limit? A local, read-only doctor

https://github.com/theagentplane/tokenops/tree/main/integrations/claude-code
1•agentplane•9m ago•0 comments

Minimal dark mode styles for Hacker News

https://antonz.org/hn-dark-mode/
2•ingve•10m ago•0 comments

Protecting the American Data Moat

https://www.micro1.ai/blog/protecting-the-american-data-moat
1•nlpnerd•13m ago•1 comments

A major step change in AI's offensive cyber capability

https://www.ncsc.gov.uk/blogs/major-step-change-in-ais-offensive-cyber-capability-demands-response
2•geox•15m ago•0 comments

Characterizing Latent Reasoning Dynamics in LLMs

https://arxiv.org/abs/2612.02425
1•E-Reverance•15m ago•0 comments

Where Skilled Talent Goes and Stays: The Best U.S. Metros for Attracting Talent

https://www.workcafe.com/blog/research-data/best-us-metros-for-attracting-talent/
1•hackawork•16m ago•0 comments

Running 1,000 Standalone SQLite Databases Inside SQL Server

https://sqlartist.github.io/posts/running-1000-standalone-sqlite-databases-inside-sql-server/
3•thunderbong•18m ago•0 comments

Experience the Magic of Ionospheric Propagation

https://rad950.org/
2•resters•18m ago•0 comments

Show HN: Biviu – AI list builder powered by Jev

https://biviu.com
2•ephx•19m ago•0 comments

Show HN: One of the smallest and easiest to maintain 11ty/Build Awesome starters

https://github.com/open-sveti/one-starter
1•anydigital•21m ago•1 comments

Hackers Breach the Brain of the U.S. Air Force Cloud

https://spintcom.substack.com/p/hackers-breach-the-brain-of-the-us
2•thunderbong•24m ago•0 comments

The core anti-Pangram constituency is phony writers

https://www.theargumentmag.com/p/the-core-anti-pangram-constituency
1•JoshTriplett•26m ago•0 comments

Show HN: VisualCI – Visual regression and snapshot testing for AI agents

https://visualci.com
2•nathan_f77•27m ago•0 comments

Free and open-source C++ DirectUI interface library for Windows

https://github.com/duilib/duilib
1•zerr•29m ago•0 comments

The Laravel You Know, Written in Rust [video]

https://www.youtube.com/watch?v=9znOFW6Bvg4
1•Imustaskforhelp•31m ago•0 comments

Not Slop: Haskell in the Age of AI

https://discourse.haskell.org/t/well-typed-blog-not-slop-haskell-in-the-age-of-ai/15237
3•romes•33m ago•0 comments

Do Hard Times Cause Crime?: The Lessons of History

https://lsupress.org/do-hard-times-cause-crime-the-lessons-of-history/
1•barry-cotter•33m ago•0 comments

Nvidia Fleet to Combat Smuggling and Implement Remote Cloud Access Protections

https://nvidianews.nvidia.com/news/nvidia-announces-expanded-national-security-and-export-control...
1•rzerowan•36m ago•0 comments

Introducing Laravel Rust

https://laravel.com/blog/introducing-laravel-for-rust
2•resurge•37m ago•0 comments

Jitter: Making Things Better with Randomness

https://brooker.co.za/blog/2015/03/21/backoff.html
2•hiohio•40m ago•2 comments

Phones Banned, Chinese Students Turn to Paper Short Dramas

https://www.sixthtone.com/news/1019331
4•wmchen•40m ago•1 comments

Surf95 ▸ Surf the Old Web

https://surf95.com/
2•kurtis_reed•42m ago•0 comments

Cerebras and Nvidia Collaborate to Accelerate Agentic Inference

https://nvidianews.nvidia.com/news/cerebras-and-nvidia-collaborate-to-accelerate-agentic-inference
2•gmays•45m ago•0 comments

Warren Buffett's Son Howard Buffett Became Ukraine's Largest Private Donor

https://www.forbes.com/sites/forbesinternational/2026/11/21/how-warren-buffetts-son-howard-buffet...
1•axiologist•47m ago•1 comments

Protect the AI We Love. Preserve Our Freedom to Choose

https://drive.google.com/file/d/1yyFrJiewV5rYIUA9pqwlbOST9m06USsw/view?usp=drivesdk
1•Roger-Evelyn•47m ago•0 comments

The Drawn Maps · Habibi Code

https://www.habibicode.org/thedrawnmaps
5•n_plus_1_acc•51m 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.