frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Three schoolgirls in Kinsale pulled up a pea plant covered in warts

https://scienceblog.com/b-three-schoolgirls-in-kinsale-pulled-up-a-pea-plant-covered-in-warts-and...
1•DamonHD•1m ago•0 comments

The Download: AI puzzles and a path to our nearest star system

https://www.technologyreview.com/2026/09/02/1143283/the-download-ai-puzzles-alpha-centauri-mission/
1•joozio•2m ago•0 comments

Sandbox

1•cyteeditor•3m ago•0 comments

Chat Bots Compared: An interactive quiz to find AI companions

https://chatbotscompared.com/
1•Sharanxxxx•3m ago•0 comments

Pre-Release of Polars 2.0

https://pola.rs/posts/announcing-polars-2/
1•komape•6m ago•0 comments

The birthday paradox and why hashes are 256 bits, not 128

https://sslog.dpdns.org/birthday-attack.html
1•Shaurya_Sharma•9m ago•0 comments

An open-source design plugin that helps your AI build less generic websites

https://github.com/MickeyAlton33/web-designer-plugin
1•Nina_antalpha•12m ago•0 comments

Sex After AGI

https://twitter.com/Joshbocanegra/status/2093122061116035105
1•jbai•14m ago•0 comments

Terence Tao: Protecting math problems from automated solvers

https://mathstodon.xyz/@tao/117204929023813310
2•bertman•14m ago•0 comments

No Vibe Coding: Discussion Coding on Termux – Phone Only, Zero Trust

https://m.blog.naver.com/amadale/224399795090
1•garlicfarmer•17m ago•0 comments

Show HN: Self-hosted CRM for manufacturing (Django and Htmx)

https://github.com/OlegUshakov-pl/CRM
1•OlegUshakov•18m ago•0 comments

Markdown Editors Weren't Built for Coding Agents, So I Made One

https://marginal.md/blog.html
2•kishiguro•19m ago•0 comments

Show HN: Tiny Markdown CLI renderer – Streaming, 10x faster, 2MB flat RAM

https://github.com/cjccjj/mdflow
2•cjcj•19m ago•1 comments

Lex Speedman: We love you, Lex. but You talk too slow

https://lexspeedman.com/
1•mellosouls•24m ago•0 comments

Show HN: 2nd Release Canddiate for Back in Time 2.0.0

https://github.com/bit-team/backintime/releases/tag/v2.0.0-rc2
1•buhtz•35m ago•0 comments

How Delhi Built a World-Class Metro for a Bargain

https://www.nytimes.com/2026/09/02/headway/india-delhi-metro-public-transit.html
2•thunderbong•36m ago•0 comments

Show HN: A register of agent-payment code that pays once when the reply is lost

https://aurumflux.co/retry-safety/
1•aurumflux20•37m ago•0 comments

Gemini 3.8 Flash in Google Antigravity – Google Antigravity Blog

https://antigravity.google/blog/gemini-3-8-flash-in-google-antigravity
1•humphrey_liu•39m ago•0 comments

Claude Code skill: no emdashes

https://github.com/woutersf/claude-skill-no-emdashes
1•woutersf•42m ago•0 comments

Upload died on Mac air M5. Apple networking needs reboot

https://frederikwouters.be/blog/have-you-tried-turning-it-off-and-on-again
1•woutersf•43m ago•0 comments

CTTI is Exponential, RTTI is Linear

https://www.gingerbill.org/article/2026/09/02/ctti-is-exponential-rtti-is-linear/
3•thunderbong•44m ago•0 comments

Can AI Create PLC Attacks? Yes, but It's Not That Easy Yet

https://www.forescout.com/blog/can-ai-create-plc-attacks-yes-but-it%E2%80%99s-not-that-easy-yet/
1•Sentralis•45m ago•0 comments

The First Polynomial-Time Algorithm for the Győri-Lovász Theorem

https://arxiv.org/abs/2608.30945
2•pykello•47m ago•0 comments

RSA Factoring Challenge

https://en.wikipedia.org/wiki/RSA_Factoring_Challenge
4•nomilk•49m ago•2 comments

Which AI Fetchers Send Which Headers, Measured on a Live Site

https://gkoreli.com/which-ai-fetchers-send-which-headers
1•gogakoreli•50m ago•1 comments

An ongoing 3D-printer AGPL violation

https://lwn.net/Articles/1089390/
2•pykello•51m ago•0 comments

Creating Emacs Color Themes, Revisited

https://emacsredux.com/blog/2026/03/30/creating-emacs-color-themes/
2•signa11•52m ago•0 comments

Infrastructure quartermaster: inside a China-nexus state enablement model

https://www.lumen.com/blog/en-us/the-infrastructure-quartermaster-inside-a-china-nexus-state-enab...
1•Bluestein•56m ago•0 comments

Analysis: China's CO2 emissions fall in Q2 2026 due to plummeting oil use

https://www.carbonbrief.org/analysis-chinas-co2-emissions-fall-in-q2-2026-due-to-plummeting-oil-use
4•xbmcuser•56m ago•1 comments

Is This the Future of America?

https://www.theverge.com/cs/features/975597/loudoun-county-virginia-data-center-backlash
4•JSR_FDED•1h 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.