frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I moved my blog from Jekyll to Emacs Lisp

https://martinsos.com/posts/my-blog-in-elisp
1•Martinsos•1m ago•1 comments

The History of Lipstick

https://www.saturdayeveningpost.com/2026/04/common-threads-the-history-of-lipstick/
1•ohjeez•1m ago•0 comments

Alberta allows windfall oil and gas payments to select ranchers – on public land

https://thenarwhal.ca/alberta-grazing-oil/
1•Teever•3m ago•0 comments

US blockade costs Iran $4.8B, US Navy acting 'sort of like pirates,' Trump says

https://www.jpost.com/middle-east/iran-news/article-894867
1•Levitating•6m ago•0 comments

A preliminary model to establish a digital twin for coffee roasting

https://www.nature.com/articles/s41598-026-43923-9?fromPaywallRec=false
1•bookofjoe•6m ago•0 comments

Show HN: RegularMonk – a web app that helps me use my phone less

https://www.regularmonk.com/hello
1•amit9968•6m ago•0 comments

Apple Faces Lawsuits over AirTag Stalking After Class Action Denied

https://www.macrumors.com/2026/05/01/airtag-stalking-lawsuits-apple/
1•mgh2•6m ago•0 comments

Make Common Sense Common Again

https://nik.art/make-common-sense-common-again/
1•herbertl•8m ago•0 comments

Stackless coroutines for gamedev in ~200 lines of C++

https://vittorioromeo.com/index/blog/sfex_coroutine.html
2•tzury•9m ago•0 comments

Proudly Pathetic

https://craigatallahfrost.com/post/2025/08/17/proudly-pathetic/
1•herbertl•10m ago•0 comments

NASA to increase CLPS contract to support surge of lunar lander missions

https://spacenews.com/nasa-to-increase-value-of-clps-contract-to-support-surge-of-lunar-lander-mi...
1•rbanffy•11m ago•0 comments

America's Expanding Domestic Surveillance

https://www.wsj.com/articles/americas-expanding-domestic-surveillance-08b73187
2•Brajeshwar•16m ago•0 comments

The Fake Hawaii CTO Who Fooled Everyone

https://dallasexpress.com/national/from-vegas-stages-to-official-warnings-the-fake-hawaii-cto-who...
1•greenchair•16m ago•0 comments

Apple Stores Targeted in $16.2M Counterfeit Device Scheme

https://pasadenanow.com/main/pasadena-apple-store-among-locations-targeted-in-16-2-million-counte...
1•kid64•16m ago•0 comments

Docker vs. Podman: Which Containerization Tool Is Right for You – DataCamp

https://www.datacamp.com/blog/docker-vs-podman
1•abdelhousni•20m ago•0 comments

Ask HN:Do people configure Claude Code to use other models

https://openrouter.ai/apps/claude-code
1•ripvanwinkle•20m ago•1 comments

LibreLocal 2026 – Global Meetups Across Six Continents

https://tux.re/forum/viewtopic.php?t=217
1•tuxyz•20m ago•0 comments

We Forgot How to Write

https://www.timwehrle.de/blog/we-forgot-how-to-write/
1•timwehrle•21m ago•0 comments

Sebastian Proactive: a local‑first AI companion that initiates conversations

https://github.com/DaroHacka/proactive-sebastian-ai-companion
1•darohacka•24m ago•0 comments

Chinese AI models are ~8 months behind and falling further behind

https://twitter.com/scaling01/status/2050395242663223751
1•enraged_camel•24m ago•3 comments

Path to Vibe Engineering

https://leandronsp.com/articles/path-to-vibe-engineering
1•leandronsp•25m ago•0 comments

Zig's issue tracker got 3k spam issues in 20 minutes

https://codeberg.org/ziglang/zig/issues
2•qilme•26m ago•1 comments

B.C. researcher taps magic of Dungeons and Dragons to help kids

https://www.cbc.ca/news/canada/british-columbia/dungeons-and-dragons-kids-therapy-neurodivergence...
1•empressplay•27m ago•0 comments

Tim Cook, the interview: Running Apple 'is sort of a lonely job' (2016)

https://www.washingtonpost.com/sf/business/2016/08/13/tim-cook-the-interview-running-apple-is-sor...
1•downbad_•28m ago•2 comments

Here's Looking at Euclid: 3D Paper Models of Oliver Byrne's Euclid's Elements

https://www.helenfriel.com/heres-looking-at-euclid
1•the-mitr•28m ago•0 comments

Judgment Cannot Be Prompted

https://www.tsoon.com/posts/judgment-cannot-be-prompted/
2•mooreds•30m ago•0 comments

Field vs. Google, Inc

https://en.wikipedia.org/wiki/Field_v._Google,_Inc.
1•altilunium•31m ago•0 comments

Grok 4.3 is way cheaper and better than before

https://felloai.com/grok-4-3-review/
1•LV14•31m ago•0 comments

OWASP Agent Security Regression Harness

https://github.com/OWASP/Agent-Security-Regression-Harness
1•mertsatilmaz•31m ago•0 comments

Screw You Realtek

https://www.growse.com/2026/05/02/screw-you-realtek.html
2•fanf2•31m ago•0 comments
Open in hackernews

Show HN: AgentShield SDK – Runtime security for agentic AI applications

https://pypi.org/project/agentshield-sdk/
2•iamsanjayk•12mo 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•12mo 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•12mo 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.