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!

TurboOCR: 270–1200 img/s OCR with Paddle and TensorRT (C++/CUDA, FP16)

https://github.com/aiptimizer/TurboOCR
1•pfdomizer•35s ago•0 comments

Not a Luddite Fallacy (2011)

https://baatz.ch/2011/not-a-luddite-fallacy/
1•rzk•39s ago•0 comments

Show HN: Crafto – AI carousel post generator for LinkedIn and Instagram

https://crafto.ai
1•xz_tie•1m ago•0 comments

When Intelligence Scales, Reality Drifts

https://therealitydrift.substack.com/p/when-intelligence-scales-reality
1•realitydrift•1m ago•0 comments

Jammed phone lines. Burned-out dispatchers. Can AI ease a strained 911 system?

https://www.begiant.ca/stories/people/911-wait-times-artificial-intelligence
1•speckx•2m ago•0 comments

Leaked screenshots show Anthropic building app creator inside Claude

https://xcancel.com/v_shakthi/status/2043644356016619749
1•_____k•2m ago•0 comments

Waking up as a meme-hero – Andras Arato [video]

https://www.youtube.com/watch?v=FScfGU7rQaM
1•BruceEel•3m ago•0 comments

Show HN: _hyperscript 0.9.90

https://hyperscript.org/posts/2026-03-29-hyperscript-0.9.90-is-released/
1•recursivedoubts•4m ago•0 comments

Run Swift on Debian Trixie

https://melomac.com/posts/run-swift-on-debian-trixie/
1•melomac•5m ago•1 comments

Is Your AI Coding Agent Being Watched While Benchmarked:Hidden Logging?

https://huggingface.co/datasets/nebius/SWE-agent-trajectories
1•NedimRenesalis•5m ago•0 comments

Doom – HTML-in-Canvas

https://html-in-canvas-stuff.solarise.dev/doom.html
1•xnx•5m ago•0 comments

Von der Leyen uses Orbán defeat to push for end of veto in EU foreign policy

https://www.politico.eu/article/ursula-von-der-leyen-uses-hungary-viktor-orban-defeat-to-push-for...
2•nickslaughter02•6m ago•0 comments

Show HN: Darkdrive – self-hosted encrypted cloud storage with split keys

https://darkdrive.de/en/
1•plue-tech•7m ago•0 comments

Precision over perception: Why architecture matters in benchmarking

https://www.redhat.com/en/blog/precision-over-perception-why-architecture-matters-benchmarking
1•salkahfi•7m ago•0 comments

Data centre in the shed reduces energy bills to £40

https://www.bbc.co.uk/news/articles/c0rpy7envr5o
1•cassianoleal•7m ago•0 comments

Show HN: Winclipshot – Ctrl+V screenshots as file paths in Windows terminals

https://github.com/Higangssh/winclipshot
2•swq115•7m ago•0 comments

Documentation Isn't Only for Software

https://doc4docs.com/posts/17-documentation-for-non-technical-products/
1•kgolubic•7m ago•0 comments

Send a Program, Not a Data Structure

https://krishna.github.io/posts/send-a-program-not-a-datastructure/
1•kenshi•8m ago•0 comments

Reverse-engineering a Tinder scam [video]

https://www.youtube.com/watch?v=rjxAYdUe8uU
1•busymom0•10m ago•0 comments

Show HN: Daily Unfold – Spatial Logic Puzzle with Expert Mode and Leaderboard

https://www.dailyunfold.com/
1•astralasia•10m ago•0 comments

Show HN: I made simple tools for things people ask me to do for them

https://supereasy.tools/en
1•sreten•10m ago•0 comments

The 'crazy rule-defying' genes that determine sex

https://www.nature.com/articles/d41586-026-01101-x
1•Brajeshwar•11m ago•0 comments

Show HN: Chrome Extension Scanners, Spin AI vs. Am I Being Pwned

https://amibeingpwned.com/blog/spin-ai-vs-am-i-being-pwned
2•acorn221•12m ago•0 comments

Cooperative Software Design

https://andrewbegel.com/info461/readings/
1•rzk•12m ago•0 comments

Men Are Arrested in $1M Lego Theft in California

https://www.nytimes.com/2026/04/11/us/california-lego-heist-arrest.html
2•ripe•13m ago•1 comments

Mapped: The Cost of Living Across America

https://www.visualcapitalist.com/mapped-the-annual-cost-of-living-in-every-u-s-state/
1•Alupis•13m ago•0 comments

Buffer Overflow in Lean_io_prim_handle_read

https://github.com/leanprover/lean4/issues/13388
1•gopiandcode•13m ago•1 comments

Radio time machine AI audio system recreates past sounds for cognitive health

https://www.designboom.com/technology/radio-time-machine-ai-audio-system-past-sounds-cognitive-he...
1•ohjeez•14m ago•0 comments

Is Claude Mythos "Terrifying" or Just Hype?

https://calnewport.com/is-claude-mythos-terrifying-or-just-hype/
2•thedebuglife•15m ago•0 comments

Show HN: Gusco – Orthodox TUI file manager with SFTP/S3 support, written in Go

https://gitlab.com/gusco/gusco
2•gusco•15m ago•0 comments