frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Using Genius AI Models for Important Things: Cheating at NetHack

https://josephthacker.com/hacking/2026/08/20/using-genius-hacking-models-for-important-things.html
1•rez0__•58s ago•0 comments

Slack Code

https://www.salesforce.com/introducing-slack-code/?bc=HL
1•trollied•1m ago•0 comments

The Secret Life of Circuits

https://blog.coredump.cx/p/the-secret-life-of-circuits
1•surprisetalk•2m ago•0 comments

Show HN: Revela – a complete camera ISP generated from NumPy, running on FPGA

https://revelaisp.com
1•lanserge•2m ago•0 comments

Harvest hikes bills by 1500% after purchased by Bending Spoons

https://www.bbc.com/news/articles/clyq011414eo
2•jonathanlydall•4m ago•0 comments

Where Does Computation End?

https://sslog.dpdns.org/where-does-computation-end.html
1•Shaurya_Sharma•5m ago•1 comments

How HN: Pulse: A free, multi-signal alternative to Alexa Rank and SimilarWeb

https://www.pulstraffic.com
1•tvictano•5m ago•0 comments

Show HN: Bisecto – A minimalist game about cutting shapes into 50/50 halves

https://bisecto.com/
2•bpx51•7m ago•0 comments

An elliptic curve of rank ≥ 30

https://elliptic-rank.icarm.cloud/curve/273
1•robinhouston•8m ago•0 comments

Bun 1.4 Released

https://github.com/oven-sh/bun/releases/tag/bun-v1.4.0
2•andsoitis•8m ago•0 comments

Fastest known star could reveal the spin of our galaxy's giant black hole

https://www.science.org/content/article/fastest-known-star-could-reveal-spin-our-galaxy-s-giant-b...
1•Brajeshwar•9m ago•0 comments

Exploding a CD by Spinning it at high speeds [video]

https://www.youtube.com/watch?v=0yNAbHKF8pY
1•vismit2000•9m ago•0 comments

Private Startups Are Rapidly Advancing Canadian Rockets

https://spectrum.ieee.org/canadian-rockets
1•rbanffy•9m ago•0 comments

A look under our trunk: what's in our compute

https://waymo.com/blog/2026/08/look-under-our-trunk/
1•ra7•9m ago•0 comments

SEO Skills AI – Universal Open-Source SEO Agent for Claude, Cursor, Windsurf

https://github.com/seoskillsai/seo-skills-ai
2•seoskillsai•11m ago•0 comments

Skills over MCP

https://aaif.io/blog/skills-over-mcp
2•mooreds•12m ago•0 comments

The Prompt Cacheing Cheatsheet

https://coolhandlabs.com/updates/llm-prompt-caching-what-it-is-and-key-terms-explained
2•mikecarroll•12m ago•0 comments

Bun 1.4

https://bun.com/blog/bun-v1.4
11•meetpateltech•13m ago•1 comments

I gave a matcher 43k unlabelled reports; it found 9/10 known events

https://theanomalynetwork.com/method
2•kyleclouthier•13m ago•0 comments

Hacking with Claude on a $27 Smart Watch

https://www.mikekasberg.com/blog/2026/08/19/hacking-with-claude-on-a-27-smart-watch.html
4•speckx•15m ago•0 comments

IBM Pushes System Design to Reach Ultra-Cold Temperatures for Quantum

https://www.nextplatform.com/compute/2026/08/19/ibm-pushes-system-design-to-reach-ultra-cold-temp...
2•rbanffy•17m ago•0 comments

Mindlas catches your coding agent drifting before the bad code

https://github.com/Evolutionairy-AI/MINDLAS
2•Bluestein•17m ago•1 comments

'Not a theoretical risk,' feds warn as attackers use AI-made code

https://www.theregister.com/security/2026/08/19/not-a-theoretical-risk-feds-warn-as-attackers-use...
3•nyku•18m ago•0 comments

Nat: The Natural Unit of Information

https://en.wikipedia.org/wiki/Nat_(unit)
3•lioeters•18m ago•0 comments

Stwipe Acquires OpenWouter

https://stwipe.com/
3•eatonphil•18m ago•0 comments

Guess which of these LLM outputs is watermarked

https://sgoedecke.github.io/watermark-quiz/
2•gfysfm•19m ago•1 comments

A registry and transparency log for discovering and verifying AI agents by name

https://github.com/agentnameservice
2•mooreds•19m ago•0 comments

Viaduct – Tool to Convert a Google Chrome Extension into a Safari Web Extension

https://github.com/magicelk235/Viaduct-CLI
2•microflash•19m ago•0 comments

The Great Android Stack Reset – A history of mobile system design

https://returnzero.dev/articles/android-mobile-system-design-history
1•rotemmiz•19m ago•0 comments

How Control Moves Through Code, Chips, and Nations [video]

https://fosdem.org/2026/schedule/event/NS7DF7-hidden-life-of-infrastructure/
1•mooreds•19m 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.