frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Next Era of Software Architecture Is Data-First

https://aimdb.dev/blog/data-driven-design
1•lukastyrychtr•3m ago•0 comments

Ask HN: Are there any engineering orgs that use incentives?

1•jppope•4m ago•0 comments

Claude Code is no longer a part of the Pro plan

1•csoham•5m ago•0 comments

SpaceX cuts a deal to maybe buy Cursor for $60B

https://www.theverge.com/science/916427/spacex-cursor-potential-deal-acquisition
1•htrp•5m ago•0 comments

BYD Looking to Open 20 Dealerships in Canada This Year

https://gmauthority.com/blog/2026/04/byd-looking-to-open-20-dealerships-in-canada-this-year/
1•whynotmaybe•9m ago•0 comments

Apple has an opportunity to rediscover humanity

https://www.theregister.com/2026/04/21/apple_ternus_rediscover_humanity/
2•LorenDB•12m ago•0 comments

Show HN: Agent Brain Trust, customisable expert panels for AI agents

https://github.com/bahulneel/agent-brain-trust
1•bahulneel•16m ago•0 comments

Show HN: Linux installer .exe without pendrives (secure-boot compatible)

https://www.1clicklinux.org/
2•arusekk•16m ago•0 comments

Show HN: Verdure Demo (Steam PC)

https://store.steampowered.com/app/4069810/VERDURE/
1•sakamotosan•17m ago•0 comments

Highlights from Git 2.54

https://github.blog/open-source/git/highlights-from-git-2-54/
1•thunderbong•18m ago•0 comments

SpaceX says it has option to acquire Cursor for $60B

https://www.reuters.com/technology/spacex-says-it-has-option-acquire-startup-cursor-60-billion-20...
7•jbredeche•18m ago•0 comments

MARISKS warns of scam messages offering ships safe transit through Hormuz

https://www.reuters.com/world/middle-east/scam-messages-offering-ships-safe-transit-through-hormu...
1•petethomas•19m ago•0 comments

You Can't Vote Out AWS: Fighting Internet Contracts One Library at a Time

https://www.techdirt.com/2026/04/21/you-cant-vote-out-amazon-web-services-fighting-adhesion-contr...
3•hn_acker•20m ago•1 comments

Bill banning people born after 2008 from buying tobacco clears UK parliament

https://www.theguardian.com/society/2026/apr/21/bill-banning-people-born-after-2008-from-buying-t...
5•dazhbog•20m ago•1 comments

Claude Code Removed from $20-a-Month "Pro" Subscription for New Users

https://www.wheresyoured.at/news-anthropic-removes-pro-cc/
7•Xiol•23m ago•2 comments

Show HN: No JavaScript Club

https://nojs.club/
2•basilikum•23m ago•0 comments

The Lemming Effect

https://twitter.com/lopes_pm/status/2046722429075013822
1•lopespm•25m ago•0 comments

'Everyone Is Lying to You for Money' Digs into Cryptocurrency

https://www.nytimes.com/2026/04/17/movies/cryptocurrency-documentary-everyone-is-lying-to-you-for...
2•paulpauper•27m ago•0 comments

Opus 4.7 Part 2: Capabilities and Reactions

https://thezvi.substack.com/p/opus-47-part-2-capabilities-and-reactions
1•paulpauper•28m ago•0 comments

Recursive Superintelligence Raises $500M Funding Round at $4B Valuation

https://www.ft.com/content/a92bf04b-bbac-400f-9554-5b1c70957ad4
1•in-silico•28m ago•0 comments

Opus 4.7 Part 1: The Model Card

https://thezvi.substack.com/p/opus-47-part-1-the-model-card
1•paulpauper•28m ago•0 comments

New Hope Against Pancreatic Cancer

https://www.wsj.com/opinion/revolution-medicines-daraxonrasib-pancreatic-cancer-ben-sasse-675bac62
1•neehao•28m ago•0 comments

Say Goodbye to the Undersea Cable That Made the Global Internet Possible

https://www.wired.com/story/say-goodbye-to-the-undersea-cable-that-made-the-global-internet-possi...
1•divbzero•28m ago•0 comments

The provided text explains why the skin in Avatar 3 appears plastic-like

https://note.com/alive_bobcat1617/n/n40223d1cf9b2
1•tacwon•29m ago•0 comments

Continuous Respiration Rate Monitoring Device for Dairy Cattle

https://www.mdpi.com/2076-2615/16/6/984
1•PaulHoule•30m ago•0 comments

Trump Is Said to Be in Talks to Send Afghans Who Aided U.S. Forces to Congo

https://www.nytimes.com/2026/04/21/world/europe/afghan-refugees-congo-us.html
5•duxup•31m ago•2 comments

Cursor has given SpaceX the right to acquire Cursor later this year for $60B

https://xcancel.com/SpaceX/status/2046713419978453374
8•marksully•32m ago•0 comments

Copyright and DMCA Best Practices for Fediverse Operators

https://www.eff.org/deeplinks/2026/04/copyright-and-dmca-best-practices-fediverse-operators
1•sohkamyung•33m ago•0 comments

Clojure Documentary Q&A [video]

https://www.youtube.com/watch?v=hc112UhpHow
1•bmillare•33m ago•0 comments

OnlyOffice says Nextcloud must restore removed logos in Euro-Office fork

https://www.neowin.net/news/onlyoffice-invokes-agplv3-says-nextcloud-must-restore-removed-logos-i...
1•bundie•33m ago•0 comments
Open in hackernews

Show HN: AgentShield SDK – Runtime security for agentic AI applications

https://pypi.org/project/agentshield-sdk/
2•iamsanjayk•11mo 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•11mo 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•11mo 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.