frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

American views of higher ed decline, once again

https://bryanalexander.org/horizon-scanning/american-views-of-higher-ed-decline-once-again/
2•surprisetalk•1m ago•0 comments

AI Layoffs – The Greatest Lie of the Decade

https://your-blog.vercel.app/posts/ai-layoffs-the-great-lie-of-the-decade
2•lordolunch•3m ago•0 comments

Lunar Outpost Regolith Smelting

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

Local Inference with LLMs

https://jacquesmattheij.com/local-inference-with-large-language-models/
1•janvdberg•4m ago•0 comments

Back to Home

https://mikrotik.com/bth
1•skibz•4m ago•0 comments

The Commanding Heights

https://commanding-heights.com/
1•simonpure•6m ago•0 comments

Cookie expiry capping for CNAME cloaking should not apply to YouTube and Google

https://github.com/WebKit/WebKit/pull/78492
1•erikkri•6m ago•0 comments

When Judges Become Prosecutors

https://www.washingtonpost.com/opinions/2026/10/28/brazils-treatment-bolsonaro-undermines-rule-of...
1•matheusmoreira•6m ago•0 comments

Have astronomers discovered the first moon outside of our solar system?

https://www.astronomy.com/science/have-astronomers-discovered-the-first-moon-outside-of-our-solar...
1•rbanffy•6m ago•0 comments

Hackers stole $6.3B from Binance, likely NK and compromised dev's laptop

https://finance.yahoo.com/markets/crypto/articles/tether-circle-freeze-2-38-222607515.html
1•toss1•7m ago•0 comments

In Praise of the Dilettante

https://aeon.co/essays/why-the-dilettante-is-the-anti-hero-of-our-over-optimised-age
1•ersinesen•7m ago•0 comments

The AI Chip Imports Explorer

https://epoch.ai/latest/introducing-the-ai-chip-imports-explorer
1•ersinesen•9m ago•0 comments

Proving 1 plus 1 = 2 in 616,873 lines of Lean

https://github.com/pragyaangaur/Proof-By-Exhaustion
2•pragyaangaur•11m ago•0 comments

US Reps Lead Democratic Resolution Opposing A.I. Bubble Bailout for Big Tech

https://progressives.house.gov/2026/10/reps-casar-waters-lead-democratic-resolution-opposing-a-i-...
2•DeepLogin•13m ago•0 comments

Show HN: Molfar – AI meetings where several models answer at once (Android)

https://play.google.com/store/apps/details?id=com.nova_hata.molfar&hl=en_US
1•Gucul_Molfar•14m ago•0 comments

Portugal considers 80 per cent EV purchase subsidies

https://www.electrive.com/2026/10/29/portugal-considers-80-per-cent-ev-purchase-subsidies/
1•teleforce•15m ago•0 comments

GitHub language bar is lying (how to fix it)

https://mkennedy.codes/posts/your-github-language-bar-is-lying-and-how-to-fix-it/
1•lumpa•16m ago•0 comments

SpaceX no longer needs NASA, and that's a problem for America's space agency

https://arstechnica.com/space/2026/10/spacex-no-longer-needs-nasa-and-thats-a-problem-for-america...
2•rbanffy•16m ago•0 comments

But Seriously, Fuck Cloudflare

https://kamiscorner.xyz/blog/fuck-cloudflare/
1•surprisetalk•21m ago•0 comments

What it costs to moderate 500 daily doodles with Jev

https://johalloran.dev/blog/squigdle-moderation
1•jpohalloran•26m ago•1 comments

You Can Turn Off the New MacBook Pro's Touchscreen Functionality

https://www.macrumors.com/2026/10/29/macbook-pro-touch-input-can-be-turned-off/
3•throwaway270925•26m ago•0 comments

Sony is launching the "ELF-MN1," a compact 6-inch Spatial Reality Display

https://xyn.sony.net/en/news/2026-srd-elf-mn1_release
1•cyrc•27m ago•1 comments

Show HN: NotchMetrics – Revenue dashboard in your MacBook's notch

https://notchmetrics.com
3•haxzie•27m ago•0 comments

Ginux: Independent rust based Linux implementation

https://github.com/gmkurtzer/ginux
4•cycomanic•28m ago•0 comments

What to consider if a company that made AI-related job cuts wants you back

https://apnews.com/article/ai-jobs-layoffs-hiring-rebounding-skills-04662acffb7beba822129118dde3f0a7
3•zomtorg•29m ago•0 comments

Senators Demand Meta Answer for 'Pervert Glasses'

https://www.404media.co/senators-wyden-markey-letter-to-meta-smart-glasses/
3•mooreds•30m ago•0 comments

Decode kernel panic from QR Code photo

https://gist.github.com/skorotkiewicz/c59e591c26661cb52b06afc42d8ac546
2•modinfo•30m ago•0 comments

Mosquito Lasers

https://www.nytimes.com/2026/10/30/briefing/mosquito-lasers.html
1•samch•30m ago•1 comments

How to Learn ML in 2026 interview

https://vickiboykis.com/2026/10/17/how-to-learn-ml-in-2026-interview/
1•mooreds•34m ago•0 comments

We Are All Conservatives Now

https://carlorimbotti.substack.com/p/we-are-all-conservatives-now
3•robertvandermaa•36m 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.