frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Agents report "window not found" when the window is just minimized

1•kkoy•19s ago•0 comments

JDM Gentleman's Agreement: Why Iconic Japanese Cars Are Limited to 276 HP

https://carbuzz.com/features/jdm-gentlemans-agreement-japanese-cars-276-hp/
1•tosh•28s ago•0 comments

Optimizing beyond the compiler with kernel-checked equivalence proofs

https://tacitresearch.com/blog/proved-faster-machine-code/
1•miguel_dz•59s ago•0 comments

Curveslop – explore how costly it is to break weak ECC

https://curveslop.com/
1•ccamrobertson•2m ago•0 comments

Gen Zs and millennials are redefining career progression on their own terms

https://www.deloitte.com/global/en/insights/topics/talent/gen-z-and-millennial-workforce-trends.html
1•andsoitis•3m ago•0 comments

Jensen Huang left many questions unanswered when lawmakers queried Nvidia CEO

https://www.reuters.com/world/us/us-lawmakers-release-transcript-nvidia-ceo-huangs-tuesday-testim...
2•nephihaha•5m ago•0 comments

Microsoft Patents AI That Can Rewrite Your Words Live – and Make Your Lips Match

https://www.computerworld.com/article/4244752/microsoft-files-patent-for-ai-that-can-alter-what-p...
1•mrkn1•5m ago•0 comments

Show HN: Gojent – A small typed agent runtime for Go

https://gojent.com/
1•ijaidev•5m ago•0 comments

Show HN: HimitsuShell – Making shell scripts invisible even to kernel tracing

https://github.com/HimitsuShell/HimitsuShell
1•mushstory•7m ago•0 comments

Please Turn Off Your GraphQL Introspection Before the Movie Begins

https://nullpt.rs/amc-graphql-introspection
1•lr0•8m ago•0 comments

No new Bitcoin puzzle cracked since July 2026

https://btcpuzzle.info/puzzles
1•jwpapi•9m ago•1 comments

What do we do with keys?

https://codon.org.uk/~mjg59/blog/p/what-do-we-do-with-keys/
2•edward•10m ago•0 comments

AI notetakers are spreading at work. The legal risks are growing

https://www.cnbc.com/2026/12/05/ai-notetaker-workplace-legal-risks.html
2•gwu78•13m ago•0 comments

Voiceless – Mouth words silently and your iPhone or Mac types them

https://apps.apple.com/us/app/voiceless-silent-dictation/id6841209482
2•ben_williams•14m ago•0 comments

Why American Schools Always Look Like Something Else

https://daily.jstor.org/why-american-schools-always-look-like-something-else/
1•lr0•15m ago•0 comments

The HN front page is (mostly) not gamed

https://micjm.com/blog/the-hn-front-page-is-mostly-not-gamed/
2•seizethecheese•16m ago•1 comments

Concerns of Scientists Regarding the Proposed Detection Measures Under the CSAR

https://csa-scientist-open-letter.org/Dec2026
1•renehsz•20m ago•0 comments

Only Risk Takers Grow

https://lastfitstanding.substack.com/p/only-risk-takers-grow
2•lastFitStanding•20m ago•0 comments

Swiss wood to fly through space for six months

https://ethz.ch/en/news-and-events/eth-news/news/2026/11/swiss-wood-to-fly-through-space-for-six-...
2•amelius•20m ago•0 comments

Show HN: Howsure – how many robot tests are enough to trust the result?

https://github.com/elanklatif-boop/howsure
1•elan_l•20m ago•0 comments

Digital Euro Regulation: Four Proposals for the Trilogue

https://www.taler.net/en/news/2026-16.html
1•renehsz•23m ago•0 comments

Modern war demands a data-centric, cloud-based command and control architecture

https://www.fdd.org/analysis/modern-war-demands-a-data-centric-cloud-based-command-and-control-ar...
1•teleforce•24m ago•0 comments

2048 Bit RSA and the Year 2030

https://articles.59.ca/doku.php?id=em:20482030
1•upofadown•26m ago•0 comments

Gaia Data Release 4 Exoplanets

https://www.cosmos.esa.int/web/gaia/dr4-exoplanets
1•u1hcw9nx•27m ago•0 comments

Cryptography changes in OpenSSH (in OpenBSD -current)

https://www.undeadly.org/cgi?action=article;sid=20261205121940
3•upofadown•27m ago•0 comments

Understanding the VP ≠ VNP Proof

https://www.daniellowengrub.com/blog/2026/11/29/vnp
1•lowdanie•28m ago•0 comments

Show HN: Packvcs – serverless Git remote on Google Drive/any rclone remote

https://github.com/XInTheDark/packvcs
1•XInTheDark•30m ago•0 comments

Mistral Vibe: The coding agent for chonky codebases

https://mistral.ai/products/vibe/
1•doener•33m ago•0 comments

New US chip curbs prompt tighter bank scrutiny of Asia AI data centre financing

https://www.reuters.com/business/finance/new-us-chip-curbs-prompt-tighter-bank-scrutiny-asia-ai-d...
1•gwu78•33m ago•0 comments

Good/Bad GDP and the Optimization for Power

https://essaypod.com/essay/good-bad-gdp-and-the-optimization-for-power
1•Lithuanian•34m 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.