frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Unreached: Find code that exists in your repo and is never reached

https://github.com/siliroid/unreached
1•siliroid•56s ago•0 comments

UpWatch – uptime monitoring with a live public status page (free tier, no card)

https://upwatch.online/
1•snookiebaby•2m ago•0 comments

Show HN: Dub Any Podcast in Your Language Using Local Models

https://github.com/cezarc1/podcast_dub
1•ggamecrazy•3m ago•0 comments

Ask HN: How do you figure out what you're passionate about?

1•charliebwrites•3m ago•0 comments

Girl's death in China reveals human cost of unregulated science

https://www.thehindu.com/sci-tech/health/girls-death-in-china-reveals-human-cost-of-unregulated-s...
1•thisislife2•6m ago•0 comments

In the Age of AI, the Analog Restaurant Feels Radical

https://www.eater.com/trends/975087/restaurants-lean-into-bespoke-handmade-elements-during-ai-fly...
1•cdrnsf•9m ago•0 comments

What counts as cooking? In defense of the store-bought sauce

https://iza.ac/posts/2026/06/what-counts-as-cooking/
1•infinitewalk•11m ago•0 comments

Charles Gaines, author of "Pumping Iron," dies at 84

https://www.washingtonpost.com/obituaries/2026/07/25/literary-outdoorsman-he-helped-popularize-bo...
1•bookofjoe•11m ago•2 comments

Show HN: LX Coreutils – pipeable tools enhanced by small local / cheap LLM calls

https://github.com/BrunkenClaas/lx
1•BrunkenClaas•14m ago•1 comments

D'Ieteren, the 221-year-old company that reinvented itself 4 times

https://bigthink.com/the-long-game/the-221-year-old-company-that-reinvented-itself-4-times/
2•cainxinth•15m ago•0 comments

I Customize KDE Plasma

https://streanga.com/blog/how-i-customize-kde-plasma/
2•preg_match•21m ago•0 comments

More on an Internal OpenAI Model Hacking into HuggingFace

https://thezvi.substack.com/p/more-on-an-internal-openai-model
3•theptip•23m ago•0 comments

Show HN: Maginary.ai gets seedance2 and GPT-images2 support

https://twitter.com/xucian_/status/2081469757300359289
1•xucian•26m ago•0 comments

Show HN: MTLS with keys never leaving the TPM

https://github.com/bschaatsbergen/go-tpm-tls
2•alexpadula•27m ago•1 comments

Anthropic versus the entire tech industry

https://twitter.com/DavidSacks/status/2081470576653406328
4•delichon•29m ago•0 comments

We have proof automation now

https://www.imperialviolet.org/2026/07/26/zstd-lean.html
3•zdw•30m ago•0 comments

Show_HN: ~bhyvxe/hypermpd – hypermpd emerges with competitive features vs. MPD

https://git.sr.ht/~bhyvxe/hypermpd
2•icmpkitty•30m ago•0 comments

Multiway Turing Machines (2021 pre-ai)

https://bulletins.wolframphysics.org/2021/02/multiway-turing-machines/
2•marysminefnuf•33m ago•1 comments

The Half We Don't Measure

http://rishigoomar.com/the-half-we-dont-measure
1•rgoomar•35m ago•0 comments

A small CLI for running isolated GenesisDB containers behind one HTTPS proxy

https://github.com/genesisdb-io/genesisdb-orchestrator
6•patriceckhart•38m ago•0 comments

Microsoft's new TPM rule won't stop your pirated Windows from working

https://www.windowslatest.com/2026/07/27/you-heard-wrong-microsoft-isnt-ending-pirated-windows-11...
1•Abhijith__MB•45m ago•0 comments

Israeli settlers set fire to mosques, cars and farm land in West Bank

https://www.bbc.com/news/articles/cjrv77gl4deo
6•tcp_handshaker•46m ago•0 comments

How Web Browsers Work

https://arnauc.me/blog/how-browsers-work/
3•ErenayDev•51m ago•0 comments

Plasma Tunnels Reveal How Dying Satellites Fall to Earth

https://spectrum.ieee.org/space-debris-atmosphere-burn-up
3•marc__1•51m ago•0 comments

dimensional stacking principle

https://gingerjuice.club/article/the-dimensional-stacking-principle-a-geometric-framework-for-the...
2•streetai•51m ago•1 comments

Ask HN: What's the best hands-on path to learn ML inference infrastructure?

3•censor5•55m ago•1 comments

AI is set to drive surging electricity demand from data centres (2025)

https://www.iea.org/news/ai-is-set-to-drive-surging-electricity-demand-from-data-centres-while-of...
2•dredmorbius•57m ago•0 comments

Making a cache cluster more effective

https://basta.substack.com/p/making-a-cache-cluster-more-effective
1•tyre•1h ago•0 comments

Gary Stevenson to quit YouTube channel, citing health concerns

https://www.theguardian.com/business/2026/jul/26/gary-stevenson-to-quit-youtube-channel-garys-eco...
3•jimnotgym•1h ago•0 comments

CuNi v01

https://cuni-studio.fly.dev/
1•agentrider•1h 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.