frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•10mo ago
Hi HN, we’re Jeffrey and Kritin, and we’re building DeepTeam (https://trydeepteam.com), an open-source Python library to scan LLM apps for security vulnerabilities. You can start “penetration testing” by defining a Python callback to your LLM app (e.g. `def model_callback(input: str)`), and DeepTeam will attempt to probe it with prompts designed to elicit unsafe or unintended behavior.

Note that the penetration testing process treats your LLM app as a black-box - which means that DeepTeam will not know whether PII leakage has occurred in a certain tool call or incorporated in the training data of your fine-tuned LLM, but rather just detect that it is present. Internally, we call this process “end-to-end” testing.

Before DeepTeam, we worked on DeepEval, an open-source framework to unit-test LLMs. Some of you might be thinking, well isn’t this kind of similar to unit-testing?

Sort of, but not really. While LLM unit-testing focuses on 1) accurate eval metrics, 2) comprehensive eval datasets, penetration testing focuses on the haphazard simulation of attacks, and the orchestration of it. To users, this was a big and confusing paradigm shift, because it went from “Did this pass?” to “How can this break?”.

So we thought to ourselves, why not just release a new package to orchestrate the simulation of adversarial attacks for this new set of users and teams working specifically on AI safety, and borrow DeepEval’s evals and ecosystem in the process?

Quickstart here: https://www.trydeepteam.com/docs/getting-started#detect-your...

The first thing we did was offer as many attack methods as possible - simple encoding ones like ROT13, leetspeak, to prompt injections, roleplay, and jailbreaking. We then heard folks weren’t happy because the attacks didn’t persist across tests and hence they “lost” their progress every time they tested, and so we added an option to `reuse_simulated_attacks`.

We abstracted everything away to make it as modular as possible - every vulnerability, attack, can be imported in Python as `Bias(type=[“race”])`, `LinearJailbreaking()`, etc. with methods such as `.enhance()` for teams to plug-and-play, build their own test suite, and even to add a few more rounds of attack enhancements to increase the likelihood of breaking your system.

Notably, there are a few limitations. Users might run into compliance errors when attempting to simulate attacks (especially for AzureOpenAI), and so we recommend setting `ignore_errors` to `True` in case that happens. You might also run into bottlenecks where DeepTeam does not cover your custom vulnerability type, and so we shipped a `CustomVulnerability` class as a “catch-all” solution (still in beta).

You might be aware that some packages already exist that do a similar thing, often known as “vulnerability scanning” or “red teaming”. The difference is that DeepTeam is modular, lightweight, and code friendly. Take Nvidia Garak for example, although comprehensive, has so many CLI rules, environments to set up, it is definitely not the easiest to get started, let alone pick the library apart to build your own penetration testing pipeline. In DeepTeam, define a class, wrap it around your own implementations if necessary, and you’re good to go.

We adopted a Apache 2.0 license (for now, and probably in the foreseeable future too), so if you want to get started, `pip install deepteam`, use any LLM for simulation, and you’ll get a full penetration report within 1 minute (assuming you’re running things asynchronously). GitHub: https://github.com/confident-ai/deepteam

Excited to share DeepTeam with everyone here – let us know what you think!

Amazon DCV – A Better Alternative to VNC

https://aws.amazon.com/hpc/dcv/
1•alhazrod•3m ago•0 comments

Self-healing GitHub CI that won't let AI touch your application code

https://github.com/mosidze/aiheal
2•mosidze•9m ago•0 comments

Show HN: AgentGrade – agent-readiness guide for your site

https://agentgrade.com/
2•usiegj00•9m ago•0 comments

AI Is Killing Open Source SaaS Too

https://nmn.gl/blog/open-source-killed-ai
1•namanyayg•9m ago•0 comments

543 Hours: What happens when AI runs while you sleep

https://michael.roth.rocks/research/543-hours/
2•pramodbiligiri•13m ago•0 comments

PM Carney declares U.S. ties now a 'weakness' in address to Canadians

