Commit Graph

1078 Commits

Author SHA1 Message Date
Víctor Mayoral Vilches 340aa77248 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 336617a539 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 16c7367de2 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 89aa15999d 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 82d0121bd8 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 bfb1281096 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 4a0918dc4a 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 f005b3f7ba 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 c1c4d87341 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 0a1b5032ad 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 145a030826 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 02249dae79 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 148fe87714 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 e8f89c7f95 Merge branch 'main' of https://github.com/aliasrobotics/cai 2025-08-18 08:07:00 +02:00
Víctor Mayoral Vilches 624f548bec 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 59c3c60711 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 9b60fddf0e Add android app security testing agent (#238)
add android app security testing agent
2025-08-07 18:17:53 +02:00
Chris a6f8608f06 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 45832e47b7 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 c2103df109 Update README.md
Add missing div
2025-08-02 09:50:28 +02:00
Cristobal Veas c8a1c9ae80 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 4544af93d3 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 5f4c61719f 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 dd32da402b 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 6248eb5c18 Re-org CAI Fluency, add ep. 6, fill up new videos 2025-07-31 13:44:43 +02:00
Víctor Mayoral Vilches 2b9ceca468 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 88f2112321 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 f036160344 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 e0636cfe47 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 5718961a7a 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 d54a245ba5 Update Fluency course material
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:51:15 +00:00
Chris b8dd50dd27 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 83ab74f585 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 b270cf246d 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 dbe0436477 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 73b1a35145 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 86fcbd5330 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 d8d5faacf0 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 259360442d 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 eb97f54caa 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 d61eb38ed2 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 96eebfbd9f 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 7c3572ce35 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 36af2e69e0 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 f2902cfcac 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 5ce974aaa4 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 203fcbb702 Add SQUR
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-01 13:27:23 +00:00
luijait 8253a61877 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 7086020fd0 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 7006dbdbd7 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