# python
7 artikelengetagd met “python”
Taalspecifieke risico's in door AI gegenereerde code
Language-specific security risks in AI-generated code: Python (pickle, eval, subprocess), JavaScript (prototype pollution, eval), Rust (unsafe blocks), and Go (SQL injection in string formatting).
Custom red team-tools bouwen
Handleiding voor het bouwen van custom AI-redteaming tools, inclusief targetspecifieke harnesses, pipelines voor resultaatanalyse en integratie met bestaande beveiligingsworkflows.
Lab: embeddingruimtes verkennen
Praktisch lab met Python om embeddingruimtes te visualiseren, semantische gelijkenis te meten en te demonstreren hoe adversarial documenten kunnen worden gemaakt die matchen met doel-queries.
Lab: een eenvoudige test-harness bouwen
Build a reusable Python test harness that automates sending test prompts, recording results, and calculating attack success metrics.
Lab: een trainingsdataset vergiftigen
Praktisch lab dat datasetvergiftiging en fine-tuning demonstreert om gedragsverandering te tonen, met stapsgewijze Python-code, meting van de backdoor-trigger en troubleshooting-richtlijnen.
Tool-walkthroughs
End-to-end practical walkthroughs for essential AI red teaming tools, covering installation, configuration, execution, and result interpretation.
Red team-automatisering met Python
Building custom AI red team automation with Python: test harnesses with httpx and aiohttp, result collection and analysis, automated reporting, and integration with existing tools like promptfoo and garak.