frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A Lot of the Attacks on Higher Ed Are Unfair. Not This One

https://www.nytimes.com/2026/08/08/opinion/cambridge-plagiarism-arday-higher-education.html
1•Michelangelo11•6m ago•0 comments

Bastrop's City Council Holds Meetings over 100 Miles Away

https://texasscorecard.com/local/bastrops-city-council-holds-meetings-over-100-miles-away/
1•bob1029•6m ago•0 comments

'AI Escaped Its Sandbox' – What That Actually Means?

https://unpredictabletokens.substack.com/p/ai-escaped-its-sandbox-what-that
1•jac08h•7m ago•1 comments

Show HN: A probabilistic programming language with exact inference and loops

https://github.com/kccqzy/probabilistic-program-inference/blob/master/README.md
1•kccqzy•7m ago•0 comments

The Cosplay Economy

https://www.rosshartshorn.net/stuffrossthinksabout/cosplay/
2•rossdavidh•8m ago•0 comments

Pick

1•ronniojunior•10m ago•1 comments

My MacBook Aged Three Years in Three Months of Vibe Coding

https://generativeai.pub/my-macbook-aged-three-years-in-three-months-of-vibe-coding-64e7ab92123d
1•ako•11m ago•2 comments

Shared Intentionality

https://en.wikipedia.org/wiki/Shared_intentionality
1•binyu•12m ago•0 comments

Servitor – Simplest way to run local dev containers

https://servitorapp.live/
1•havu12•14m ago•0 comments

A device finds encrypted DNS by itself

https://blog.dundns.eu/posts/ddr-encrypted-dns-discovery/
1•olexsmir•14m ago•0 comments

"Code was never the hard part" is an insult to all programmers

https://blog.senko.net/code-was-never-the-hard-part-is-an-insult-to-all-programmers
1•senko•14m ago•0 comments

AI Leaders Say the Singularity Has Begun

https://ai-updates.net/ai-leaders-say-the-singularity-has-already-begun/
1•ashurandi•14m ago•0 comments

Show HN: Gram, a vector search engine I built in C++

https://github.com/sverp/gram
1•sverp•15m ago•0 comments

My Own GitHub: Git, CRDT, Markdown

https://replicated.live/blog/crdt
1•gritzko•16m ago•0 comments

Glycogen Body

https://en.wikipedia.org/wiki/Glycogen_body
1•binyu•16m ago•0 comments

Engineering Metrics for GitHub

https://gitdailies.com/
1•andreigaspar•19m ago•0 comments

Can you hack your gut microbiome?

https://www.economist.com/science-and-technology/2026/08/07/can-you-hack-your-gut-microbiome
1•andsoitis•20m ago•0 comments

Canon-A controlled English for model prompting and agent-to-agent communication

https://github.com/sanshagn/Canon/tree/main
1•sanshagn•21m ago•0 comments

Sit through 15 hours of opera

https://www.economist.com/culture/2026/08/05/why-you-should-sit-through-15-hours-of-opera
1•andsoitis•21m ago•0 comments

Show HN: RankParse – An SEO and backlink data API built from Common Crawl

https://rankparse.com
1•abhibavishi•22m ago•0 comments

Inferring a solar eclipse's ground track from Spanish hotel price surges

https://medium.com/vortechsa/inferring-orbital-mechanics-from-hotel-pricing-3a62f042dc45
1•tachyon5•26m ago•0 comments

Ask HN: What can I do with a single R9700?

1•scott01•28m ago•0 comments

DeepSeek V4-Flash released: 284B params, 1M-token context, free to use

https://ainexusdaily.vercel.app
1•qrify_app•29m ago•0 comments

Program images and portable Scheme back ends for Jolt

https://yogthos.net/posts/2026-08-07-portable-jolt.html
2•yogthos•33m ago•0 comments

Sensitive Info Goes into 'No Reply' Emails Constantly. This Guy Sees It All

https://www.wired.com/story/sensitive-info-goes-into-no-reply-emails-constantly-this-guy-sees-it-...
4•sbulaev•39m ago•0 comments

UK charities count the cost of Beacon CRM cyberattack

https://www.theregister.com/security/2026/08/05/uk-charities-count-the-cost-of-beacon-crm-cyberat...
2•jstanley•40m ago•0 comments

Don't use your phone while you poop

https://nate.spot/no-phone-while-poop/
34•ExMachina73•41m ago•34 comments

At the altar of AI capex, Google is sacrificing the golden goose

https://twitter.com/MaxAnderson/status/2080229375773941871
3•wyclif•43m ago•2 comments

We mapped every data centre on Earth [video]

https://www.youtube.com/watch?v=8M3MciEmC5c
1•skibz•43m ago•0 comments

I built a voice agent that resolves IT/HR support issues end-to-end

https://www.youtube.com/watch?v=GffeCdNQ5JQ
1•ManoBharathi93•43m 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.