frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y 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!

Stop Prompting, Start Looping

https://lanes.sh/blog/loop-engineering-with-lanes
2•s-xyz•41s ago•0 comments

Show HN: Triton-blackhole – debug Triton FP drift without device_print

https://github.com/brian-mwirigi/triton-blackhole
1•nesh23•2m ago•0 comments

How I Made Servers Invincible to Hangs

https://blog.nassella.org/how-i-made-servers-invincible-to-hangs/
1•thecombjelly•5m ago•0 comments

Show HN: Static libvips builds, pick only the formats you need

https://github.com/libstatic/libvips
1•u84u•6m ago•0 comments

Is open-weight AI banned yet?

https://isopenweightaibannedyet.com/
1•mihau•6m ago•0 comments

Show HN: HimitsuShell – DRM for Shell Scripts with Obfuscation

https://github.com/HimitsuShell/Himitsu
2•mushstory•6m ago•0 comments

JEP 540: Simple JSON API (Now in Incubator)

https://openjdk.org/jeps/540
1•theanonymousone•7m ago•0 comments

If Anyone Builds It, Everyone Dies

https://en.wikipedia.org/wiki/If_Anyone_Builds_It,_Everyone_Dies
2•artembugara•7m ago•0 comments

Four Young Mathematicians Receive Prestigious Fields Medals

https://www.nytimes.com/2026/07/23/science/fields-medals-pardon-deng-wang-tsimerman.html
2•sonabinu•10m ago•0 comments

The Lakehouse Format Is an Engine Contract

https://lakesail.com/blog/lakehouse-engine-contract/
1•eveerett•11m ago•0 comments

Show HN: Convert GLB, OBJ, and STL Models to SVG In-Browser

https://greglinscheid.com/tools/3d-to-svg/
1•vilos1611•13m ago•1 comments

Ayghri/I-have-ADHD: skill for coding agent to stop it from burying the answer

https://github.com/ayghri/i-have-adhd
1•ulrischa•13m ago•0 comments

I Built a FreeBSD Cloud to Use with FreeBSD

https://interfacecraft.online/blog/2026/i-built-a-freebsd-cloud-to-use-with-freebsd/
1•speckx•13m ago•0 comments

LLMs will make scientists do more, less well

https://arxiv.org/abs/2607.17397
2•porteclefs•14m ago•0 comments

AI helps scientists design the next generation of medicines

https://www.technologyreview.com/2026/07/23/1140346/how-ai-helps-scientists-design-the-next-gener...
1•Brajeshwar•14m ago•0 comments

I Build Faster

https://timleland.com/how-i-build-faster-with-ai-screenshots-and-voice/
1•TimLeland•15m ago•0 comments

The Subagent Tax

https://systima.ai/blog/subagent-tax
1•systima•18m ago•0 comments

Cognition Acquires Poke Creators, the Interaction Company

https://cognition.com/blog/interaction
2•EvanZhouDev•18m ago•0 comments

Show HN: Remortgaging with Claude, so I built a MCP for Bank of England

https://github.com/moureauf/boe-mcp
2•aksworbuz•19m ago•0 comments

Show HN: A Chrome extension for LeetCode that gives Socratic hints in a side

https://leetcopilot.dev
1•alexwang24•20m ago•1 comments

2026 Fields Medals Awarded to Four of Top Mathematicians

https://www.simonsfoundation.org/2026/07/23/2026-fields-medals-awarded-to-four-of-worlds-top-math...
1•HiPHInch•20m ago•0 comments

Free way to get your data out of ChatGPT Business accounts

https://github.com/Conradqh/scrapemychats
8•conradqh•22m ago•2 comments

Docs as the source of truth for coding agents

https://github.com/synlace/project-docs
2•rascal999•22m ago•0 comments

Our Blog Post Runs a TCP Stack

https://apoxy.dev/blog/netstack-bbrv3
1•dilyevsky•23m ago•0 comments

Amazon cuts jobs from its artificial general intelligence team

https://twitter.com/Polymarket/status/2079945560937672966
1•flurly•23m ago•1 comments

B1M: This Country Is Dominating the Nuclear Power Race [video]

https://www.youtube.com/watch?v=uTCA6RZmQbY
2•ksec•25m ago•0 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://onecli.sh
2•Jonathanfishner•25m ago•0 comments

Why did renewables become so cheap so fast? (2020)

https://ourworldindata.org/cheap-renewables-growth
1•downbad_•25m ago•1 comments

Transform your fund into something you can talk to

https://www.angellist.com/blog/introducing-angellist-link
16•nathanamin•25m ago•0 comments

The Quietest Mathematician Has Always Been Worth Listening To

https://www.quantamagazine.org/john-pardon-wins-the-2026-fields-medal-for-work-in-symplectic-geom...
1•sonabinu•26m ago•0 comments