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!

KDE is bringing back the Oxygen and Air themes, here's what they look like

https://www.neowin.net/news/kde-is-bringing-back-the-oxygen-and-air-themes-heres-what-they-look-l...
1•bundie•2m ago•0 comments

No Human Error (Comic)

https://nullwing.com/comics/13/no-human-error/
1•greyblake•3m ago•1 comments

A single equation for intelligence – from quantum mechanics to AGI in 5 axioms

https://holon.sh/
1•old8man•3m ago•0 comments

Senior engineer best practice for scaling yourself with Claude Code

https://www.reddit.com/r/ClaudeCode/s/ppF2cGWQsi
1•bgnm2000•4m ago•0 comments

DLPack

https://dmlc.github.io/dlpack/latest/
1•tosh•10m ago•0 comments

CS146S: The Modern Software Developer

https://themodernsoftware.dev/
1•pramodbiligiri•13m ago•0 comments

Card Modeling FAQ (2002)

https://www.cardfaq.org/faq/
1•exvi•15m ago•0 comments

Custom Paper Pocket Yachts

https://custompaperpocketyachts.k-j-g.com/
1•exvi•20m ago•0 comments

How to Improve Task Switching Without Dremeling Holes in Your Skull

https://pravles.substack.com/p/writers-block-is-a-process-defect
1•pravles•20m ago•0 comments

Power Tools

https://jorviksoftware.cc/notes/2026/04/06/power-tools
1•jonathan_hollin•22m ago•0 comments

Show HN: Turn photos into Wordle puzzles with AI that runs 100% in your browser

https://momentsgame.com/
1•ud0•22m ago•0 comments

Haunted Paper Toys

http://ravensblight.com/papertoys.html
2•exvi•23m ago•0 comments

The internet blackout in Iran is entering its 38th day

https://mastodon.social/@netblocks/116356615846320587
1•us321•25m ago•0 comments

Hello

https://hacker-news.firebaseio.com/v0/newstories.json?print=pretty
1•madagha•33m ago•1 comments

Show HN: Free AI Business Name Generator with Domain Screening

https://noetron.ai/namegen
1•noetron•35m ago•1 comments

Auto read and summarize bookmarked X posts and Substack newsletters – feedback?

https://readingnotes.ai/producthunt
1•secondmod•43m ago•0 comments

How Paris swapped cars for bikes – and transformed its streets

https://www.theguardian.com/world/2026/apr/05/how-paris-swapped-cars-for-bikes-and-remade-its-str...
3•vrganj•48m ago•0 comments

On the brink of disaster

https://www.taxresearch.org.uk/Blog/2026/04/06/on-the-brink-of-disaster/
2•only_in_america•48m ago•0 comments

Number in man page titles e.g. sleep(3)

https://lalitm.com/til-number-in-man-page-titles-e-g-sleep-3/
4•thunderbong•53m ago•0 comments

Verbatim 140W GAN: One of the first chargers with USB PD 3.2 AVS (SPR) support

https://charge-test.com/verbatim-mini-gan-charger-140w-review-one-of-the-first-chargers-with-full...
2•StainX•54m ago•0 comments

Show HN: I built an Open-source Dropbox/Google Drive BOYB(Bring your own bucket)

https://github.com/zmeyer44/Locker
1•Zm44•54m ago•1 comments

Talk about PPU (Parallel Processing Unit) increasing CPU speeds exponentially

https://www.youtube.com/watch?v=ZiQxxzCHLvo
1•openhw•57m ago•0 comments

Industrial Policy for the Intelligence Age

https://openai.com/index/industrial-policy-for-the-intelligence-age/
1•salkahfi•59m ago•0 comments

Avoid Concatenation in Log Statements

https://blog.bonnieeisenman.com/blog/avoid-concatenation-in-log-statements/
1•luu•1h ago•1 comments

Show HN: Beat Darwin

1•ecosystemj•1h ago•0 comments

Show HN: I built lightweight LLM tracing tool with CLI

https://github.com/SKE-Labs/lightrace
2•skele•1h ago•1 comments

GlueClaw: Use Claude subscription in OpenClaw again

https://github.com/zeulewan/glueclaw
1•zeulewan•1h ago•1 comments

Show HN: Browser-based EXIF remover – no upload, runs offline via WASM

https://picshift.app/metadata-remover/
2•pod4g•1h ago•0 comments

Drug safety intelligence API – 1M+ FDA adverse events in one call

https://pharma-signal.com
1•Niteowlpt•1h ago•0 comments

Show HN: I just built a MCP Server that connects Claude to all your wearables

https://pacetraining.co/
3•anton_salcher•1h ago•4 comments