frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: HackerBa – Hacker News with a Baidu Tieba UI

https://github.com/sha2kyou/HackerBa
2•sha2kyou•3m ago•0 comments

Ask HN: How do you handle iOS app submissions?

1•tedmundy•5m ago•0 comments

Suggestions on how to develop a tech recruitment platform using Claude?

1•zerodollar•5m ago•1 comments

Context Engineering in an LLM Harness

https://udnes.dev/posts/context-engineering-harness-part-1-ontology/
2•udnes•5m ago•0 comments

Mark Zuckerberg Blasts Centralization of A.I. Power

https://www.nytimes.com/2026/07/28/technology/mark-zuckerberg-meta-ai.html
1•danielcallahan•8m ago•0 comments

Show HN: Clark code – open-source IDE for OSS coding and free tier

https://github.com/clark-labs-inc/clark-code
1•stan_kirdey•8m ago•1 comments

The Code Review Paradox

https://dromeas.ai/blog/pr-vs-trunk-what-code-review-actually-looks-like
1•manos-saratsis•8m ago•1 comments

AMD Instinct Coder

https://www.amd.com/en/ecosystem/oem/supermicro/amd-instinct-coder.html
2•narism•9m ago•0 comments

Test

https://www.google.com/
1•snikolaev•9m ago•1 comments

The Three-Stroke Problem

https://penpot.app/blog/the-three-stroke-problem/
2•elenathor•13m ago•0 comments

How can a junior dev get better when they have to use AI in their job?

1•yogesharc•16m ago•2 comments

Finding the right price for a weather API

https://www.meteosource.com/blog/weather-api-pricing
1•Thunder_rumbles•18m ago•0 comments

Kikuha – A privacy-first, zero-tracking social network built with Flask and Htmx

https://kikuha.com/
2•koniakAra•25m ago•0 comments

Grokipedia stopped updating three months ago

https://www.lawfaremedia.org/article/grokipedia-stopped-reviewing-edits-in-april.-it-didn-t-tell-...
2•BlueBerry2001•28m ago•0 comments

Servers can be backdoored by exploiting buggy motherboard controll

https://arstechnica.com/security/2026/08/thousands-of-servers-can-be-backdoored-by-exploiting-bug...
1•joozio•29m ago•0 comments

Fedora Approves a Smaller Grub

https://lwn.net/Articles/1085609/
2•pykello•33m ago•0 comments

A Vision for Cargo

https://epage.github.io/blog/2026/08/cargo-vision/
1•ingve•34m ago•0 comments

Mathematicians make a breakthrough on Gauss's riddle, unsolved for 200 years

https://www.scientificamerican.com/article/mathematicians-make-a-breakthrough-on-gausss-riddle-un...
1•pykello•34m ago•0 comments

For Chinese LLMs, do you care about mainland-hosted vs. overseas endpoints?

https://api.realitypatch.net/
1•yangzhou-tech•37m ago•0 comments

Meta's Mac Coding Agent Costs Up to 20x Less If You Let It Train on Your Data

https://www.macrumors.com/2026/08/05/meta-muse-code-for-mac/
1•thm•39m ago•0 comments

Journey to Robbers Cave – Behavioral Scientist

https://behavioralscientist.org/journey-to-robbers-cave/
2•pulkonet•40m ago•0 comments

I built a postpartum recovery app after reading many stories from new mothers

https://play.google.com/store/apps/details?id=com.matrabloom.app&hl=en_IN
1•rahulsinghhh•44m ago•0 comments

Obsidian debuts Airtable to local Markdown file importer rescue tool

https://obsidian.md/help/import/airtable
1•thoughtpeddler•45m ago•0 comments

Dissection of Flock Safety Camera

https://www.cehrp.org/dissection-of-flock-safety-camera/
1•sandebert•46m ago•0 comments

Let's all meet up in the Y2K

https://blog.gingerbeardman.com/2026/08/06/lets-all-meet-up-in-the-y2k/
3•msephton•47m ago•0 comments

Design Test

1•ccbakla•48m ago•0 comments

You Can't Optimize for Rest (2021)

https://theconvivialsociety.substack.com/p/you-cant-optimize-for-rest
2•downbad_•48m ago•0 comments

Own-Goal Football (2022)

https://generalist.academy/2022/06/07/own-goal-football/
3•downbad_•49m ago•0 comments

The American Age in the Persian Gulf Is Over

https://phillipspobrien.substack.com/p/midweek-update-22-the-american-age
3•JumpCrisscross•51m ago•0 comments

Britain will soon be Europe's energy powerhouse

https://www.telegraph.co.uk/business/2026/08/04/britain-will-soon-be-europes-energy-powerhouse/
2•sbyse•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.