frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The road to epsilon-zero: ordinals as Nim-heaps

https://blog.plover.com/math/ordinals/01-nim.html
1•pavel_lishin•2m ago•0 comments

Why Andrew Tate Is a MAGA Superstar

https://www.thenation.com/article/society/andrew-tate-arrest-maga-connection/
1•petethomas•5m ago•0 comments

AI just disproved a major math problem. A mathematician explains

https://mashable.com/tech/anthropic-fable-5-disproves-jacobian-conjecture
1•01-_-•7m ago•1 comments

Secrets Don't Belong in Config

https://secretspec.dev/blog/secrets-dont-belong-in-config/
1•domenkozar•7m ago•0 comments

AI's most important protocol is getting a little bit easier to use

https://techcrunch.com/2026/07/20/ais-most-important-protocol-is-getting-a-little-bit-easier-to-use/
1•haritha1313•8m ago•0 comments

Bdinfo-rs – Rust cross-platform Blu-ray analyzer (GUI and CLI and WASM)

https://github.com/agentjp/bdinfo-rs
1•hyperslop•9m ago•1 comments

The $100M Mistake Making Modern Movies Look So Cheap

https://comuniq.xyz/post?t=1415
1•01-_-•11m ago•0 comments

Wp2shell: First Critical Unauthenticated WordPress Core RCE in Nearly a Decade

https://www.wordfence.com/blog/2026/07/wp2shell-aftermath-the-first-critical-unauthenticated-word...
1•computer23•13m ago•0 comments

How Google's A.I. Search Is Imperiling the Open Web

https://www.nytimes.com/2026/07/20/technology/google-ai-open-web.html
1•mikhael•15m ago•0 comments

Wax On, Weights Off: Knowledge Distillation Explained

https://jdsemrau.substack.com/p/knowledge-distillation-attacks
2•ph4rsikal•17m ago•0 comments

Ask HN: How are you interviewing engineers in this agentic era?

3•jcgr•18m ago•1 comments

Google plans new chip to run Gemini models more efficiently

https://www.reuters.com/business/google-plans-new-chip-run-gemini-models-more-efficiently-informa...
1•alach11•18m ago•1 comments

GitHub Code Quality is now generally available

https://github.blog/changelog/2026-07-20-github-code-quality-is-now-generally-available/
1•andsoitis•19m ago•0 comments

Twitch, but for Running

https://kailo.fit/products/live-stream
2•steadyelk•22m ago•0 comments

Trump admin launches its first major H-1B visa fraud investigation

https://www.foxbusiness.com/politics/trump-admin-launches-its-first-major-h-1b-visa-fraud-investi...
1•rawgabbit•23m ago•0 comments

Show HN: A chess game you play with Claude as your wing-bot in the CLI

https://github.com/goawaygeek/ground-control
1•goawaygeek•24m ago•0 comments

How Does an LLM Request and Response Cycle Work? A Full Walkthrough

https://qainsights.com/how-does-an-llm-request-and-response-cycle-work-a-full-walkthrough/
2•qainsights•26m ago•1 comments

Probabilistic computing is here; here is how it works

https://www.eetimes.com/probabilistic-computing-is-already-here-here-is-how-it-works/
1•teleforce•27m ago•1 comments

Sealed secret execution for AI agents

https://ironrun.dev/
1•skeehn•31m ago•0 comments

The Yarn Spinner Public License

https://yarnspinner.dev/yspl
1•mintplant•33m ago•0 comments

The Telegarden (1995-2004)

https://goldberg.berkeley.edu/garden/
1•zetamax•34m ago•0 comments

Delayed Boeing jets only fit for baked bean tins, Emirates boss says

https://finance.yahoo.com/technology/articles/delayed-boeing-jets-only-fit-162341761.html
8•devonnull•35m ago•1 comments

Claude Pro subscribers get $100 promotional credit for Fable 5

https://old.reddit.com/r/ClaudeAI/comments/1uzjhhn/fable_so_100_credit_for_pro_user/
1•JumpCrisscross•42m ago•1 comments

Now on the American Road: Bulletproof Cars

https://www.nytimes.com/2026/07/20/style/armored-cars-bulletproof-american-drivers.html
3•cdrnsf•46m ago•0 comments

Show HN: Relay – a self-hosted LLM gateway with eval-gated routing

https://github.com/llmrelay/relay
1•olopadef•47m ago•0 comments

The Fedora project grapples with change

https://lwn.net/SubscriberLink/1081557/cde56e450fe4bf10/
2•chmaynard•47m ago•0 comments

Jellyfin founder Andrew leaves team

https://forum.jellyfin.org/t-project-leadership-changes
2•swat535•49m ago•0 comments

Is Open Weight AI Decelerationist?

https://fragileequilibrium.substack.com/p/is-open-weight-ai-decelerationist
4•brandoncarl•50m ago•1 comments

BI 303470 a GLP-1/GIP/NPY2 triple agonist in Phase 2 What the heck is an NPY2?

https://xcancel.com/i/article/2079304056548495593
1•hnburnsy•51m ago•0 comments

Internet Freedom is Here: FreeSocks v2

https://unredacted.org/blog/2026/07/internet-freedom-is-here-freesocks-v2/
3•lunarthegrey•53m 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.