frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Computers Are Just a Tool

1•DesaiAshu•1m ago•0 comments

Neovim Colorscheme: Luna.nvim

https://github.com/WTFox/luna.nvim
1•wtfox•1m ago•0 comments

Show HN: Ask your coding agent to subtitle, translate, and clip video (FFmpeg)

https://github.com/perso-ai/perso-dubbing-plugin
1•remyships•7m ago•0 comments

3 in 4 European businesses fear their US tech provider could cut them off

https://proton.me/business/blog/business-continuity-survey
3•billybuckwheat•8m ago•0 comments

Neutrinos from Deep Inside Earth Provide a New Picture of the Mantle

https://www.quantamagazine.org/neutrinos-from-deep-inside-earth-provide-a-new-picture-of-the-mant...
1•pseudolus•11m ago•0 comments

Multi-Agent Coach Adversarial Eval. Passed Designed Traps and Basics Failed

https://i.brandanthonymcdonald.com/multi-agent-eval-teardown
1•aweful•11m ago•0 comments

Shimg: AppImage Shell Script

https://github.com/mgord9518/shappimage
1•jcbhmr•16m ago•0 comments

Stream PS Plus Games to Steam Deck

https://www.eurogamer.net/steam-deck-ps5-streaming-app-asobi
1•slowhadoken•18m ago•0 comments

Why the Kaggle API Gave Me the Wrong Private Leaderboard

https://medium.com/@alanscottencinas/why-the-kaggle-api-gave-me-the-wrong-private-leaderboard-d2e...
1•encinas88•20m ago•0 comments

A Drone 'Hellscape' Might Stop a Chinese Invasion of Taiwan

https://www.nytimes.com/2026/08/09/world/asia/taiwan-drone-china-invasion.html
1•mikhael•21m ago•0 comments

A Generation on Antidepressants Searches for the Exit

https://www.nytimes.com/2026/08/07/opinion/antidepressants-ssris-side-effects-drugs-maha.html
1•cwwc•23m ago•0 comments

Tearable UI

https://pushmatrix.github.io/tearable/
2•yen223•29m ago•1 comments

Avoid "Eatslop"

https://soups.vercel.app/articles/avoid-eatslop.html
1•convolutedsoup•31m ago•0 comments

Quantum advantage for simulating Floquet dynamics

https://arxiv.org/abs/2607.24937
1•nsoonhui•42m ago•0 comments

Show HN: CtxRay – see and lock what Codex loads before a task

https://github.com/FramY2/ctxray
1•framy2•43m ago•0 comments

China became the great oil power

https://www.economist.com/finance-and-economics/2026/08/09/how-china-became-the-worlds-great-oil-...
2•toomuchtodo•51m ago•1 comments

MatrAIx: Simulating the World with 8.3B Persona Agents

https://arxiv.org/abs/2608.04205
1•birriel•55m ago•1 comments

Show HN: SynapsCLI – lightweight agent runtime in Rust, control an agent swarm

https://github.com/HaseebKhalid1507/SynapsCLI
2•0x04am•57m ago•0 comments

LLMs Get Lost in Evolving User Intent

https://arxiv.org/abs/2607.20734
2•Anon84•1h ago•0 comments

How We Pushed CDC into Postgres

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
19•craigkerstiens•1h ago•0 comments

Blender MCP maintainer GitHub account hacked

https://twitter.com/sidahuj/status/2086445625147793503
5•babuskov•1h ago•0 comments

Profile-Guided Optimization in Go

https://lemire.me/blog/2026/08/09/profile-guided-optimization-in-go/
1•prattmic•1h ago•0 comments

Spy cameras on Navy drones sent data to China

https://www.telegraph.co.uk/news/2026/08/09/spy-cameras-on-navy-drones-secretly-sent-data-to-china/
2•el_duderino•1h ago•1 comments

EGA and Me: A Complicated Relationship

https://reanthsoft.com/blog_260806_ega_and_me.html
1•doener•1h ago•0 comments

Simple, multi-key sorting algorithm for 2D+ points gridification

https://github.com/ArmanddeCacqueray/Cartesian-Grid-Sort
1•adec314•1h ago•1 comments

Forbidden fruit: Buick Electra gets 435 mile range and 376 HP for $25K in China

https://electrek.co/2026/08/06/forbidden-fruit-buick-electra-gets-435-mile-ev-range-and-25000-pri...
7•MilnerRoute•1h ago•2 comments

Pentagon presses defense firms to build weapons as Iran war depletes stocks

https://www.washingtonpost.com/technology/2026/08/08/pentagon-presses-defense-firms-build-weapons...
2•Teever•1h ago•0 comments

California Cyberattack on 911 Systems

https://www.latimes.com/california/story/2026-08-09/cyberattack-forces-emergency-declaration-in-s...
2•vsgherzi•1h ago•0 comments

Show HN: Acquired Podcast Idea Dinner Returns

https://acquirers.vercel.app/
1•Taikhoom2010•1h ago•0 comments

Japanese court overturns Red RAW video patent

https://www.dpreview.com/news/panasonic-did-what-apple-sony-and-nikon-couldnt-overturn-a-red-raw-...
24•anigbrowl•1h ago•3 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.