mirror of https://github.com/aliasrobotics/cai.git
[Doc]: fixing typos in different files
This commit is contained in:
parent
68e33196ee
commit
88af3456a4
|
|
@ -221,7 +221,7 @@ Cybersecurity AI (CAI) is a lightweight, open-source framework that empowers sec
|
|||
- Established the **autonomy levels in cybersecurity** and argued about autonomy vs automation in the field [](https://arxiv.org/abs/2506.23592)
|
||||
- **Collaborative research initiatives** with international academic institutions focused on developing cybersecurity education curricula and training methodologies [](https://arxiv.org/abs/2508.13588)
|
||||
- **Contributed a comprehensive defense framework against prompt injection in AI security agents**: developed and empirically validated a multi-layered defense system that addresses the identified prompt injection issues [](https://arxiv.org/abs/2508.21669)
|
||||
- Explord the Cybersecurity of Humanoid Robots with CAI and identified new attack vectors showing how it `(a)` operates simultaneously as a covert surveillance node and `(b)` can be purposed as an active cyber operations platform [](https://arxiv.org/abs/2509.14096) [](https://arxiv.org/abs/2509.14139)
|
||||
- Explored the Cybersecurity of Humanoid Robots with CAI and identified new attack vectors showing how it `(a)` operates simultaneously as a covert surveillance node and `(b)` can be purposed as an active cyber operations platform [](https://arxiv.org/abs/2509.14096) [](https://arxiv.org/abs/2509.14139)
|
||||
|
||||
|
||||
### 📚 Research products: `Cybersecurity AI`
|
||||
|
|
@ -1092,7 +1092,7 @@ The agent started performing a nmap scan. You could either interact with the age
|
|||
|
||||

|
||||
|
||||
If you want to use the HITL mode, you can do it by presssing twice ```Ctrl + C```.
|
||||
If you want to use the HITL mode, you can do it by pressing twice ```Ctrl + C```.
|
||||
This will allow you to interact (prompt) with the agent whenever you want. The agent will not lose the previous context, as it is stored in the `history` variable, which is passed to it and any agent that is called. This enables any agent to use the previous information and be more accurate and efficient.
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ Response Data:
|
|||
""site_status"": ""active""
|
||||
}
|
||||
}
|
||||
VULNERABLE: User location data exposed! I need you tothink further and deeper, be unexpected, the little thing the developers had not thought about so we find a flaw , maybe check if thi sis the expected behaviour for the API instead of a vector of attack, right? example of dcmentation https://developers.mercadolibre.cl/es_ar/recomendaciones-de-autorizacion-y-token";"i ran it Response Headers:
|
||||
VULNERABLE: User location data exposed! I need you tothink further and deeper, be unexpected, the little thing the developers had not thought about so we find a flaw , maybe check if thi sis the expected behaviour for the API instead of a vector of attack, right? example of docmentation https://developers.mercadolibre.cl/es_ar/recomendaciones-de-autorizacion-y-token";"i ran it Response Headers:
|
||||
Access-Control-Allow-Origin: null
|
||||
Access-Control-Allow-Methods: null
|
||||
Access-Control-Allow-Headers: null
|
||||
|
|
|
|||
|
|
|
@ -35,7 +35,7 @@ ctf_agent = Agent(
|
|||
# An agent to pick the best solution after multiple attempts
|
||||
best_solution_picker = Agent(
|
||||
name="best_solution_picker",
|
||||
description="Agent focused on picking the best security solutio",
|
||||
description="Agent focused on picking the best security solution",
|
||||
instructions="You pick the best security solution from the given attempts.",
|
||||
model=OpenAIChatCompletionsModel(
|
||||
model=os.getenv('CAI_MODEL', "qwen2.5:14b"),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
Prompt Injection Guardrails for CAI Agents
|
||||
|
||||
This module implements guardrails to protect against prompt injection attacks
|
||||
when agents interact with untrusted external content (web pages, server responses, etc).
|
||||
when agents interact with untrusted external content (web pages, server responses, etc.).
|
||||
"""
|
||||
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ class LoadCommand(Command):
|
|||
# Convert to P format
|
||||
args[0] = f"P{args[0]}"
|
||||
|
||||
# Check if first arg is an ID (P1, P2, etc)
|
||||
# Check if first arg is an ID (P1, P2, etc.)
|
||||
if args[0].upper().startswith("P"):
|
||||
# Try to resolve ID to agent name
|
||||
from cai.repl.commands.parallel import PARALLEL_CONFIGS
|
||||
|
|
@ -674,7 +674,7 @@ class LoadCommand(Command):
|
|||
console.print("[dim]The file may be empty or contain only session events[/dim]")
|
||||
return True
|
||||
|
||||
# If agent_name is an ID (P1, P2, etc), resolve it to actual agent name
|
||||
# If agent_name is an ID (P1, P2, etc.), resolve it to actual agent name
|
||||
from cai.sdk.agents.simple_agent_manager import AGENT_MANAGER
|
||||
resolved_agent_name = agent_name
|
||||
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ async def generate_case_study(jsonl_file: str, output_php_file: str) -> Optional
|
|||
prompt = "Generate the PHP code for a cybersecurity case study based on the template. "
|
||||
prompt += "Analyze the conversation context that has been loaded and create a comprehensive case study. "
|
||||
prompt += "Fill in all TEMPLATE-TODO sections with relevant information from the session. "
|
||||
prompt += "Explain step by step the problem and the solution in this escenario"
|
||||
prompt += "Explain step by step the problem and the solution in this scenario"
|
||||
prompt += "The output should be complete PHP code ready to save to a file."
|
||||
|
||||
# Add a summary of the JSONL conversation to the prompt
|
||||
|
|
|
|||
Loading…
Reference in New Issue