frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Is Not Your Architect. Stop Letting It Pretend

https://www.hollandtech.net/claude-is-not-your-architect/
1•cdrnsf•2m ago•0 comments

Canada's CHU Will Go Silent on Shortwave on June 22, 2026

https://swling.com/blog/2026/05/canadas-chu-will-go-silent-on-shortwave-on-june-22-2026/
1•da768•4m ago•0 comments

Smile vs. Poop

https://rivalvoices.substack.com/p/smile-vs-poop
1•thinkingemote•4m ago•0 comments

Cuneiforth: A Forth for Your Chifir

https://gopher.floodgap.com/gopher/gw?a=gopher%3A%2F%2Fthelambdalab.xyz%2F1cuneiforth%2F
1•birdculture•4m ago•0 comments

The Eternal Sloptember

https://geohot.github.io//blog/jekyll/update/2026/05/24/the-eternal-sloptember.html
1•therepanic•4m ago•0 comments

Read Trump's unsigned AI executive order

https://www.politico.com/news/2026/05/22/heres-a-draft-of-trumps-unsigned-ai-executive-order-0093...
1•campuscodi•6m ago•0 comments

Rocket League confirms Unreal Engine 6 upgrade

https://overclock3d.net/news/software/rocket-league-confirms-unreal-engine-6-upgrade/
1•JustSkyfall•9m ago•0 comments

Hormuz Shock

https://avkcode.github.io/blog/hormuz-shock.html
1•akrylov•9m ago•0 comments

Show HN: I'm 17 and built a tool that scores all stocks against Buffett criteria

https://invest-like.com
1•zaidg7•12m ago•0 comments

Venture Capitalist John Doerr Says AI Is the Biggest Tech 'Tsunami'

https://www.wsj.com/tech/ai/john-doerr-ai-opinion-1d64ee60
1•Brajeshwar•14m ago•0 comments

AI Can't Care

https://www.mooreds.com/wordpress/archives/3737
2•mooreds•15m ago•0 comments

DynamicNotch

https://dynamicnotch.evgeniy-petrukovich.workers.dev
1•jackson-storm•21m ago•0 comments

$100 CPU Shootout: Comparing the Ryzen 5 5500, Core i3-14100F, & Core i3-12100F

https://www.tomshardware.com/pc-components/cpus/100-budget-cpu-shootout-ddr4
4•bushwart•23m ago•1 comments

Show HN: 97% on SWE-bench Verified with subscription-token agents

https://github.com/kimjune01/swebench-verified
1•kimjune01•26m ago•0 comments

SpaceX IPO: Nice Try Though [video]

https://www.youtube.com/watch?v=IHD8BDFYyGI
1•WarmWash•27m ago•0 comments

MindMeister, XMind, Obsidian, WiseMapping: Which One Respects Your Privacy?

https://www.mindmapvault.com/blog/do-they-respect-privacy/
1•Sauron26•27m ago•0 comments

Ask HN: How did you find PMF?

1•connollystr•30m ago•2 comments

Beating DeepMind AlphaEvolve [video]

https://www.youtube.com/watch?v=mVH7OPx4QZU
3•burrito_brain•36m ago•1 comments

CBP updated its electronic device search directive in Jan 2026

https://www.mayerbrown.com/en/insights/publications/2026/04/traveling-abroad-your-phone-may-be-th...
2•Ember_Wipe•37m ago•0 comments

I bypassed AWS API Gateway auth with a trailing slash. Got $12K bounty

https://guptalog.free.nf/2026/04/10/i-bypassed-aws-api-gateway-auth-with-a-trailing-slash-got-12k...
1•ofcyes•40m ago•0 comments

Codex CLI Goal Mode: Define Done, Not Next

https://blog.danielvaughan.com/codex-cli-goal-mode-define-done-not-next-c8d13213ea7c?postPublishe...
2•dvaughan•47m ago•0 comments

The fourth independent assessment of UK climate risk

https://www.theccc.org.uk/publication/a-well-adapted-uk/
1•fanf2•48m ago•1 comments

Tokyo's 'Sagrada Familia' stands defiant after 20 years of building

https://www.asahi.com/ajw/articles/16531098
1•Kaibeezy•49m ago•0 comments

Hundreds demand halt on Box Elder data center plan

https://utahnewsdispatch.com/2026/05/23/hundreds-demand-halt-on-box-elder-data-center-plan/
2•mooreds•50m ago•0 comments

The Many Faces of the Security Poverty Line

https://www.chrisfarris.com/post/security-poverty-cliff/
1•mooreds•50m ago•0 comments

Find where your AI coding tokens went: local TUI for Codex/Claude logs

https://github.com/peterxcli/ccost
1•peterxcli•51m ago•0 comments

Ask HN: Niche Uses for Disused Phone

1•hyperific•51m ago•0 comments

Ask HN: What is your daily AI stack?

1•dockerd•55m ago•1 comments

Neuro; An AOT-compiled language for AI workloads built on LLVM 20

https://github.com/PanzerPeter/Neuro
1•PanzerPeter•55m ago•0 comments

Tell HN: Claude Code now allows Anthropic to remotely inject system prompts

6•matheusmoreira•56m 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.