frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Did Anthropic Ask for This?

https://www.verysane.ai/p/did-anthropic-ask-for-this
2•ad8e•4m ago•0 comments

Splinternet – encrypted P2P chat with BBS aesthetics, games and sysop

https://bbs.splinternet.org/
1•arfuzzum•7m ago•0 comments

Trump says Netanyahu 'has no fucking judgment' after Beirut strike

https://www.timesofisrael.com/trump-says-netanyahu-has-no-fking-judgment-after-beirut-strike-report/
2•tcp_handshaker•7m ago•0 comments

After Meta tapped Alexandr Wang to build new AI model, Zuckerberg has to sell it

https://www.cnbc.com/2026/06/14/meta-hired-alexandr-wang-to-build-ai-its-zuckerbergs-job-to-sell-...
1•tcp_handshaker•8m ago•0 comments

A Wild Register Appears: Hunting the 30-Year-Old World of Xeen MT-32 Crash

http://finalpatch.github.io/xeen/
2•birdculture•10m ago•0 comments

Spotify: Music and Podcasts – Apps on Google Play

https://play.google.com/store/apps/details?id=com.spotify.music&hl=en_US
1•treasure2seek•10m ago•0 comments

Jeff Geerling: "Maybe don't rip off other people's video content"

https://xcancel.com/i/status/2066253845722812916
3•DiabloD3•11m ago•0 comments

Show HN: I built a tool to check if side hustle income claims are real

https://legitize.app/
1•ynxshiny•14m ago•0 comments

Deepfakes are everywhere. The godfather of digital forensics is fighting back

https://www.science.org/content/article/deepfakes-are-everywhere-godfather-digital-forensics-figh...
1•stared•15m ago•0 comments

AI slowly sucking the joy out of work

https://www.reddit.com/r/swift/s/YA5ELxU3av
4•frizlab•17m ago•0 comments

Tricking a Bike Counter

https://nullpxl.com/post/tricking-a-bike-counter/
1•nullpxl•18m ago•0 comments

Bacteria can learn and form memories without a brain (Carnegie Mellon)

https://phys.org/news/2026-06-bacteria-memories-brain.html
5•indynz•20m ago•0 comments

Debian Pure Blend

https://en.wikipedia.org/wiki/Debian_Pure_Blend
1•Teever•20m ago•0 comments

Ask HN: Year of Linux Desktop is fun with LLMs

1•mirekrusin•20m ago•0 comments

Billy Beane got it right

https://toddmoses.beehiiv.com/p/billy-beane-got-it-right
1•mtmosestn•20m ago•1 comments

The AI industry is spending $10M against Alex Bores [video]

https://www.youtube.com/watch?v=Gj9vxVK4GEE
2•danuker•21m ago•0 comments

The Encyclopedia's Own Library

https://medium.com/regarding-wikipedia/the-encyclopedias-own-library-12f30899c8ae
1•JohnHammersley•22m ago•0 comments

Why Is Claude Turning into an a**Hole?

https://bramcohen.com/p/why-is-claude-turning-into-an-asshole
28•drob518•23m ago•8 comments

Iran threatens to attack Elon Musk's SpaceX and Starlink facilities

https://www.the-sun.com/news/16485781/iran-threatens-elon-musk-spacex-starlink-military-targets/
5•ivewonyoung•24m ago•0 comments

Is SMIC N+3's Metal Pitch Smaller Than Intel 18A's?

https://newsletter.semianalysis.com/p/steel-smic-n3-teardown
1•notahan•25m ago•0 comments

How are you feeling about the first Trillionaire?

https://trulytyped.com/post/BRCYJA
7•dwa3592•27m ago•6 comments

Linux 7.1

https://lkml.iu.edu/2606.1/13340.html
1•geoffbp•29m ago•0 comments

The Great Erase

https://www.neondystopia.com/?p=100043466
2•dangle1•32m ago•0 comments

Surpassing Frontier Performance with Fusion

https://openrouter.ai/blog/announcements/fusion-beats-frontier/
1•stared•35m ago•0 comments

For Retired Engineers

https://telescoper.blog/2026/06/14/for-retired-engineers/
1•mathgenius•38m ago•0 comments

Peace deal between US and Iran, Pakistan says, with Strait of Hormuz to re-open

https://www.theguardian.com/world/2026/jun/14/trump-calls-for-restraint-israel-airstrikes-beirut-...
2•srameshc•38m ago•0 comments

Bran flakes to be classed as junk food under new health plan

https://www.telegraph.co.uk/money/consumer-affairs/bran-flakes-to-be-classed-as-junk-food/
3•ivewonyoung•41m ago•0 comments

Making 'food out of thin air' (2024)

https://www.noemamag.com/making-food-out-of-thin-air/
2•muchweight•41m ago•0 comments

Windows 11 users are tired of MS account requirements creeping into everything

https://www.windowscentral.com/microsoft/windows-11/windows-11-users-are-tired-of-microsoft-accou...
12•josephcsible•45m ago•1 comments

The Magic Roundabout of Seattle Area

https://kirklandroundabouts.com
1•DenisM•45m 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.