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!

Hackers Publish Knicks and Madison Square Garden Data Online

https://www.404media.co/hackers-publish-knicks-and-madison-square-garden-data-online/
3•Cider9986•9m ago•2 comments

GE-265 / Dartmouth Time-Sharing System Revisited

https://icm.museum/blog/?p=564
3•sdf_pubnix•10m ago•0 comments

The AI Boom's Hunt for Cash Hits a New Corner of the Bond Market

https://www.wsj.com/finance/investing/the-ai-booms-hunt-for-cash-hits-a-new-corner-of-the-bond-ma...
1•ilreb•12m ago•0 comments

Slopmith (popular Rocksmith inspired guitar game) slapped with DMCA takedown

https://old.reddit.com/r/rocksmith/comments/1u6jg96/dmca_takedown_notice_for_slopsmith/
1•webprofusion•14m ago•1 comments

Show HN: Otty – a native and beautiful terminal emulator

https://otty.sh/
1•ilchenearly•15m ago•0 comments

Revised Rules of Engineering Leadership

https://lethain.com/revised-rules-of-engineering-leadership/
1•RyeCombinator•17m ago•0 comments

Show HN: Building a Stateful AI Agent

https://github.com/surya17495/centri
1•suryaankata•28m ago•0 comments

DIY crane bot that tidies up a room

https://hackaday.com/2026/06/15/building-a-ceiling-based-crane-robot-to-keep-a-room-clean/
2•soupspaces•30m ago•0 comments

Seventeen Camels and Where They Can Take You

https://mathenchant.wordpress.com/2026/06/15/seventeen-camels-and-where-they-can-take-you/
1•akkartik•35m ago•0 comments

Flax debugging: making a hash of things

https://www.gilesthomas.com/2026/06/hashing-jax-parameters
1•gpjt•35m ago•0 comments

Multiple mastra NPM packages compromised

https://github.com/mastra-ai/mastra/issues/18045
1•varunsharma07•36m ago•1 comments

Should nicotine be regulated like a narcotic?

https://www.nature.com/articles/d41586-026-01903-z
3•ilreb•36m ago•1 comments

Show HN: penguinAI – the c.ai alternative focused on privacy, no self-hosting

https://penguinai.pages.dev/
1•telui•37m ago•0 comments

Creating a Dynamic Favicon with Cloudinary

https://www.raymondcamden.com/2026/06/16/creating-a-dynamic-favicon-with-cloudinary
3•mooreds•42m ago•0 comments

A rat sighting in New Zealand can trigger an urgent response

https://www.theguardian.com/world/2026/jun/17/rat-hunters-catchers-predator-free-new-zealand-well...
3•rguiscard•44m ago•0 comments

The Physics of a Fable

https://twitter.com/Rafa_Schwinger/status/2066230802439180447
3•gmays•45m ago•0 comments

The Ease of Expertise

https://fields.medium.com/the-ease-of-expertise-8ad7b8670479
1•mooreds•45m ago•0 comments

The Next Layer of Blockchain Infrastructure Is Execution Memory

https://blog.bridgexapi.io/execution-intelligence-needs-reconstruction
2•Bridgexapi•46m ago•0 comments

Anthropic lost the White House's trust – and then its flagship product

https://www.washingtonpost.com/technology/2026/06/15/how-anthropic-lost-white-houses-trust-then-i...
2•0in•49m ago•0 comments

Low-latency NLP news pipeline written on FASM and Python

1•RAYoIN•52m ago•0 comments

SQLazy–Deterministic SQL Generation

https://github.com/SPLWare/SQLazy
1•ossdwa•53m ago•0 comments

The Benchmark Illusion: Pruned LLMs Can Pass Multiple Choice but Fail to Answer

https://arxiv.org/abs/2606.17609
1•ilreb•53m ago•0 comments

NOLA 'Nacular: One man's crusade to preserve New Orleans's vernacular signage

https://countryroadsmagazine.com/art-and-culture/people-places/nola-nacular/
1•NaOH•55m ago•0 comments

Ask HN: How likely is it that SpaceX buys OpenAI?

2•dwa3592•57m ago•1 comments

Exactly-Once Delivery Is a Spectrum, Not a Checkbox: Part 1

https://medium.com/@danthelion/exactly-once-delivery-is-a-spectrum-not-a-checkbox-part-1-3348d771...
2•danthelion•1h ago•0 comments

Stop Killing Games fails to secure EU law despite 1.3M signatures

https://www.dexerto.com/gaming/stop-killing-games-fails-to-secure-eu-law-despite-1-3m-signatures-...
17•slymax•1h ago•1 comments

CA AB 2015 Dept of Transportation 3rd Party navigation application study

https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=202520260AB2015
1•hnburnsy•1h ago•0 comments

Linux Enacts Guidance to Tighten Acceptance of New File-Systems into the Kernel

https://www.phoronix.com/news/Linux-New-File-System-Docs
1•Bender•1h ago•0 comments

SpaceX valuation balloons to $2.6T, briefly passes Amazon

https://www.techsentiments.com/article/2026/06/16/spacex-valuation-balloons-to-26t-briefly-passes...
1•rajsuper123•1h ago•0 comments

Mozilla Firefox Usage of Zlib-Rs for Better Safety and Performance

https://www.phoronix.com/news/Mozilla-Firefox-zlib-rs-Usage
2•Bender•1h ago•0 comments