Commit Graph

978 Commits

Author SHA1 Message Date
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
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
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 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
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
Chris d2ef2cdbe9
Add agent completion support similar to model completion (#232)
-> basically the same functionality for agent-selection now as for model-completion was already available

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-26 07:07:14 +02:00
Víctor Mayoral Vilches 809133ffb6 Minor adjustments in the table to set expectations
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:54:48 +00:00
Víctor Mayoral Vilches bd308ea69d Some basic re-styling
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:53:54 +00:00
Víctor Mayoral Vilches 17ef671b6f Update Fluency course material
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:51:15 +00:00
Chris 6a0ba99d66
Noticed a difference in the model-list in completer.py and model.py (#230)
* fix

* reverted parts of the previous changes as they led to a duplication of model-show
* now /model shows the predefined models (as before)
* the numbering in the cached-models is consistent with model-show and the completer

---------

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-24 09:24:21 +02:00
Chris d54c2f3d13
Improve MCP command messaging for existing servers (#229)
Improve MCP command error messaging for existing servers

* Update the messages when attempting to add an already loaded server -> this should clarify that the server is active and there is no error
* Provide guidance on how to reload it

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-22 19:45:43 +02:00
Fan Huang 9043cc262b
Fix MCP command tool assignment and improve CLI error messaging (#222)
* fix(mcp): correct server param access and agent tool registration
- Use getattr() instead of .get() for accessing server.params attributes
- Fix tool registration logic to properly add tools to Agent

* fix(cli): improve fallback message for failed or unknown commands
- Replaced misleading "Unknown command" message with "Command failed or unknown"
2025-07-22 09:36:37 +02:00
Chris d54ee445f4
This change should tackle the problem of reassigning already existing… (#218)
This change should tackle the problem of reassigning already existing docker containers when using /virtualization

* Add image name normalization (the container name might miss the :latest suffix)
	-> Introduced a helper function `normalize_image_name` to ensure Docker image names always include a tag (defaulting to ':latest' if 	missing)
* Updated DockerManager to use the new normalized image names for comparisons when checking for existing containers and images
* Enhanced the error handling for cases where containers already exist, ensuring proper reuse or recreation of containers based on their 	status

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-22 09:35:48 +02:00
Chris 6e33292699
Update README.md (#213)
according to "CAI> /mcp help" it should be "/mcp load stdio" instead of "/mcp stdio"
2025-07-22 09:27:09 +02:00
Víctor Mayoral Vilches 615431f2b1 Exclude alias0.5 from the forwarding for local evaluation
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-21 08:51:50 +02:00
Víctor Mayoral Vilches d8788091cc Clarify caiextensions, no resources to maintain them publicly
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-14 06:28:29 +00:00
Cristobal Veas c16d3250dd
add new folder called fluency with notebook for episode 3: my first hack (#215)
* add new folder called fluency with notebook for episode 3: my first hack

* update notebook and review grammar

---------

Co-authored-by: cris <cris@criss-MacBook-Pro.local>
2025-07-13 10:33:33 +02:00
Víctor Mayoral Vilches 79da0a23ad Add another article, v0.5.3
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-10 05:39:53 +00:00
Yuri dbc502fa44
fixed API endpoint for alias models (#216)
Co-authored-by: Achifaifa <github@achi.se>
2025-07-08 15:58:47 +02:00
Víctor Mayoral Vilches c49cb0e97c Add Lakera
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-07 16:49:36 +00:00
Víctor Mayoral Vilches c04c7f53af Add https://ethiack.com/
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-07 13:48:43 +00:00
Víctor Mayoral Vilches 9baa0a8030 Improve the history extraction from JSON
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-03 16:24:28 +00:00
Víctor Mayoral Vilches 13350afcee Contribute CAI Fluency first bits
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-03 16:00:36 +02:00
Víctor Mayoral Vilches f4d9e198a9 Add a few more companies doing Cybersecurity AI
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-02 09:25:10 +00:00
Víctor Mayoral Vilches e9b095344c Add SQUR
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-01 13:27:23 +00:00
luijait f869a9938f
Add alias0-fast pricing and table (#210)
* Add alias0 fast pricing and table

* Update pricing.json
2025-07-01 14:18:40 +02:00
Víctor Mayoral Vilches 56209ea7b8 Add a bunch of additional closed source alternatives
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-06-28 21:30:36 +00:00
Víctor Mayoral Vilches d886b4024d Remove load_history_from_jsonl_v2
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-06-27 15:38:35 +00:00