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!

Reduced-Round SHA-256 Compression Preimages

https://github.com/kamb-code/sha256-r19-preimage
1•wslh•3m ago•0 comments

Ex-ARRR: Sailing the 0-click Seas

https://ironpeak.be/blog/ex-arrr-sailing-the-0-click-seas/
1•ibobev•3m ago•0 comments

Show HN: Low Poly Earth – The whole planet in 3D, built from OpenStreetMap data

https://lowpolyearth.pages.dev/
2•blueblazin•4m ago•0 comments

Detect when elements overlap with CSS

https://ishadeed.com/article/css-detect-overlap/
1•ibobev•4m ago•0 comments

What I believe about the future of software development

https://thorstenball.com/blog/2026/09/19/what-i-believe-about-the-future-of-software-development/
2•ibobev•4m ago•0 comments

Dual-Syncopation Meet-in-the-Middle Attacks: New Results on SHA-2 and MD5

https://eprint.iacr.org/2026/353
1•wslh•4m ago•0 comments

Ask HN: How is code review holding up at your company?

1•lackoftactics•4m ago•0 comments

Phyllotaxis: An audio-reactive LED display

https://jagi.studio/posts/phyllotaxis/
1•evakhoury•6m ago•0 comments

privacyguides.org

https://github.com/privacyguides/privacyguides.org
1•saikatsg•7m ago•0 comments

The large robotic arm on the International Space Station has stopped working

https://arstechnica.com/space/2026/09/the-large-robotic-arm-on-the-international-space-station-ha...
2•robin_reala•7m ago•0 comments

Opus 5.5 showcasing: Liquid Glass-like elements for the web

https://tomacco.github.io/amazing-glass/
2•drinkcocacola•8m ago•1 comments

Infinitrance [video]

https://www.youtube.com/watch?v=uUNnd3uI37M
1•jsemrau•8m ago•0 comments

How to reduce token usage in Claude Code, Codex, and Cursor

https://www.avanderlee.com/ai-development/reduce-token-usage-claude-code-codex-cursor/
1•meetpateltech•11m ago•0 comments

Recursive Self-Improvement via On-Policy Distillation for Reasoning

https://arxiv.org/abs/2609.30652
1•simonpure•12m ago•0 comments

The problem is not the AI code, but nobody knows anything anymore

https://www.ssp.sh/brain/the-problem-is-not-the-ai-code-but-nobody-knows-anything-anymore/
25•zazuke•13m ago•2 comments

13 Months Sober (2025)

https://www.bobbytables.io/p/13-months-sober
2•btables•13m ago•0 comments

Active, in-the-wild exploitation of CVE-2026-88771 with IoCs

https://twitter.com/LupovisDefence/status/2104595071362326680
1•noktec•14m ago•0 comments

Congress is considering giving doctors automatic annual pay raises in Medicare

https://www.statnews.com/2026/09/24/patients-first-act-congress-moves-on-doctor-pay-medicare-reform/
2•brandonb•15m ago•0 comments

Show HN: Assay – a QA CLI that finds bugs with no LLM and no tests written

https://github.com/awss1i/assay
1•awss1i•16m ago•0 comments

Nero

https://storia-e-libri.fandom.com/it/wiki/Nero
1•ArthurFischerp•17m ago•0 comments

AI-guided optimization for thermostable mRNA vaccines

https://www.nature.com/articles/s41587-026-03330-x
1•sbulaev•18m ago•0 comments

Should I Stay or Should I Go?

https://www.newyorker.com/magazine/2026/10/05/should-i-stay-or-should-i-go
1•tacon•19m ago•0 comments

Daily Logic Puzzles

https://logicpuzzles.io/
1•andrewmcm•19m ago•1 comments

APOD's main NASA site is moving

https://asterisk.apod.com/viewtopic.php?t=45023
2•pndy•20m ago•1 comments

Open-source Python simulation benchmarking rainbow gravity against NGC 3198

https://domushorizon.vercel.app/teoria-del-todo.html
1•rovettabenvenut•22m ago•0 comments

Mega Bomberman: Special 8 Player Demo

https://segaretro.org/Mega_Bomberman:_Special_8_Player_Demo
1•tosh•23m ago•0 comments

FY2025 NASA Planetary Research and Analysis Funding Cut by More Than 50%

https://blog.planetary-research.org/2026/09/25/ra_funding_cut_50percent_fy2025/
1•uolmir•23m ago•0 comments

Jevgrep: A CLI for coding agents that uses Jev to discover relevant files

https://github.com/dzhng/jevgrep
3•enraged_camel•24m ago•0 comments

Syncing Rust GCC back end or how to test Murphy's law

https://blog.guillaume-gomez.fr/articles/2026-09-22+Syncing+Rust+GCC+backend+or+how+to+test+Murph...
1•ibobev•25m ago•0 comments

Show HN: I built an idle game that rewards you for doomscrolling less

https://getisland.app/
2•ethanpronev•25m ago•1 comments