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•8mo 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!

ClickHouse Release 26.1

https://presentations.clickhouse.com/2026-release-26.1/
1•marksomnian•32s ago•0 comments

Show HN: A Python time and space complexity reference

https://pythoncomplexity.com/
1•heikkitoivonen•42s ago•0 comments

Kilo CLI 1.0

https://blog.kilo.ai/p/kilo-cli
1•tosh•2m ago•0 comments

One machine can go pretty far if you build things properly (2022)

https://rachelbythebay.com/w/2022/01/27/scale/
2•birdculture•4m ago•0 comments

1993: Global Network Navigator and the first web designer

https://cybercultural.com/p/1993-global-network-navigator/
1•freediver•4m ago•0 comments

UniKernels: Functional Operating System Design [video]

https://www.youtube.com/watch?v=UEIHfXLMtwA
1•romes•5m ago•0 comments

Balancing your dataset? Mind the privacy leaks

https://desfontain.es/blog/smote-and-mirrors.html
1•p4bl0•6m ago•0 comments

Ask HN: What modern front end technologies are worth paying attention to?

1•bqc•8m ago•0 comments

Laws of Succession

https://entropicthoughts.com/laws-of-succession
1•ibobev•8m ago•0 comments

Show HN: Slidev and marimo – Interactive Python in Markdown slides

https://lucharo.github.io/slidev-marimo/
1•lucharo•8m ago•0 comments

From Htmx to Django LiveView

https://en.andros.dev/blog/94d14a9e/from-htmx-to-django-liveview/
1•ibobev•8m ago•0 comments

Mark Join

https://buttondown.com/jaffray/archive/mark-join/
1•ibobev•9m ago•0 comments

I fine-tuned Llama-8B to understand my slacking patterns

https://www.laksh.us/blog/signal-ai-coach
1•LakshyaC•9m ago•0 comments

OpenSSH connections with post-quantum key exchange through WireGuard tunnel

https://group.miletic.net/en/blog/2026-01-31-openssh-connections-with-post-quantum-key-exchange-t...
1•vedranm•9m ago•0 comments

ExplainOnce is a clarity protocol for structured, permanent instructions

https://explainonce.org/
1•OddSnippet•10m ago•1 comments

Show HN: I built an automated decision layer for form requests

https://formrule.com
1•lukapg•10m ago•0 comments

1k samples sent for testing after possible biological lab found: Las Vegas

https://abcnews.go.com/US/fbi-investigating-biological-lab-operating-inside-las-vegas/story?id=12...
1•vinnyglennon•10m ago•0 comments

Ask HN: Is this printer ok to buy?

1•everyone•10m ago•0 comments

Western Digital doubles the performance of hard drives with dual-actuator

https://www.tomshardware.com/pc-components/hdds/western-digital-doubles-the-performance-of-hard-d...
1•rbanffy•11m ago•0 comments

Ethics? What ethics? On the decision to allow puberty blockers for children

https://thecritic.co.uk/issues/february-2026/ethics-what-ethics/
1•jubjuni•12m ago•0 comments

Show HN: Localflare – Local Dev Dashboard for Cloudflare Workers(D1, KV, R2 etc.

https://github.com/rohanprasadofficial/localflare
2•rohanpdofficial•12m ago•0 comments

DHS is trying to force tech companies to hand over data about Trump critics

https://techcrunch.com/2026/02/03/homeland-security-is-trying-to-force-tech-companies-to-hand-ove...
8•speckx•13m ago•0 comments

The Focus You Fear

https://avinashv.net/newsletter/the-focus-you-fear/
2•tvchurch•13m ago•1 comments

Pivot Toward AI and Agents

https://nexivibe.com/posts/pivot-to-ai-agents.html
1•mathgladiator•13m ago•0 comments

Conductors who died while conducting

https://en.wikipedia.org/wiki/Category:Conductors_(music)_who_died_while_conducting
1•chiwilliams•14m ago•0 comments

Snowflake Launches Cortex Code CLI

https://www.snowflake.com/en/product/features/cortex-code/
1•livewirecrazy•14m ago•0 comments

Show HN: A Notion CLI for Agents (OS)

https://github.com/Balneario-de-Cofrentes/notion-cli-agent
2•sujito•15m ago•1 comments

Your Favorite Problem Is an Ising Model

https://iagoleal.com/posts/ising-qubo-milp/
1•romes•15m ago•0 comments

Owl Browser – AI-assisted, privacy-focused browser for power users

1•Tye45•16m ago•2 comments

LoRA AI is a cutting-edge platform LoRA AI images quickly and efficiently

https://loraai.me/
1•guowuzong•17m ago•0 comments