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!

Changes to GitHub Copilot Individual Plans

https://github.blog/news-insights/company-news/changes-to-github-copilot-individual-plans/
1•zorrn•26s ago•0 comments

Polymarket profits by placing bets on its own platform [video]

https://www.youtube.com/watch?v=A654vzQTGbQ
1•etrand_•1m ago•0 comments

Agentic Coding Is About to Fracture Open Source

https://blog.herlein.com/post/agentic-coding-impact-on-oss/
1•speckx•2m ago•0 comments

Troubleshooting.sh – paste any error, get a fix with root cause explained

https://troubleshooting.sh/
1•informsyed•2m ago•0 comments

Debasement

https://en.wikipedia.org/wiki/Debasement
1•downboots•3m ago•0 comments

Show HN: Online ICE Score calculator/prioritization

https://www.votito.com/free/ice-score-calculator/
1•adzicg•4m ago•0 comments

Ejabberd 26.04 / ProcessOne – Erlang Jabber/XMPP/Matrix Server – Communication

https://www.process-one.net/blog/ejabberd-26-04/
1•neustradamus•4m ago•0 comments

War Is a Racket (1935)

https://www.ratical.org/ratville/CAH/warisaracket.html
1•downbad_•6m ago•1 comments

OpenCode Migrating from Tauri to Electron

https://twitter.com/brendonovich/status/2045725889422610602
2•mrlightful•7m ago•0 comments

Agentic Context Engineering:Evolving Contexts for Self-Improving Language Models

https://arxiv.org/abs/2510.04618
1•matt_d•9m ago•0 comments

Uber is betting that people don't realize 70 * 0.25 = 17.5

https://twitter.com/danliu/status/2044853807675224491
2•josephcsible•9m ago•0 comments

Performance in BQN versus C

https://mlochbaum.github.io/BQN/implementation/versusc.html
1•tosh•10m ago•0 comments

Resolve-DnsName vs. Nslookup in Windows

https://techcommunity.microsoft.com/blog/networkingblog/resolve-dnsname-vs-nslookup-in-windows/44...
1•thunderbong•11m ago•0 comments

AAuth Protocol

https://dickhardt.github.io/AAuth/draft-hardt-aauth-protocol.html
2•mooreds•11m ago•0 comments

HaleES: An enforcement-first architecture for reliable AI agent operations

https://github.com/FatherHale/FatherHale-halees-architecture
1•HaleES•11m ago•0 comments

Lilly bags another in vivo CAR-T biotech via $7B Kelonia deal

https://www.fiercebiotech.com/biotech/lilly-picks-another-vivo-car-t-company-7b-deal-kelonia
1•flyaway123•12m ago•0 comments

Our Statement on Amazon's Suppression of the Camp of the Saints in the US

https://twitter.com/VaubanBooks/status/2046262858904641889
1•GeoPolAlt•14m ago•1 comments

Iran's Brutal Digital Siege Hits Day 50

https://www.nytimes.com/2026/04/19/world/middleeast/iran-internet-blackout-50th-day.html
2•us321•14m ago•0 comments

A Catechism for Robots

https://kk.org/thetechnium/a-catechism-for-robots/
3•arbesman•14m ago•0 comments

Nanowakeword: High-Accuracy Adaptive Wake Word Framework (Recent 2.0.4v))

https://github.com/arcosoph/nanowakeword
1•arcosoph_ai•14m ago•0 comments

Codex Chronicle (Research Preview)

https://developers.openai.com/codex/memories/chronicle
1•meetpateltech•16m ago•0 comments

Ask HN: How do you respond to blog posts that seem AI assisted?

1•cyndunlop•17m ago•3 comments

Audience Growth Tool

https://www.socialcrawl.dev
1•vaaselene•20m ago•1 comments

MODA: $25 of LLM-graded labels beat 1.5M purchase labels for fashion search

https://hopitai.substack.com/p/25-beat-everything-we-had-built
1•ArchieIndian•20m ago•0 comments

The Palantir's Stasi Protocols

https://professorsigmund.com/praxis/palantir-stasi-protocols.html
9•Prof_Sigmund•23m ago•1 comments

"The world will never be the same" – tweet on internal Mythos reception

https://twitter.com/jam3scampbell/status/2042037856588447883
2•brenoRibeiro706•23m ago•1 comments

Building a LLM honeyport that monitors all 65535 ports

https://discounttimu.substack.com/p/fun-with-ip_transparent
2•guardiangod•23m ago•0 comments

Following Pivotal Trial, FDA Set to Review First-of-a-Kind VR Autism Therapy

https://floreovr.com/learning-center/blog/following-pivotal-trial-fda-set-to-review-first-of-a-ki...
1•hbcondo714•23m ago•0 comments

Opus 4.7 – the best model nobody likes

https://maxfavilli.com/posts/opus-4-7-the-best-model-nobody-likes/
2•maxfavilli•24m ago•1 comments

Anonymous credentials: an illustrated primer (Part 2)

https://blog.cryptographyengineering.com/2026/04/17/anonymous-credentials-an-illustrated-primer-p...
1•kkl•26m ago•0 comments