Commit Graph

1001 Commits

Author SHA1 Message Date
cris 8f44656778 change env variable CAI_AGENT to CAI_AGENT_TYPE 2025-09-29 08:59:36 +02:00
cris f2058d9a5d add new benchmark Agent2PwnBench 2025-09-18 17:11:37 +02:00
Cristobal Veas e466d64ccd
Merge branch 'aliasrobotics:main' into main 2025-09-18 17:03:55 +02:00
Javier Garcia cb9e506424
docs: Azure OpenAI update; create 'Providers' section in mkdocs.yml and specify configuration for CAI to work correctly (#264) (#273)
docs: Azure OpenAI update; create 'Providers' section in mkdocs.yml and specify configuration for CAI to work correctly (aliasrobotics/cai#264)
2025-09-17 11:17:27 +02:00
top9th a065d4ffab
Fix Google Gemini OpenAI compatibility issues (#268)
Gemini is ready to use with this configuration.
```
OPENAI_API_KEY="gemini_key"
OPENAI_BASE_URL="gemini_openai_compatible_url"
CAI_MODEL=openai/gemini-2.5-pro
```
2025-09-16 07:12:50 +02:00
aFrogThatExists 3d8f34785b
Updated README.md to add note on installing python3.12-venv (#271)
* Update README.md to add note on installing python3.12-venv

* Updated README.md to move the note to FAQ
2025-09-15 16:18:28 +02:00
Jonas 5878c65f96
Fix link in README.md for tools section (#272) 2025-09-15 16:12:39 +02:00
Víctor Mayoral Vilches 5376aaf200 Address #262
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-06 16:24:02 +02:00
Víctor Mayoral Vilches 577f9dcac0 Add sola and minor correction
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-05 16:53:06 +02:00
cris 49eb4c1062 change name of project in readme folder structure 2025-09-04 11:46:43 +02:00
cris 3b70098efe change nam of the project 2025-09-04 11:35:33 +02:00
cris 8c1d03d85b fix spelling mistak in readme 2025-09-03 12:33:33 +02:00
cris 5a32b8d0e6 remove readme on utils folder 2025-09-03 12:20:42 +02:00
cris e139441d77 update readme project structure 2025-09-03 12:19:10 +02:00
cris c9c2c88a03 add function to create log folder 2025-09-03 12:15:10 +02:00
cris 1fc7c4477e add updated readme for prompt-bench project 2025-09-03 12:10:25 +02:00
Cristobal Veas 8ee0c1979a
Merge branch 'aliasrobotics:main' into main 2025-09-03 11:51:01 +02:00
Víctor Mayoral Vilches a8420db629 Add updates with latest research contribution
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-01 15:46:39 +02:00
Víctor Mayoral Vilches 6d47ccc2d2 Re-iterate errors and release v0.5.5
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 14:09:53 +00:00
Víctor Mayoral Vilches b7d0c4aaa2 Update README and release v0.5.4
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 14:01:59 +00:00
Víctor Mayoral Vilches 47681c6853 Update docs including guardrails
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 14:01:42 +00:00
Víctor Mayoral Vilches 4ade2397e3 Minor update in prompt injection PoCs
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 13:54:36 +00:00
luijait 5623ae1eb6
async sessions + friendly IDs + tolerant session commands (#253)
* Manual port: async sessions + friendly IDs + tolerant session commands over origin/main; add tests for interactive sessions; no push

* Add guardrail tests

---------

Co-authored-by: System Administrator <root@MacBook-Air-de-luijait.local>
2025-08-29 15:34:48 +02:00
Víctor Mayoral Vilches d1b42233e6
Prompt injection mitigation (#249)
* Reproduce prompt injection flaw in CAI

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate prompt injection

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add a second PoC, refactor and propose a message when guardrails are triggered

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add CAI_GUARDRAILS and 2 additional PoCs

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate PoC 3

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate PoC 4

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add and mitigate PoCs 5 and 6

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add PoCs 7 to 10

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Test and mitigate PoCs 7 to 10

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add PoCs 11 to 14

Inspired by 'Embrade The Red' research and also by 'The Month of AI bugs'

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate PoCs 11 to 14

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

---------

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-28 20:25:24 +02:00
Víctor Mayoral Vilches d3b8d3ecc9 Add headers to README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-25 13:29:40 +02:00
Víctor Mayoral Vilches 2aa369f8dd Various refinements in README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-22 04:54:34 +00:00
cris 9d92b18860 add benchmarking for prompting methods 2025-08-21 10:38:28 +02:00
cris 9447ac5615 Merge remote-tracking branch 'upstream/main' 2025-08-21 10:11:56 +02:00
Víctor Mayoral Vilches 4676f6bf92 Add CAI Fluency tech report to README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-20 16:04:25 +02:00
Víctor Mayoral Vilches daa0494476 Add the CAI Fluency paper
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-20 16:03:03 +02:00
Cristobal Veas 9a0adf7f52
Merge branch 'aliasrobotics:main' into main 2025-08-20 12:35:59 +02:00
Víctor Mayoral Vilches 595c0a93f5 Update badge until pystats gets fixed
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-19 13:28:37 +02:00
Víctor Mayoral Vilches 1a18e504e8 Improve readibility
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-18 09:38:10 +02:00
Víctor Mayoral Vilches 7e81fd83c8 Add further visibility to case studies
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-18 08:12:07 +02:00
Víctor Mayoral Vilches 576f4a4eeb Merge branch 'main' of https://github.com/aliasrobotics/cai 2025-08-18 08:07:00 +02:00
Víctor Mayoral Vilches 73b07ec8d6 Add DISCLAIMER and some minor refinements on README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-18 08:05:54 +02:00
teflon cd27d5aaa8
Fixed unterminated string literals in a few files causing issues with /agent on WSL (#241)
* Update local_python_executor.py

Fixed unterminated string literals

* Update codeagent.py

fixed unterminated string literals

* Update rag.py

fixed unterminated string literals
2025-08-15 18:36:44 +02:00
Yahya Sayed 4e8f58191d
Add android app security testing agent (#238)
add android app security testing agent
2025-08-07 18:17:53 +02:00
Chris 719852a793
Add suggestions and autocompletion to command /mcp (#239)
* Add MCP command completion support

Implemented functions to provide suggestions for MCP server names and context-aware MCP command completions. Enhanced the FuzzyCommandCompleter to handle MCP commands, including subcommands and transport types.

* Refactor FuzzyCommandCompleter to utilize default subcommand handler

Removed hardcoded subcommand definitions and replaced them with a call to the existing method for fetching subcommand suggestions. This enhances maintainability and reduces code duplication.

---------

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-08-07 18:17:10 +02:00
Víctor Mayoral Vilches e3356e8195 Remove Ep. 6 for now from fluency
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-03 07:00:17 +02:00
Víctor Mayoral Vilches 84018f2454
Update README.md
Add missing div
2025-08-02 09:50:28 +02:00
Cristobal Veas 3a3bbddec0
Merge branch 'aliasrobotics:main' into main 2025-08-02 09:06:26 +02:00
Cristobal Veas bfd263e097
Update python examples on readme and portswigger bot in fluency folder (#237)
Co-authored-by: cris <cris@criss-MacBook-Pro.local>
2025-08-02 06:46:30 +02:00
cris 87c2862ebf Update python examples on readme and portswigger bot in fluency folder 2025-08-01 14:04:33 +02:00
Jasmin Wachter c355815ff4
Update README.md (#233)
* Update README.md

Updated CAI file structure to match version v.0.5.2

* Add files via upload

* Update README.md

Add caiedu picture
2025-08-01 12:56:03 +02:00
Víctor Mayoral Vilches 202ab6b226 Push Cathrin's video
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-01 12:45:15 +02:00
Víctor Mayoral Vilches 83562b56df Remove line-space
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-31 13:49:08 +02:00
Víctor Mayoral Vilches 683eec705b Re-org CAI Fluency, add ep. 6, fill up new videos 2025-07-31 13:44:43 +02:00
Víctor Mayoral Vilches e91505e34f Add Ep. 5 to CAI Fluency course
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-30 12:29:07 +02:00
Víctor Mayoral Vilches 357a8db549 Add Kindo as another group serving AI Security models
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-30 12:08:23 +02:00