frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why the Future Doesn't Need Us (2000)

https://www.wired.com/2000/04/joy-2/
2•sph•3m ago•0 comments

Skala (By the Creator of iStat Menus)

https://bjango.com/mac/skala/
1•frizlab•5m ago•0 comments

An open laptop, a crowded Orange Line train, and a tipster

https://www.niemanlab.org/2026/11/an-open-laptop-a-crowded-orange-line-train-and-a-tipster/
1•thm•6m ago•0 comments

The Mick Jagger Interview [video]

https://www.youtube.com/watch?v=qiBgj8pk0fA
1•thm•7m ago•0 comments

How we got GPUI into the browser [video]

https://www.youtube.com/watch?v=4fj9CynHK64
1•vovavili•12m ago•0 comments

MikroTik: Forcing DNS through Pi-hole with automatic failover

https://rz01.org/routeros-pihole/
1•exitnode•12m ago•0 comments

Intel One Mono font

https://github.com/intel/intel-one-mono
2•saikatsg•13m ago•1 comments

Interview: On OpenStreetMap Syria

https://blog.opencagedata.com/post/openstreetmap-interview-osm-syria
1•altilunium•15m ago•0 comments

jjack: A CLI and TypeScript library to help jj users manage PR stacks on GitHub

https://github.com/david-crespo/jjack
1•g0xA52A2A•17m ago•0 comments

Codex CLI gives its coding agent 26 ChatGPT account tools by default

https://getbelay.dev/reports/codex-apps/
1•allexsendev•17m ago•1 comments

Pullgym – An RL and eval env that scores agents on honest error bars

https://github.com/kekeandzeyu/pullgym
1•kekeandzeyu369•17m ago•0 comments

Gridpin – Offline geocoder, a country in a file

https://gridpin.dev/
1•altilunium•18m ago•0 comments

A Python course in the browser from print() to a tiny GPT

https://paulspythoncourse.com/
2•bouwles•19m ago•0 comments

AI Has Changed VulnCheck's Exploit Delivery

https://www.vulncheck.com/blog/ai-has-changed-vulncheck
1•albin0lobster•21m ago•0 comments

Building an Internal Company Agent: What We Got Right and Wrong

https://oioannou.com/blog/internal-company-agent-lessons/
1•fagnerbrack•23m ago•0 comments

Show HN: AstraviX Studio – Local-first modular workspace and canvas in IndexedDB

https://studio.astravix.xyz/
1•aayan786236•23m ago•0 comments

Show HN: GymType, five-minute Python drills to stay sharp

https://gymtype.dev/
1•elisharobinson•26m ago•0 comments

My feature for catching false "done" was falsely done for 114 days

https://kevin-denotariis.medium.com/building-gitmoap-02-43-my-feature-for-catching-false-done-was...
1•kevindenotariis•28m ago•0 comments

Ground – Synthetic data generator that doesn't hallucinate

https://useground.dev
1•johnnymedhanie•30m ago•0 comments

I Booted from My Tape Backup from 2002

https://changelog.complete.org/archives/45268-i-booted-from-my-tape-backup-from-2002
2•joshcsimmons•34m ago•0 comments

Ohio Agree gas plant for data centers despite local voter backlash

https://ohiocapitaljournal.com/2026/11/25/ohio-oks-gas-plant-for-data-centers-despite-local-voter...
1•haebom•34m ago•0 comments

Ask HN: How do you handle corporate life?

1•busssard•35m ago•2 comments

Computer Science Achievement and Writing Skills Predict Vibe Coding Proficiency

https://arxiv.org/abs/2603.14133
2•7777777phil•37m ago•0 comments

Google Will Make AI Agents Use Its MCP Servers. The Gmail One Can't Send Email

https://techstackups.com/articles/google-workspace-ai-agents-mcp/
3•ritzaco•39m ago•0 comments

Show HN: Edvo – Free MDCAT prep for Pakistani med school applicants, no signup

https://edvo.io/
1•ahgamerz215•42m ago•0 comments

A Dieter Rams-inspired ambient drone synthesizer in the browser

https://sneed-and-feed.github.io/
1•Letterui•42m ago•1 comments

The Last Boring Slide

https://claude.ai/artifact/Cy2d8Vn63CnzCtonA1LSah#calendar-3
1•sixhobbits•42m ago•0 comments

SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts (2025)

https://arxiv.org/abs/2509.24832
1•peter_d_sherman•44m ago•1 comments

Tools are Hiding NPM Audits from You

https://www.zachleat.com/web/npm-audit-report/
2•n_plus_1_acc•49m ago•0 comments

Ask HN: If I broke prime factorization, who should I tell?

3•fercircularbuf•52m ago•5 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.