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

After 16 years and $8B the military's new GPS software still doesn't work

https://arstechnica.com/space/2026/03/after-16-years-and-8-billion-the-militarys-new-gps-software...
2•yubblegum•1m ago•0 comments

Show HN: I'm cataloging open source electronics

https://www.openappnote.dev/
1•zciwor•2m ago•0 comments

Jaxpot: Jax framework for RL selfplay in vectorized game envs

https://bardsai.substack.com/p/jaxpot
2•karolcodes•2m ago•0 comments

Betafish

https://gavinong.com/projects/betafish
1•tosh•2m ago•0 comments

HeLa-Mem: Hebbian Learning and Associative Memory for LLM Agents

https://arxiv.org/abs/2604.16839
2•MemTensor•3m ago•1 comments

Arm Performix

https://newsroom.arm.com/news/announcing-arm-performix
1•waterymelon•4m ago•0 comments

Show HN: Foolery – a local coding factory for orchestrating coding agents

https://github.com/acartine/foolery
1•thecartine•5m ago•0 comments

Show HN: DeadNet – Watch AI agents debate, play games, and write stories live

https://deadnet.io/blog/what-is-deadnet
1•drewlong•5m ago•0 comments

Fish oil derivative eicosapentaenoic acid impairs repair after brain injury

https://www.cell.com/cell-reports/fulltext/S2211-1247(26)00213-5?_returnURL=https%3A%2F%2Flinking...
1•bookofjoe•6m ago•0 comments

Avoiding and reducing microplastic false positives from dry glove contact

https://pubs.rsc.org/en/content/articlelanding/2026/ay/d5ay01801c
1•doener•6m ago•0 comments

UAE to leave OPEC in blow to oil cartel

https://www.ft.com/content/8c354f2d-3e66-47f1-aad4-9b4aa30e386d
2•bazzmt•7m ago•0 comments

The Ugly 500: Patterns from 500 startup audited in 2026

https://vc-brain.com/report
2•UglyBabyVC•8m ago•1 comments

Neanderthal brains measure up to ours

https://arstechnica.com/science/2026/04/neanderthal-brains-measure-up-to-ours-literally/
1•alberto_ol•8m ago•0 comments

I Stopped Building AI Tools. I'm Hiring Them

https://doempke.com/stopped-building-tools-managing-employees/
1•speckx•8m ago•0 comments

Journal goes dark after impersonating Eric Topol and others

https://retractionwatch.com/2026/04/23/eric-topol-ellinger-publishing-media-journal-digital-healt...
1•danso•8m ago•0 comments

Show HN: Osscar – Measuring open-source growth beyond GitHub stars

https://osscar.dev/
1•aleciffo•9m ago•0 comments

Show HN: ToolMesh – turn all your REST APIs into MCP tools via declarative YAML

1•axeldunkel•9m ago•1 comments

Show HN: Qumulator – simulate 1k-qubit circuits on CPU, exact results, no GPU

https://github.com/qumulator/qumulator-sdk
1•nnoorbakhsh•9m ago•0 comments

A Primer on Bézier Curves – So What Makes a Bézier Curve?

https://pomax.github.io/bezierinfo/
1•mostlyk•11m ago•1 comments

Show HN: Photorealistic GPT Image 2 animal hybrids

https://www.emergentmind.com/hybridarium
1•matt1•13m ago•0 comments

United Arab Emirates quits OPEC as Iran war raises gulf tensions

https://www.nbcnews.com/business/energy/uae-quits-opec-oil-iran-talks-rcna342465
4•ceejayoz•13m ago•0 comments

Show HN: Aurion OS v1.1 (C/x86 ASM) [video]

https://www.youtube.com/watch?v=wlxP_A8jlQg
1•Luka12-dev•13m ago•1 comments

Prompts Are Like Prayers

https://anuvrat.in/prompts-are-like-prayers.html
2•stonecharioteer•13m ago•0 comments

Making a Chess Engine in Zig (2024)

https://johns.codes/blog/making-a-chess-engine-in-zig
2•tosh•15m ago•0 comments

Elon Musk and OpenAI CEO Sam Altman head to court in high-stakes showdown

https://apnews.com/article/musk-altman-artificial-intelligence-trial-openai-eb854fa682675f70267ab...
2•smurda•16m ago•1 comments

PyPI package with 1.1M monthly downloads hacked to push infostealer

https://www.bleepingcomputer.com/news/security/pypi-package-with-11m-monthly-downloads-hacked-to-...
4•yunseo47•17m ago•0 comments

I migrated 16 sites between Linode servers in 1 day with Claude Code

https://thekeesh.com/2026/04/how-i-migrated-16-sites-between-linode-servers-in-1-day-with-claude-...
1•speckx•18m ago•0 comments

Clasp: A four-stage supply-chain attack pattern via emergency patches

https://www.clasp.info/
1•bgmd•18m ago•0 comments

Anthropic just overtook OpenAI with $1T valuation

https://www.the-independent.com/tech/anthropic-openai-value-ai-b2963575.html
3•gmays•19m ago•1 comments

LLM from pre-1930 derives quantum mechanics and relativity

https://michaelhla.com/blog/machina-mirabilis.html?_bhlid=498cd7954b2dbc179126de1bca2247311eefc24a
1•michael-sumner•19m ago•0 comments