frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

SpaceX launches Starship on successful test flight

https://www.scientificamerican.com/article/spacex-launches-starship-on-successful-test-flight/
1•JumpCrisscross•40s ago•0 comments

US moves to regulate hidden car handles

https://www.semafor.com/article/07/23/2026/us-moves-to-regulate-hidden-car-handles
1•jmsflknr•3m ago•0 comments

Show HN: Maps of >100 theories for how society works inc. Graham / Thiel / Smith

https://society.clearerthinking.org/
1•bestOfSocrates•4m ago•0 comments

IBM Acquiring HRL Laboratories

https://newsroom.ibm.com/2026-07-23-ibm-to-acquire-hrl-laboratories-to-power-the-future-of-quantum
1•osnium123•5m ago•1 comments

Midjourney Releasing v8.2

1•endmund•13m ago•1 comments

Pliny the Liberator claims universal jailbreak of models

https://twitter.com/elder_plinius/status/2080767011614015543
1•dnw•16m ago•0 comments

Trump's Plan for Science: More Money for A.I., Less for Universities

https://www.nytimes.com/2026/07/22/us/politics/trump-research-funding-artificial-intelligence.html
3•cratermoon•22m ago•1 comments

22 Years of Rails

https://twitter.com/rails/status/2080580838530355432
1•vinnyglennon•32m ago•0 comments

Show HN: Codebeat – turn any function into a song (no signup)

https://www.codedswitch.com/codebeat
1•Asume21•34m ago•0 comments

A Great Deal of Information About Hacker News

https://vale.rocks/posts/hacker-news
2•OuterVale•42m ago•0 comments

Show HN: Jolta – Automatic per-project JDK switching (like Volta, for Java)

https://oneappplatform.github.io/jolta/
1•pdxdave•53m ago•0 comments

Ukraine' Simple But Effective Protection Against Russian Starlink Jamming (2023)

https://www.technology.org/2023/08/01/did-russia-learn-to-jam-starlink-satellites-ukraine-is-alre...
4•pinkmuffinere•55m ago•0 comments

Exercise Erased Half the Molecular Signature of Muscle Aging

https://www.gethealthspan.com/research/article/exercise-molecular-signature-muscle-aging?zp_type=...
2•bilsbie•1h ago•1 comments

Evaluation of a pentapropellant upper stage (1970) [pdf]

https://ntrs.nasa.gov/api/citations/19700022572/downloads/19700022572.pdf
2•Eridanus2•1h ago•0 comments

Show HN: Modelfac

1•IceRay•1h ago•1 comments

Wine 11.14 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://www.winehq.org/announce/11.14
2•neustradamus•1h ago•0 comments

Show HN: git clone https://git.swerdlow.dev

https://git.swerdlow.dev/
2•benswerd•1h ago•3 comments

Creative Focus

https://herbertlui.net/creative-focus/
5•herbertl•1h ago•0 comments

OpenAI did not notice Hugging Face hack for a week

https://www.reuters.com/business/its-ai-agent-spent-days-hacking-company-sources-say-openai-did-n...
9•himaraya•1h ago•1 comments

The SharePoint zero-day panic this week is a marketing event

https://tensorust-site.vercel.app/
1•Shmungus•1h ago•0 comments

The computer has been surprising us

https://iwhalen.com/computer-surprise/
4•iwhalen•1h ago•0 comments

Claude used my pipeline to find a counterexample to the Jacobian conjecture

4•JGPTechCo•1h ago•1 comments

The final frontier – 01005 passives (2012)

http://siliconexposed.blogspot.com/2012/06/final-frontier-01005-passives.html
1•gregsadetsky•1h ago•0 comments

The Shape of Apps

https://parakeet.co/blog/the-shape-of-apps/
3•wpm•1h ago•0 comments

Bonsai – a toolkit for building AI chat apps with branchable conversations

https://github.com/Joaoha/Bonsai
2•joaoha•1h ago•0 comments

In desperate need of money so im willing to make anything

1•lowke•1h ago•1 comments

Ask HN: How would I restore this 101 year old postcard?

3•Waterluvian•1h ago•1 comments

Project Babylon: Gerald Bull's Downfall (2006)

https://www.damninteresting.com/project-babylon-gerald-bulls-downfall/
3•networked•1h ago•0 comments

Stripe closed my account with a 0.18% dispute rate

7•rellyattd•1h ago•5 comments

What Happened to WordPerfect? Why the Dominant Word Processor Disappeared

https://www.youtube.com/watch?v=cMnjphv3DQo
4•cable2600•2h 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.