frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

UK shares findings of damning climate crisis national security report

https://www.theguardian.com/environment/2026/sep/23/uk-climate-crisis-national-security-report-su...
1•littlexsparkee•1m ago•0 comments

Tiny C Compiler with POSIX superpowers

https://github.com/Muras69/TCCygwin
1•Muras•3m ago•1 comments

The Majority of Actors Are Struggling

https://www.pajiba.com/film_reviews/jack-havens-plea-for-work-reminds-us-that-the-majority-of-act...
1•mathgenius•3m ago•0 comments

Fire in the brain: How psychosis may arise when the body attacks itself

https://knowablemagazine.org/content/article/mind/2026/new-research-on-autoimmune-causes-of-psych...
1•knowablemag•9m ago•0 comments

We've Turned Starlink into a Planetary Barometer

https://www.spaceweather.com/starlink/starlink_drag_explainer.html
1•NKosmatos•10m ago•0 comments

One setup, every AI CLI with agnostic-AI

https://agnostic-ai.org/
1•Chemaclass•10m ago•1 comments

Why did Google declare war on HTTP? (2016)

https://wp.josh.com/2016/04/01/googles-war-on-http/
1•1vuio0pswjnm7•15m ago•1 comments

Show HN: NetHackers

https://nethackers.dunnolab.ai/
1•vokneruk•16m ago•0 comments

Sidehoe – Your Roster. Handled

https://www.sidehoe.chat/
1•sergiotapia•19m ago•0 comments

That About Wraps It Up for Stock Mac UI

https://inessential.com/2026/09/22/that-about-wraps-it-up-for.html
2•birdculture•19m ago•0 comments

Meta Connect 2026

https://www.meta.com/en-gb/connect/#watch
1•pelcg•19m ago•0 comments

I tried using Jev for judgment based guardrails

https://github.com/deepansh-saxena/jev-guardrails
1•deepanshsaxena•19m ago•0 comments

Why Don't My Agents Break Containment?

https://harper.blog/2026/09/22/break-away/
1•pongogogo•20m ago•0 comments

Show HN: Recipe Card Creator

https://www.sunnyshorescreative.com/recipe-card-creator
1•bobblywobbles•21m ago•0 comments

Show HN: Hosted JayBase – An append-only data store for safe AI agent writes

https://jaybase.ai
1•kvisner•21m ago•0 comments

Trump Invites Putin to G20 in Miami, Rubio Says

https://www.politico.com/news/2026/09/23/trump-putin-g20-miami-01089850
3•_djo_•23m ago•0 comments

Critical GitLab Auth RCE via Double-Free in Regex Parser

https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-1-released/
1•pelcg•23m ago•0 comments

Ursa: A storage engine that implements Lakestream

https://github.com/openlakestream/ursa
3•jinqueeny•26m ago•0 comments

Show HN: Make cursed fonts like Times New Bastard

https://bastardica.mitpit.com
1•MitPitt•27m ago•0 comments

I made a social media site

1•saqaliba•27m ago•0 comments

Show HN: The Mouse Is Coming Too – Easy Switch for Legacy Logitech Devices

https://github.com/ensoenso/the-mouse-is-coming-too
1•evek•28m ago•0 comments

Show HN: PromptSpend – LLM API prices re-checked daily, with source per price

https://promptspend.com/
1•AndrewAvery7•31m ago•1 comments

Do Our Emotions Have a Culture?

https://booksandideas.net/Do-Our-Emotions-Have-a-Culture
1•rdmuser•32m ago•0 comments

ArXiv receives multiyear commitments to support it as an independent nonprofit

https://blog.arxiv.org/2026/09/23/arxiv-receives-multiyear-investment/
5•JohnHammersley•35m ago•0 comments

ASML currently sells no chipmaking machines in Europe, executive says

https://nltimes.nl/2026/09/22/asml-currently-sells-chipmaking-machines-europe-executive-says
7•doener•38m ago•1 comments

AI leaders warn UN of security risks as systems grow more powerful

https://www.reuters.com/business/ai-leaders-brief-un-amid-warnings-technology-could-slip-beyond-h...
1•layer8•39m ago•0 comments

In-Process MCP for MySQL

https://villagesql.com/blog/mcp/
1•deesix•39m ago•1 comments

Researcher Found 76 Vulnerabilities in Managed PostgreSQL Security Extensions

https://mehmetince.net/part-2-6-breaking-the-superuser-guardrails-attacking-security-hardening-ex...
2•ozirus•40m ago•0 comments

Linux support is coming to Snapdragon X2 Series

https://www.qualcomm.com/news/onq/2026/09/snapdragon-summit-agentic-ai-pcs-linux
29•aaronday•42m ago•8 comments

Toyota is finally taking its best-seller electric

https://electrek.co/2026/09/23/toyota-best-selling-corolla-electric/
3•cisc•43m 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.