frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI Chief of Staff

https://airbots.ai/
1•vaibagra•3m ago•0 comments

I Built the Largest Commentary in the History of Persian Poetry

https://dev.arman.ac/posts/largest-commentary-in-the-history-of-persian-poetry/
1•armanj•5m ago•0 comments

Ask HN: For professional Mathematicians –- about your career in the future

1•markus_zhang•5m ago•0 comments

Best Areas to Start Your Bali Car Rental: Denpasar, Kuta, Ubud

https://www.thisishiphophq.com.ng/2026/11/best-areas-to-start-your-bali-car-rental-denpasar-kuta-...
1•mrb3njamins•5m ago•0 comments

Health Canada issues warning on rare risk of vision loss with GLP-1 drugs

https://www.cbc.ca/lite/story/9.7435990
1•colinprince•7m ago•0 comments

Show HN: Codeword

https://dawnofthe.dad/codeword
1•userundefined•7m ago•0 comments

Chinese projector brands cut memory specs as sales slump

https://heavytechasia.com/china-projector-sales-slump-as-brands-cut-memory-specs/
1•ilamont•7m ago•0 comments

Atlantic 1866: information and shipping in the age of the telegraph

https://atlantic-1866.com/
1•libraryofbabel•8m ago•0 comments

Why are climate activists so against nuclear?

https://dalewen.substack.com/p/why-are-climate-activists-so-against
3•mpweiher•9m ago•3 comments

Software factories are verifying the wrong thing

https://vivekkaushal.com/blog/software-factories-are-verifying-the-wrong-thing
1•kaushalvivek•9m ago•0 comments

Do We Need Software Factories?

https://vainolo.com/2026/11/16/do-we-need-software-factories/
2•speckx•10m ago•0 comments

Pollution Driven by U.S. Data Centers Causing Early Deaths

https://e360.yale.edu/digest/data-center-pollution-deaths
4•speckx•16m ago•0 comments

GloriART Internet Radio 2.1.0

https://gloriart.net/radio/
1•EmiIIius•20m ago•0 comments

Show HN: Anniversary Calculator

https://www.yourdatingassistant.com/anniversary-calculator
3•SuperCute•20m ago•0 comments

Show HN: <include-content> – Lazy loading with no app JavaScript

https://nucleus.excom.dev/packages/include-content
1•joe-excom•22m ago•1 comments

Wipeout 1987 – A top-down pixel-art tribute to WipEout

https://github.com/lucavix/wipeout1987
3•midzer•22m ago•1 comments

Show HN: Openfal, local image and video generation with a fal-style API

https://openfal.org
4•webbrain•23m ago•0 comments

RadioEchoes

https://radioechoes.com/
1•petethomas•25m ago•0 comments

Slow Ubuntu security response times

https://www.openwall.com/lists/oss-security/2026/11/25/9
3•gslin•26m ago•0 comments

SpaceX gets green light to deploy 1M satellites for data centers in space

https://www.nbcnews.com/science/space/spacex-fcc-authorizes-1-million-satellites-data-centers-spa...
2•cdrnsf•26m ago•1 comments

Nfs2root: A 12-year-old pre-auth remote root in the Linux kernel's NFS server

https://opensec.in/blog/nfs2root-cve-2026-99362
2•dm•28m ago•0 comments

72-Hour Fasting Can Reset Your Immune System, USC Study Shows

https://scienceinhand.com/72-hour-fasting-can-reset-your-entire-immune-system-usc-study-shows/
2•handfuloflight•28m ago•0 comments

Bpm: Open-source PearlHash miner for Blackwell GPUs

https://github.com/pushsoftnow/blackwell_pearl_miner
1•pushsoftnow•28m ago•0 comments

Trump administration determined Jensen Huang wasn't national security threat

https://www.reuters.com/business/us-justice-department-did-not-open-probe-into-jensen-huang-befor...
1•usernomdeguerre•30m ago•1 comments

Same Streets, Different Empires: The Hidden Narrative of Map Copyright

https://blogs.loc.gov/maps/2026/11/same-streets-different-empires/
1•pavel_lishin•33m ago•0 comments

Slow Ubuntu security response times

https://openwall.com/lists/oss-security/2026/11/25/9
4•baggy_trough•33m ago•0 comments

Breaking the Square-Root Barrier for the Log-Rank Conjecture [pdf]

https://github.com/google-research/google-research/blob/master/cogentic_research_papers/logrank_c...
4•acossta•35m ago•0 comments

From Portability to Conformance: A New Chapter for Layered Vulkan on Apple

https://www.khronos.org/blog/from-portability-to-conformance-a-new-chapter-for-layered-vulkan-on-...
2•MBCook•36m ago•0 comments

YouTube Signal to Noise Ratio

https://yousnr.com/
1•bobcat77•37m ago•0 comments

Quantum simulator for major chip types, for AI agents, 6x faster

https://github.com/vicena-labs/quantum-circuit-simulator
2•AI4Science•38m 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.