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!

How much do Tokens Cost? [video]

https://www.youtube.com/watch?v=u7jO5slUiUw
1•ankit70•2m ago•0 comments

Muse Spark: Scaling Towards Personal Superintelligence

https://ai.meta.com/blog/introducing-muse-spark-msl/?_fb_noscript=1
2•chabons•2m ago•1 comments

Japan relaxes privacy laws to make itself the 'easiest country to develop AI'

https://www.theregister.com/2026/04/08/japan_privacy_law_changes_ai/
1•neitsab•3m ago•0 comments

Show HN: SpoonBaboon – From "I want to make X" to a guided cooking session

https://www.spoonbaboon.com
1•Averkin•3m ago•0 comments

Obsidian will receive the 0.0.3-rc3 brief. You can see and follow clicking here

https://github.com/roading-os/Obsidian-Kernel
1•oretuff•4m ago•0 comments

The twilight of America's sky knights – Fighter jets are an anachronism

https://unherd.com/2026/04/the-twilight-of-americas-sky-knights/
1•voxleone•5m ago•0 comments

Anthropic Just Handed Apache $1.5M to Secure the Open Source Stack AI Depends On

https://itsfoss.com/news/anthropic-apache-software-foundation-donation/
2•speckx•6m ago•1 comments

Omid Teimory

https://omidteimory.com
1•omid2007hope•6m ago•0 comments

Why your new computer is slower than your old computer [video]

https://www.youtube.com/watch?v=t992ul_IKtc
1•ernesto905•9m ago•0 comments

The Privacy Black Hole: Third-Party Doctrine

https://incognitocat.me/the-privacy-black-hole-third-party-doctrine/
1•abnercoimbre•9m ago•0 comments

Ferretlog: Git log for your Claude Code agent runs

https://github.com/eitanlebras/ferretlog
1•eitanlebras•9m ago•0 comments

Show HN: India Trade CLI

https://github.com/hopit-ai/india-trade-cli
7•ArchieIndian•10m ago•0 comments

FFmpeg maintainers thank Anthropic for Mythos patches

https://xcancel.com/FFmpeg/status/2041595801483264002
2•hmokiguess•11m ago•0 comments

Legibility Is Ruining You

https://jimmyhmiller.com/legibility-is-ruining-you
1•jimmyhmiller•11m ago•1 comments

The three villains to agentic observability: retention, sampling and rollups

https://clickhouse.com/blog/three-villains-agentic-observability
1•blueybingo•13m ago•0 comments

Façade (2005 Video Game)

https://en.wikipedia.org/wiki/Fa%C3%A7ade_(video_game)
1•jjmarr•14m ago•0 comments

Supply chain nightmare: How Rust will be attacked and how to mitigate attacks

https://kerkour.com/rust-supply-chain-nightmare
4•randomint64•14m ago•0 comments

No more American Dream? Housing market strains buyers and owners

https://www.usatoday.com/story/money/personalfinance/real-estate/2026/04/06/american-dream-dead-h...
1•speckx•15m ago•0 comments

Show HN: A benchmark for SAST exploit chain and evasion detection

https://github.com/TheAuditorTool/sast-benchmark
1•ThailandJohn•15m ago•1 comments

The official Paul McCartney account banned?

https://old.reddit.com/r/PaulMcCartney/comments/1s6yy9x/the_official_paul_mccartney_account_banned/
1•divbzero•16m ago•0 comments

85-token caveman prompt that outperforms the 552-token original

https://github.com/kuba-guzik/caveman-micro
2•jakguzik•18m ago•0 comments

Tesla won't build its own chip fab – Intel is going to do it

https://electrek.co/2026/04/07/tesla-terafab-intel-joins-foundry/
1•compuficial•18m ago•0 comments

Contributors, cross-stack improvements: Collabora's work on GStreamer 1.28

https://www.collabora.com/news-and-blog/news-and-events/16-contributors-cross-stack-improvements-...
2•losgehts•18m ago•0 comments

Making Self-XSS Great Again: Unauthorized Access Request Approvals in Cloudflare

https://kazama.in/self-xss-to-cloudflare-single-click-approvals/
1•matured_kazama•19m ago•0 comments

Lila-Leech – First Geometric Transformer Based on Leech Lattice Symmetry

https://github.com/SPUTNIKAI/LeechTransformer
2•bootstraptor•19m ago•3 comments

Is this the end for data analysts? AI agent, 500GB, 100 rounds, 134.9s, $1.66

https://medium.com/generative-ai/i-talked-to-500gb-of-retail-data-with-zero-domain-knowledge-ai-d...
1•agent_anuj•21m ago•2 comments

AWS has climbed on the AI-in-space bandwagon with more bad science

https://aws.amazon.com/
1•boutell•22m ago•2 comments

How to Unleash GStreamer for Low Latency Streaming?

https://www.red5.net/blog/gstreamer-for-low-latency-streaming/
1•mondainx•23m ago•0 comments

"Bidding" for Jobs?

https://jackbmeyer.substack.com/p/bidding-for-jobs
1•speckx•23m ago•1 comments

I Ported Mac OS X to the Nintendo Wii

https://bryankeller.github.io/2026/04/08/porting-mac-os-x-nintendo-wii.html
13•blkhp19•24m ago•0 comments