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!

Disney+ Cracks Open the Door to TikTok Creator Videos

https://www.nytimes.com/2026/08/05/business/media/disney-tiktok-videos.html
1•bookofjoe•1m ago•1 comments

Show HN: VS Code Extension – Semantic Code Search (Semble)

https://github.com/SeanPedersen/vscode-semble
1•sean_pedersen•2m ago•0 comments

The Moon is Down; I have not heard the clock (2021)

https://www.lesswrong.com/posts/7nAvPLfidGG54XquJ/the-moon-is-down-i-have-not-heard-the-clock
2•Ariarule•3m ago•0 comments

OpenDoctrines, open source grand strategy game moddable via WASM in 13 languages

https://github.com/Pr1nted/Open-Doctrines
2•Pr1nted•9m ago•1 comments

I built fingerprint unlock for Mac (no Magic Keyboard) [video]

https://www.youtube.com/watch?v=tB3lk-PNA6I
1•Timothee•15m ago•0 comments

How much faster could racehorses get?

https://www.worksinprogress.news/p/why-horses-have-stopped-getting-faster
1•jprs•16m ago•0 comments

Show HN: Plan Review – independent review for Claude Code plans

https://github.com/dachev/plan-review
1•blago•17m ago•0 comments

Show HN: BlazeRules – YAML rule engine for streaming data, upto 5M records/SEC

1•jspuri•18m ago•0 comments

What it takes to build agent infrastructure yourself

https://twitter.com/harsehaj/status/2079593790814527998
1•gmays•23m ago•0 comments

Simon Willison on Technical Blogging

https://writethatblog.substack.com/p/simon-willison-on-technical-blogging
3•herbertl•23m ago•1 comments

Open source Cloud AI agents

https://www.krowoc.com/
1•nikonruslan7•27m ago•0 comments

The following is a valid DOS COM executable

https://oldbytes.space/@gloriouscow/117045701876951834
1•birdculture•27m ago•0 comments

PLS Try My OS

https://sites.google.com/view/taco-so-test/home
3•TACOCODER•33m ago•1 comments

New Orleans will use AI to answer 911 calls instead of a human

https://www.shreveporttimes.com/story/news/local/louisiana/2026/07/28/is-new-orleans-using-ai-to-...
10•champagnepapi•36m ago•2 comments

Equity Is Worth More Than Cash Because of Optionality

https://peter.website/equity-beats-cash
1•shachaf•36m ago•0 comments

The Investors Whose SpaceX Shares Vanished Before They Could Cash In

https://www.wsj.com/finance/stocks/spacex-ipo-spv-investors-2698a174
2•chirau•36m ago•2 comments

Space to cook: notes on engineering leadership

https://ianmccrystal.com/posts/notes-on-engineering-leadership/
1•ogundipeore•41m ago•0 comments

Hardware Devices That Support GNU/Linux

https://www.fsf.org/resources/hw/
1•Vanessaroulette•41m ago•0 comments

Obviously, DOGE Did Not Save Money

https://www.nationalreview.com/corner/obviously-doge-did-not-save-money/
3•petethomas•42m ago•0 comments

Dictionary Compression in Materialize

https://materialize.com/blog/dictionary-compression-in-materialize/
1•nate_stewart•43m ago•0 comments

I got a 1998 CD-ROM world atlas running on Windows 11

https://trevmex.com/post/824245295374303232/my-son-found-a-world-atlas-in-a-thrift-store-so-i
1•ilimllza•43m ago•0 comments

Meta fined $567M in largest child safety ruling against social media giant

https://www.bbc.com/news/articles/cd7lz3wr2rlo
5•tartoran•43m ago•0 comments

New Mexico court orders Meta to pay $567M over harms to children's mental health

https://www.theguardian.com/technology/2026/aug/06/new-mexico-court-meta
3•devonnull•43m ago•0 comments

Curating Crime and Punishment: What 10 Images Reveal About American Justice

https://www.themarshallproject.org/2026/08/06/crime-punishment-america-photos-archive
1•greenie_beans•44m ago•0 comments

European firms afraid of US tech kill switch but haven't made an escape plan

https://www.theregister.com/off-prem/2026/08/06/european-firms-afraid-of-us-tech-kill-switch-but-...
1•gpi•44m ago•0 comments

All Agent Skills

https://allagentskills.com
3•Diablo556•45m ago•0 comments

Tracely – Turn AI agent production failures into CI regression tests

https://tracely-studio.xyz/
2•jwuthri•48m ago•0 comments

The Code Shackle

https://codeshackle.com
2•kallisti5•54m ago•1 comments

I launched a fake deodorant brand to see if AI would notice

https://xcancel.com/antibot/captcha
3•glaslong•55m ago•1 comments

Automating Godel's Ontological Proof of God's Existence [pdf]

https://christoph-benzmueller.de/papers/C40.pdf
2•ibobev•58m ago•0 comments