frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Write Computer Programs [pdf]

https://www.dyalog.com/uploads/documents/Papers/declarative_prog.pdf
1•tosh•1m ago•0 comments

Show HN: Ghostty in-browser with real client-side back end

https://ghosttyplayground.com/
1•leebeef•1m ago•0 comments

20 years of Intel Macs: Why Apple switched, and why it switched again

https://arstechnica.com/gadgets/2026/06/20-years-of-intel-macs-why-apple-switched-and-why-it-swit...
1•rbanffy•3m ago•0 comments

The End of Refugee Resettlement

https://www.newyorker.com/news/letter-from-jordan/the-end-of-refugee-resettlement
1•littlexsparkee•5m ago•0 comments

Typst 0.15 Is Out

https://typst.app/blog/2026/typst-0.15/
1•semantecture•8m ago•1 comments

We Built NeuroAutomata: protein variant effect prediction

https://axonagentic.ai/blog/why-we-built-neuroautomata
1•rhokstar•9m ago•0 comments

The Most Interesting Articles on Wikipedia

https://www.mostdiscussed.com
1•vismit2000•11m ago•0 comments

Are Memories Transferable – Or Edible?

https://www.quantamagazine.org/are-memories-transferable-or-edible-20260605/
2•doener•13m ago•0 comments

Ask HN: Best Hetzner Alternatives?

1•king_zee•14m ago•0 comments

DEC Alpha

https://en.wikipedia.org/wiki/DEC_Alpha
2•tosh•14m ago•0 comments

Physicists Have Measured "Negative Time" in Quantum Experiment

https://scitechdaily.com/physicists-have-measured-negative-time-in-bizarre-quantum-experiment/
2•bryanrasmussen•15m ago•0 comments

Photograph Is Now Guilty Until Proven Innocent

https://winphotoio.substack.com/p/sunday-submission-04-the-burden-of-proof
2•winphoto•20m ago•0 comments

Kino, a high-performance Ractor web server for Ruby 4.0

https://github.com/yaroslav/kino
1•riffraff•22m ago•0 comments

General-purpose LLMs outperform specialized clinical AI tools

https://www.nature.com/articles/s41591-026-04431-5
1•hdvr•22m ago•0 comments

Understanding the rationale behind a rule when trying to circumvent it

https://devblogs.microsoft.com/oldnewthing/20260611-00/?p=112415
7•tosh•31m ago•0 comments

China's universities cut 12,000 'obsolete' degrees amid race to embrace AI era

https://www.scmp.com/economy/china-economy/article/3356913/chinas-universities-cut-12000-obsolete...
2•spwa4•34m ago•0 comments

Users cry foul after AMD stripped memory crypto from its consumer CPUs

https://arstechnica.com/security/2026/06/users-cry-foul-after-amd-stripped-memory-crypto-from-its...
3•u1hcw9nx•34m ago•0 comments

Why did I create my own PaaS as indie hacker and made it open-source?

https://github.com/sumon-ohid/better-paas
2•sumonoahid•45m ago•1 comments

Making a Metasearch Engine (2024)

https://matdoes.dev/metasearch
2•ethanhawksley•47m ago•0 comments

The History of How School Buses Became Yellow

https://www.smithsonianmag.com/history/history-how-school-buses-became-yellow-180973041/
2•thunderbong•48m ago•0 comments

Pure-Dart I2P: decentralized file sharing

https://github.com/geograms/i2p-dart
1•nunobrito•53m ago•0 comments

Greed Is Learned: Visible Incentives as Reward-Hacking Triggers

https://arxiv.org/abs/2606.16914
2•Timofeibu•55m ago•0 comments

Show HN: Kitchen Rush, Overcooked inspired LLM tool calling benchmark

https://github.com/bassimeledath/kitchen-rush
2•bombastic311•56m ago•0 comments

Movebound: The Art of Zugzwang

https://www.thearticle.com/movebound-the-art-of-zugzwang
1•Pamar•56m ago•0 comments

Discovery debt: The debt that doesn't slow you down

https://www.leadinginproduct.com/p/discovery-debt
2•benkan•56m ago•0 comments

The US government's Anthropic models ban was never about an AI jailbreak

https://techcrunch.com/2026/06/15/the-us-governments-anthropic-models-ban-was-never-about-an-ai-j...
2•SilverElfin•56m ago•1 comments

Why do South Koreans love AI so much?

https://www.technologyreview.com/2026/06/15/1138983/why-do-south-koreans-love-ai-so-much/
1•joozio•1h ago•0 comments

Cross-Language Data Types

https://ekxide.io/blog/cross-language-data-types/
1•birdculture•1h ago•0 comments

Show HN: A spreadsheet where your code never reads B7

https://github.com/logisky/LogiSheets/discussions/415
1•JeremyHe•1h ago•0 comments

Show HN: GitHits Public Beta 0.9

https://githits.com/
2•skvark•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.