frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Plasticity and language in the anaesthetized living human hippocampus

https://www.nature.com/articles/s41586-026-10448-0
1•bookofjoe•1m ago•0 comments

Gene editing is coming for common diseases. Are we ready?

https://medresearch.umich.edu/health-lab/gene-editing-coming-common-diseases-are-we-ready
1•geox•1m ago•0 comments

Trump Envoy Tells Nervous Gulf Allies U.S. Can't Guarantee Security Forever

https://www.wsj.com/world/middle-east/trump-envoy-tells-nervous-gulf-allies-u-s-cant-guarantee-se...
2•JumpCrisscross•2m ago•0 comments

Testing an Iframe's PostMessage Handler

https://blog.master.dev/testing-an-iframes-postmessage-handler/
1•ibobev•4m ago•0 comments

Semi Analysis EP 39: We've raised our GW forecast [video]

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

A Deep Dive into Tsrs

https://flaviocopes.com/tsrs/
1•ibobev•4m ago•0 comments

POSIX shell is all you need: and a better line editor

https://bower.sh/posix-shell-is-all-you-need
1•speckx•5m ago•0 comments

Color Names

https://names.color.pizza
1•akkartik•5m ago•0 comments

30 Months on the Exponential (In Charts)

https://www.oneusefulthing.org/p/30-months-on-the-exponential-in-charts
1•swolpers•5m ago•0 comments

The Future of CSS

https://www.joshwcomeau.com/css/interop-2027/
1•ibobev•5m ago•0 comments

Show HN: Git-Zmarshal

https://github.com/suthakamal2/git-zmarshal
1•suthakamal•5m ago•0 comments

AI Had Better Work Out

https://www.wheresyoured.at/ai-had-better-work-out/
1•7777777phil•7m ago•0 comments

Testing Jev, a fast multiple-choice AI model, on forensic accounting tasks

https://case-trail.com/blog/testing-jev-ai-model-forensic-accounting
1•mstalcup•7m ago•0 comments

Ask HN: My Gemini bill shot up suddenly to 2500 USD in one day

1•kinj28•8m ago•0 comments

Best LLM Fine-Tuning Services: What to Look for in 2026

https://www.rebiha.com/best-llm-fine-tuning-services
1•Rebiha•8m ago•0 comments

Perplexity Computer now runs local on Mac

https://www.perplexity.ai/hub/blog/perplexity-computer-now-runs-fully-local-on-mac
1•johnbehnke•10m ago•0 comments

Revolut has been having an incident for 7 hours

https://twitter.com/GergelyOrosz/status/2112560053433913805
1•tosh•11m ago•0 comments

Google cloud outage knocks out Revolut and others

https://www.bloomberg.com/news/articles/2026-10-20/google-cloud-outage-takes-down-revolut-and-oth...
1•olzhasar•11m ago•0 comments

"Vibe coding" is a category error

https://www.jamesgill.co/vibe-coding-trivialised/
1•jamesjgill•13m ago•0 comments

Show HN: Game Student Protest

https://studentprotest.himanshuanand.com/
2•unknownhad•13m ago•0 comments

Show HN: armsense – firewall & router ARM64 distro based on pfSense and FreeBSD

https://github.com/yadvlabs/armsense
3•rohityadavcloud•13m ago•0 comments

The free upgrade that raised your bill

https://three.dev/blog/the-free-upgrade-that-raised-your-bill
2•drodriguezhdez•14m ago•0 comments

I inspected all 30,516 remote MCP servers in the official registry

https://mcpcanary.com/blog/state-of-mcp-reliability-q4-2026/
1•xakpc•15m ago•1 comments

A course on adapting agile when agents write most of the code

https://learnvoro.com/courses/agent-driven-agile-engineering-process-design-for-7-person
1•mostafagazar•15m ago•0 comments

Fixing CVE-2026-111943 in Go Apps and Binaries

https://casco.com/blog/cve-2026-111943-go-remediation
2•french_toast_fi•16m ago•0 comments

Terrifi: A Terraform provider for UniFi (built with Claude and HITL testing)

https://alexklibisz.com/2026/03/07/terrifi
2•lwhsiao•16m ago•0 comments

The Company of the Future [video]

https://www.youtube.com/watch?v=deiLxNZH_DM
1•tosh•17m ago•0 comments

What is missing? (2009-2025)

https://www.whatismissing.org/
1•yhjc2692•19m ago•1 comments

Take my toil, leave me my struggle

https://newsletter.kentbeck.com/p/take-my-toil-leave-me-my-struggle
1•KentBeck•19m ago•0 comments

DHS Claimed It Searched GrapheneOS Phone Wiper for Child Abuse Material. It Lied

https://www.404media.co/dhs-said-they-searched-man-who-wiped-grapheneos-phone-for-child-abuse-mat...
6•cdrnsf•19m 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.