frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Pentagon Says Alibaba, Baidu, BYD, and Unitree Support China's Military

https://techcrunch.com/2026/06/08/pentagon-says-alibaba-baidu-byd-and-unitree-support-chinas-mili...
1•netfortius•4s ago•0 comments

Show HN: Dochost – turn AI output into a shareable link

https://dochost.io
1•sailorpro•34s ago•0 comments

The Math of Fitting In

https://omnia.sas.upenn.edu/story/math-fitting-in-language-acquisition-social-norms-yang
1•wjb3•1m ago•0 comments

Efficient Training on Multiple Consumer GPUs with RoundPipe

https://arxiv.org/abs/2604.27085
1•PaulHoule•1m ago•0 comments

Govt websites, security, and the dreaded f12

https://github.com/Evillare/EMCCA---potential-berach-in-authentication-and-security/tree/main
1•Evillare•1m ago•0 comments

Noyb launches class action over CRIF's scoring system in Austria

https://noyb.eu/en/secret-scoring-join-crif-class-action-now
1•buzer•2m ago•0 comments

Even light drinking raises risk of cancer, heart disease, and early death

https://www.eurekalert.org/news-releases/1131274
1•stringfood•4m ago•0 comments

They Spent Years on a Math Problem. Then They Were Scooped by A.I

https://www.nytimes.com/2026/06/08/science/ai-scoop-young-mathematicians.html
1•digital55•5m ago•0 comments

macOS 27 Beta Breaks the Ability to Boot Asahi Linux

https://www.phoronix.com/news/macOS-27-Beta-Breaks-Asahi
2•josephcsible•7m ago•0 comments

The Conductor Rewrite: What They Changed to Make It Fast

https://performance.dev/the-conductor-rewrite
1•Charlieholtz•7m ago•0 comments

Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

https://arxiv.org/abs/2603.24647
2•galsapir•8m ago•0 comments

A New Symbolism for the Propositional Calculus (1954) [pdf]

http://www.nsl.com/k/parry/parry.pdf
1•tosh•8m ago•0 comments

Quantum Weak Measurement: Validating Cheng's Cosmological Model

https://medium.com/@f9121212/the-convergence-of-quantum-weak-measurement-and-metaphysical-conject...
2•ortrich•9m ago•0 comments

Show HN: A terminal writing environment with Git, E2EE sync and temporal search

1•sys-ronin•9m ago•1 comments

Show HN: Cate – open-source canvas IDE for agentic coding workflows

https://cate.cero-ai.com
1•Imbiss•10m ago•0 comments

China Preps $295B Plan to Fund Nationwide AI Buildout

https://www.bloomberg.com/news/articles/2026-06-09/china-prepares-295-billion-plan-to-fund-nation...
2•1una•11m ago•1 comments

German Tourists Get Stuck in Bighorns After Following Google Maps

https://cowboystatedaily.com/2026/06/08/german-tourists-get-stuck-in-bighorns-after-following-goo...
1•Bender•11m ago•0 comments

Deep Neural Networks for YouTube Recommendations (2016) [pdf]

https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45530.pdf
1•Olshansky•13m ago•0 comments

Alberta pitches cheap NatGas for data center boom, at odds with CA's green aims

https://www.reuters.com/business/energy/alberta-pitches-cheap-natural-gas-data-center-boom-odds-w...
1•alephnerd•14m ago•0 comments

macOS 27 requires Apple Silicon, as Apple draws down the Intel Mac era

https://arstechnica.com/gadgets/2026/06/macos-27-requires-apple-silicon-as-apple-draws-down-the-i...
3•Brajeshwar•15m ago•0 comments

Show HN: I built 10 ML algos from scratch because fit() predict() are not enough

https://github.com/ml-from-scratch-book/code
2•akmoleksandr•15m ago•1 comments

Writing a cover letter in 2026: nail it or skip it

https://relocateme.substack.com/p/how-to-write-a-cover-letter-in-2026
2•andrewstetsenko•16m ago•0 comments

UK Orders Apple, Google to Auto-Block Explicit Content on Kids' Devices

https://www.techbuzz.ai/articles/uk-orders-apple-google-to-auto-block-explicit-content-on-kids-de...
1•Vaslo•17m ago•0 comments

A16Z, Paradigm lead $175M bet to move global credit markets onchain

https://www.coindesk.com/business/2026/06/09/a16z-paradigm-lead-usd175-million-bet-to-move-global...
1•Varun-Sakhuja•17m ago•0 comments

AI cracked an Erdős math problem. Now experts want guardrails

https://www.sciencenews.org/article/ai-guardrails-erdos-math-problem
1•justinhj•17m ago•0 comments

Half-Life 1 running on the Nokia N95 at 30 FPS

https://twitter.com/dante_leoncini/status/2063035015068307905
2•redbell•18m ago•0 comments

Who Will Thrive in the Hybrid A.I.-Human Work Force

https://www.nytimes.com/2026/06/09/magazine/ai-jobs-workforce-labor.html
1•leonidasv•18m ago•0 comments

Show HN: Newsjack.sh – Open-source skills to turn any agent into a full PR team

https://github.com/elvisun/newsjack
1•elvisun•20m ago•0 comments

The Nerdy Escorts Cashing in on Silicon Valley's AI Boom

https://www.forbes.com/sites/annatong/2026/06/07/the-nerdy-escorts-cashing-in-on-silicon-valleys-...
1•palmotea•20m ago•0 comments

Creator Studio is gone: how Instagram scheduling works now

https://xreplyai.com/blog/can-you-schedule-instagram-posts
1•john_builds•20m 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.