frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The president wanted to unleash AI. Then came Anthropic

https://www.politico.com/news/magazine/2026/09/20/anthropic-white-house-ai-01085212
1•elorant•3m ago•0 comments

Show HN: Mahabharata Characters – 307 figures with gunas and decision primitives

https://huggingface.co/datasets/gnumanth/mahabharata-characters
1•init0•3m ago•0 comments

Show HN: Less Prompts, More Guardrails

https://yasyf.com/writing/less-prompts-more-guardrails/
1•yasyfm•10m ago•0 comments

Coding Machines

https://www.teamten.com/lawrence/writings/coding-machines/
1•xk3•11m ago•0 comments

Birdle Explorer

https://start.birdle.world/
1•totetsu•11m ago•1 comments

I Investigated Coinbase a Year Ago For Forbes. The Bigger Story Now Is Its Power

https://thesignalmemo.substack.com/p/coinbase-wants-the-power-of-a-bank
1•sindhya1•14m ago•0 comments

EA Safety

https://contraptions.venkateshrao.com/p/ea-safety
3•emersonmacro•15m ago•0 comments

A Builder's Simple Perspective on the Future of the Job Market

https://wenbo.site/blog/a-builder-s-simple-perspective-on-how-ai-will-shape-the-job-market
1•tracyhenry•15m ago•0 comments

Lint-HTTP 0.1.0 – Easy to use, complete HTTP traffic linter

https://crates.io/crates/lint-http/0.1.0
1•gaigalas•23m ago•0 comments

While the human's away, do the agents slip into foul play?

https://dev.yuv.run/writing/while-i-sleep/
1•alkisyuv•24m ago•0 comments

Winning the Visa Lottery

https://www.aeaweb.org/research/immigration-restrictions-firms-workers
2•neehao•27m ago•0 comments

The Rise of Niche Consumption

https://www.aeaweb.org/articles?id=10.1257/mac.20210263
1•neehao•28m ago•0 comments

Presley Gerber, Son of Cindy Crawford and Rande Gerber, Dies at 27

https://www.hollywoodreporter.com/lifestyle/lifestyle-news/presley-gerber-dead-cindy-crawford-ran...
1•andsoitis•30m ago•0 comments

Talk to Hector Salamanca, powered by Jev and a bell

https://jev-hector.vercel.app/
2•xjconlyme•35m ago•0 comments

Rally English

https://en.wikipedia.org/wiki/Rally_English
1•red369•38m ago•0 comments

The Trouble with 'Ntile()'

https://blog.djnavarro.net/posts/2026-09-20_the-trouble-with-ntile/
1•luu•41m ago•0 comments

The Genesis of Attribute Grammars [pdf]

https://www.cs.miami.edu/home/odelia/teaching/csc419_spring17/syllabus/Knuth_AttributeHistory.pdf
1•luu•43m ago•0 comments

New wild cat species is identified for first time in 100 years

https://www.nbcnews.com/science/environment/new-wild-cat-species-identified-rcna598113
2•gmays•50m ago•0 comments

A Silicon Valley radical: Trump's AI whisperer pushing for limited regulation

https://www.theguardian.com/us-news/2026/sep/20/david-sacks-trump-ai-czar
2•kuerbel•51m ago•0 comments

Vibemaxxer

https://vibemaxxer.cro.sh/
1•namjh•53m ago•0 comments

China is not ready for a post-American world

https://www.economist.com/international/2026/09/15/china-is-not-ready-for-a-post-american-world
2•andsoitis•55m ago•0 comments

NYTimes Journalist Regrets Long Ordeal Sending Daughter to Worse NY Schools

https://www.nytimes.com/2026/09/20/magazine/ny-public-schools-black-students-segregation.html
1•doctorpangloss•56m ago•0 comments

Skills to Make the Perfect Website

https://github.com/NoamanKhalil/WebSkills
2•Noamank•59m ago•0 comments

Chemical and Biological Weapons Explained – Brett Edwards (2024) [video]

https://www.youtube.com/watch?v=x3J2w7-9XC8
1•verdverm•59m ago•1 comments

You Are the Executive Now

https://sundaylettersfromsam.substack.com/p/youre-the-executive-now
1•andsoitis•1h ago•0 comments

NASA's Moon Orbiter Spots New, 'Once-in-Century' Moon Crater

https://science.nasa.gov/solar-system/moon/nasas-moon-orbiter-spots-new-once-in-century-moon-crater/
1•gmays•1h ago•0 comments

Show HN: GrowSpot – checks if a plant can live in an exact spot, not just a room

https://growspotapp.com/spot-checker/
1•growspotapp•1h ago•0 comments

Show HN: Hibi – An open-source obsidian alternative

https://github.com/schmayterling/hibi
2•ryanamay•1h ago•0 comments

Linus demands real users before hazard pointers land

https://freenode.net/article/linus-demands-real-users-before-hazard-pointers-land
4•KinetiNode•1h ago•0 comments

How we're (actually) all going to die

https://siliconpalace.substack.com/p/heres-how-were-actually-all-going
4•shigalyov•1h ago•4 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.