frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Code Contracts

https://code-contracts.cc/
1•carlsverre•4m ago•0 comments

Fileless ELF Execution via O_tmpfile

https://matheuzsecurity.github.io/hacking/fileless-loader-bypassing-elastic-memfd/
1•matheuzsec_•4m ago•0 comments

AuraSurvey – a survey builder that works without internet

https://aura-survey.vercel.app
1•ADPR•5m ago•0 comments

Astroturfing on Reddit and the Dead Internet

https://rushter.com/blog/astroturfing/
1•theorchid•5m ago•0 comments

102 Minutes: Last Words at the Trade Center; Fighting to Live as the Towers Die

https://www.nytimes.com/2002/05/26/nyregion/102-minutes-last-words-at-the-trade-center-fighting-t...
1•gmays•5m ago•0 comments

How to Build an AI Software Factory: Agents That Open, Review, and Merge PRs

https://www.firecrawl.dev/blog/ai-software-factory
1•makaimc•6m ago•0 comments

Show HN: OmaGem – A Ruby DSL for Configuring and Managing Omarchy Linux

https://github.com/azzenabidi/OmaGem
1•azzen•9m ago•0 comments

Show HN: A fruit fly connectome playing Super Mario Bros at 60 FPS

https://kaarelkaarelson.github.io/fly-super-mario/
1•kaarelson•22m ago•1 comments

The SEC EDGAR rate limit problem nobody warns you about

https://toscale.pro/blog/sec-xbrl-duplicate-tags
2•Dominique_Churc•24m ago•0 comments

Anthropic says Claude was used for weapons, spying and cyber operations

https://www.reuters.com/world/china/how-anthropic-says-claude-was-used-weapons-spying-cyber-opera...
1•sajithdilshan•25m ago•0 comments

ChatGPT puts 20x Plan on hold

https://help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers
1•josefchen•28m ago•0 comments

Exposing a global AI slop empire ruining the internet for profit – CBC [video]

https://www.youtube.com/watch?v=GEHHTh5OTnQ
1•SG-•31m ago•0 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
26•chao-•32m ago•5 comments

Hog Calling 2015 Competition

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

Two's Complement – Is Programming Still Fun?

https://www.twoscomplement.org/#podcast/is-programming-still-fun
3•tambourine_man•33m ago•0 comments

Fermyon – Deploy and manage serverless WASM apps

https://www.fermyon.com/cloud
1•peter_d_sherman•35m ago•0 comments

Security Research Without Asking Permission

https://www.provos.org/p/security-research-without-asking-permission/
3•wslh•38m ago•0 comments

Another cyberattack by internal OpenAI agents targetting RubyGems

https://twitter.com/thlarsen/status/2098544270361964576
2•owenshen24•41m ago•0 comments

Unique, mathematical 60-sided dice go on display

https://www.scientificamerican.com/article/unique-mathematical-60-sided-go-first-dice-go-on-display/
2•sohkamyung•47m ago•0 comments

DeCloudflare

https://0xacab.org/dCF/deCloudflare/-/blob/master/README.md
25•DeepLogin•51m ago•38 comments

Massachusetts hits data centers with new clean power rules

https://techcrunch.com/2026/09/09/massachusetts-hits-data-centers-with-new-clean-power-rules/
5•cdrnsf•56m ago•0 comments

The Beginning of the End of History

https://www.persuasion.community/p/the-beginning-of-the-end-of-history
2•lermontov•58m ago•0 comments

Show HN: Clone any voice from a short audio clip and generate speech

http://npm.im/clone-voice
1•init0•1h ago•0 comments

Most angels follow poorly their angel portfolio

https://olivecapital.vc:443/angelo/
1•rphgrc•1h ago•0 comments

Ask HN: Lots of sign ups but people not completing onboarding

1•lucgagan•1h ago•1 comments

Ask HN: Which LLMs are best suited for prose?

2•thatxliner•1h ago•1 comments

Houthis used Anthropic to develop guided weapons

https://www.washingtonpost.com/technology/2026/09/11/rebels-used-anthropics-ai-bot-develop-guided...
8•Alien1Being•1h ago•0 comments

UK Police to crack down on face coverings at protests

https://www.bbc.co.uk/news/articles/cy8zrz42yxko
5•a2fz•1h ago•0 comments

Altimeter's Gerstner blasts researchers voicing AI extinction warnings

https://www.cnbc.com/2026/09/11/altimeters-gerstner-blasts-researchers-voicing-ai-extinction-warn...
1•cramer4next•1h ago•0 comments

Dreamcast Development Links

3•hefner1456•1h 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.