https://www.ctvnews.ca/politics/article/pm-carney-declares-us-ties-now-a-weakness-in-address-to-c...
2•Teever•14m ago•0 comments

"Ukraine cut out the bloated red tape of military bureaucracy"

https://www.youtube.com/watch?v=1s39U0j2jPA
1•lifeisstillgood•14m ago•1 comments

Rensei – let agents code 3D models and screenshot them. then 3D print

https://github.com/remorses/rensei
3•xmorse•15m ago•0 comments

The State of LLM Bug Bounties in 2026

https://wraith.sh/learn/state-of-llm-bug-bounties-2026
1•WizardX_0x•15m ago•0 comments

CNNs + VLM outperforms pure VLMs on OCR

https://interfaze.ai/blog/cnn-plus-vlm-more-than-vlm
2•yoeven•16m ago•0 comments

Show HN: I built an open source and secure infrastructure for internal apps

https://github.com/RootCX/RootCX
1•seyz•16m ago•0 comments

This time is no different

https://czep.net/26/this-time.html
1•czep•18m ago•0 comments

How I sequenced my genome at home

https://twitter.com/sethshowes/status/2045782975380406623
3•Finbarr•19m ago•1 comments

EU LOTL trust anchors are rotating on April 28: what breaks and how to patch

https://guust.ysebie.be/blog/new-eu-trusted-certificates-updated
2•whizzx•20m ago•0 comments

The Trouble with Transformers

https://roblh.substack.com/p/the-trouble-with-transformers
3•rob_lh•22m ago•1 comments

Time-Variation of Fundamental Constants

https://en.wikipedia.org/wiki/Time-variation_of_fundamental_constants
1•tcp_handshaker•25m ago•0 comments

Why I de-Googled

https://kevinboone.me/why_i_degoogled.html
7•ingve•25m ago•1 comments

Show HN: A chess playground that lets you share board configurations

https://www.chesster.eu
1•MirceaOprea•33m ago•0 comments

Put away your phone and play Pokémon on your Nintendo DS instead

https://alexwennerberg.com/blog/2026-04-15-ds.html
2•abnercoimbre•34m ago•0 comments

We scored 10k Polymarket wallets. Calibration barely predicts profit

https://www.convexly.app/blog/polymarket-10k-wallet-study
3•convexly•35m ago•0 comments

Show HN: Design Graph – a canvas for reviewing parallel HTML variants

https://github.com/noemica-io/design-graph
1•SebastianSosa•35m ago•0 comments

BreachLab Phantom – 32-level post-exploitation wargame on a real Linux box

https://breachlab.org/tracks/phantom
2•atobones•36m ago•0 comments

AgentID – Shared identity. Shared memory. Shared tasks. Lower token costs

https://agentid.live/
1•colapsis•36m ago•0 comments

Koide Formula

https://en.wikipedia.org/wiki/Koide_formula
1•tcp_handshaker•38m ago•0 comments

In a first, Blue Origin uses a recycled rocket to send a satellite into space

https://www.geekwire.com/2026/blue-origin-uses-a-recycled-rocket-to-launch-satellite-for-ast-spac...
2•SilverElfin•39m ago•1 comments

Making Illegal State Unrepresentable

https://blog.frankel.ch/illegal-state-unrepresentable/
3•Tomte•40m ago•0 comments

We Need a New Product Hunt

https://molodtsov.me/2026/04/we-need-a-new-product-hunt/
5•twapi•40m ago•1 comments

You're Invisible on the Internet. Here's the Why

https://medium.com/@simbamudonzvo/youre-invisible-on-the-internet-here-s-the-why-fbe086d99d62
2•TechOnionKing•40m ago•0 comments

The Best Photos of the Artemis II Mission

https://nautil.us/the-best-photos-of-the-artemis-ii-mission-1279789
2•Bender•42m ago•1 comments

Embedded Rust discovery guide for the official Rust ESP32-C3 board

https://github.com/melastmohican/esp-rust-board-discovery
2•melastmohican•43m ago•0 comments