frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What nearly broke you in your first year as CTO?

1•Cannonball2134•19s ago•0 comments

Zipp 2001 Restoration

https://robot-daycare.com/posts/zipp-2001-restoration-part-1/
1•o4c•1m ago•0 comments

Black Hat USA 2025 – Breaking Control Flow Integrity by Abusing Modern C++ [video]

https://www.youtube.com/watch?v=hxIPoi4ONNA
1•pjmlp•4m ago•0 comments

As US missiles leave South Korea, the Philippines asks: are we next?

https://www.scmp.com/week-asia/politics/article/3346226/us-missiles-leave-south-korea-philippines...
1•etiam•6m ago•0 comments

Show HN: AIWatermarkDetector: Detect AI Watermarks in text or code

https://github.com/ulrischa/AIWatermarkDetector
1•ulrischa•11m ago•1 comments

Whitehall can't cost digital ID until it decides how to build it

https://www.theregister.com/2026/03/11/digital_id_cost/
1•jjgreen•11m ago•0 comments

Meta Acquires Moltbook

https://arstechnica.com/ai/2026/03/meta-acquires-moltbook-the-ai-agent-social-network/
1•lnrd•11m ago•0 comments

The Anthropic Institute

https://www.anthropic.com/institute
1•pretext•12m ago•0 comments

The return-to-the-office trend backfires

https://thehill.com/opinion/technology/5775420-remote-first-productivity-growth/
2•PretzelFisch•13m ago•0 comments

Tensorlake

https://tensorlake.ai/
1•handfuloflight•15m ago•0 comments

Now I have a clear picture. Let me understand the issue

1•noduerme•15m ago•0 comments

I Need a Partner

1•justYooz•16m ago•0 comments

Ask HN: Which EU country would you recommend for setting up a startup?

1•stein1946•16m ago•0 comments

NextCell – a portable spreadsheet editor inspired by Excel 97

https://redata.dev/nextcell/
3•Suliman123•18m ago•1 comments

Show HN: TUI for SVN

https://lazysvn.sawirstudio.com/
1•sawirricardo•21m ago•0 comments

Agentic Risks

https://cloudberry.engineering/article/agentic-risks/
1•gbrindisi•22m ago•0 comments

Ask HN: Why does a black line appear on HN sometimes?

1•bheadmaster•28m ago•3 comments

Ask HN: How do you find joy in a world full of depressing news?

2•Razengan•30m ago•1 comments

Gpsjam GPS/GNSS Interference Map

https://gpsjam.org/
2•jonbaer•34m ago•0 comments

The Quantum Curtain

https://www.defenseone.com/ideas/2026/03/quantum-curtain/411967/
3•jonbaer•37m ago•0 comments

Stacksort

https://gkoberger.github.io/stacksort/
1•mihau•38m ago•0 comments

Mesh – remote mobile forensics and network monitoring

https://github.com/BARGHEST-ngo/MESH
1•0x0v1•38m ago•1 comments

MacBook Neo Review: Better Than You Think

https://www.youtube.com/watch?v=iGeXGdYE7UE
1•keepamovin•39m ago•0 comments

Encode/httpx: Closing off access

https://github.com/encode/httpx/discussions/3784
2•luismedel•40m ago•1 comments

A Kubernetes operator that orchestrates AI coding agents

https://medium.com/@bobbydeveaux/we-built-an-ai-that-plans-codes-reviews-and-ships-and-then-we-us...
2•bobbydeveaux•41m ago•1 comments

AI Agent Hacks McKinsey

https://codewall.ai/blog/how-we-hacked-mckinseys-ai-platform
3•mycroft_4221•42m ago•0 comments

Movies I Highly Recommend

https://github.com/ojhaugen15/12_movies
1•programmexxx•44m ago•0 comments

Richard Feynman's story illustrating the problem of p-hacking

https://twitter.com/SwipeWright/status/2031604331510690112
5•MrBuddyCasino•52m ago•0 comments

Glanceway – Collect RSS and custom plugin data in your macOS menu bar

https://glanceway.app
1•codytseng•53m ago•1 comments

Unbash: Fast 0-deps bash parser written in TypeScript

https://github.com/webpro-nl/unbash
1•mariuz•54m ago•0 comments
Open in hackernews

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

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