frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Proof-oriented programming in Verus vs. Lean

https://willcrichton.net/notes/verus-lean-bitset/
1•fanf2•26s ago•0 comments

NixOS 26.11 Released

https://nixos.org/blog/announcements/2026/nixos-2611/
1•tuhtah•1m ago•0 comments

Show HN: Find out your dominant planet easy

https://dominantplanet.app/
1•BitcoinLogbook•1m ago•0 comments

How can you run code that hasn't been notarised?

https://eclecticlight.co/2026/08/11/how-can-you-run-code-that-hasnt-been-notarised/
1•permitcore_dev•2m ago•0 comments

Booting an LLM Straight from UEFI

https://twitter.com/superalesha/status/2128183560922444243
1•asilis•2m ago•0 comments

Asymmetric cryptography is feeling the squeeze

https://lwn.net/SubscriberLink/1110270/80a0434532548e45/
2•jwilk•8m ago•0 comments

Smart Assistant Organizer: Markdown project memory for AI assistants

https://github.com/khdrgdo/smart-assistant-organizer
1•khdrgdo•10m ago•0 comments

Is this the earliest example of AI psychosis?

https://www.washingtonpost.com/technology/2022/06/11/google-ai-lamda-blake-lemoine/
1•nervous_north•13m ago•0 comments

Show HN: I built a playground for open problems in science and math

https://ufg.onrender.com/
1•j-stoerk•16m ago•0 comments

I built Biblillion, a Bible trivia game inspired by Krillion

https://biblillion.com
2•czmilo•17m ago•0 comments

A guide to running Xbox games on Windows

https://darner.app/
1•blackomw•18m ago•1 comments

Nov record heat was so far above normal, hit levels not expected until the 2030s

https://apnews.com/article/november-heat-climate-change-warming-el-nino-f5329672cbf8c7b881f7ec31d...
2•Teever•19m ago•0 comments

Tenant-isolated field-level encryption without a KMS

https://nonodb.com/blog/vault-collections-and-per-tenant-keys/
1•essmos•21m ago•0 comments

Average 5-torsion in class groups of imaginary quadratic fields equals 2

https://github.com/google-deepmind/superhuman/tree/main/cohen_lenstra
1•acossta•22m ago•0 comments

Your Ambition is your Agent's Bottleneck

https://twitter.com/addyosmani/status/2128026328871952420
1•asilis•22m ago•0 comments

Ask HN: Let's talk immediate, easy-to-understand next steps of moving to PQC

1•mittermayr•23m ago•0 comments

I can't type Hindustani into my terminal emulator, and that makes me sad

https://ankursethi.com/blog/terminal-emulators-complex-scripts/
1•GeneralMaximus•24m ago•0 comments

Introduction to Dark Matter (open access eBook)

https://link.springer.com/book/10.1007/978-3-032-28881-3
1•unprovable•24m ago•0 comments

Stop publishing your elliptic curve public keys on GitHub

https://an.dywa.ng/public-key.html
1•cbeuw•25m ago•0 comments

CF CEO: "There are things worse than that" (asked if RSA-2048 was cracked)

https://twitter.com/Bunagayafrost/status/2128343195734192257
1•7a4d15b7•26m ago•0 comments

Faster Grep for Agents

https://github.com/microsoft/tgrep
1•Schlagbohrer•27m ago•1 comments

Tell HN: Cloudflare added spending limit (finally)

2•amenghra•28m ago•1 comments

Show HN: Xbintsc – A self-hosting TypeScript AOT compiler targeting LLVM IR

https://github.com/zy445566/xbintsc
1•zy445566•28m ago•0 comments

Europe wants a cloud champion. One of its best bets wants to be left alone

https://www.secondchapter.co/articles/hetzner-cloud-profile
1•doener•31m ago•0 comments

China's memory giant CXMT bets on domestic AI chip design as US tightens curbs

https://www.scmp.com/tech/tech-war/article/3376671/chinas-memory-giant-cxmt-bets-domestic-ai-chip...
1•minjunpark•31m ago•0 comments

Nvidia Kyber Galaxy Is Bringing Vera Rubin NVL72 to Space – ServeTheHome

https://www.servethehome.com/nvidia-kyber-galaxy-is-bringing-vera-rubin-nvl72-to-space/
1•rbanffy•33m ago•0 comments

Show HN: AgentProof – A flight recorder for Claude Code and MCP agents

https://agentproofchain.com/claude/
1•officialgovera•34m ago•0 comments

Resampling 400M CFD points in 0.46s in Rust (vs 12.5s in ParaView)

https://dimitritimoz.github.io/paraviz/
1•Aelorius•38m ago•0 comments

AI malfunctions when asked to repeat the letter "A" 100 times [video]

https://www.youtube.com/shorts/Trtm1QRCYRI
4•nvmdbljstm•39m ago•0 comments

Free audio transcription in the browser, no account needed

https://floxolab.com/tools/audio-to-text
1•floxolab•41m 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.