Files
CASAN/optimize-docs/video-steps/H4-Security/A1-direct-injection/script.md
T
thanhnvandClaude Opus 4.8 fbcef967e5 chore(freeze): snapshot demo state before Plan-07 hardening work
Freeze current submission/demo baseline:
- casan-next-plans/: full task-level plan set (Plan 00 index + 02/04/06/07/08/09/12, QA, slide deck)
- optimize-docs/video-steps/: per-vector scene breakdown (commands/screen-text/script) + start-tmux
- run-all.sh / scorecard.sh / map-live.sh: REAL=1 live-battery wiring
- regenerated evidence + audit/telemetry logs from live REAL=1 run
- submission README + video recording guide updates
- dry-run pipeline logs for 001-okr-web-app

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 22:03:44 +09:00

575 B

SCRIPT / MÔ TẢ — A1

Tấn công: Direct prompt injection — câu lệnh trực tiếp yêu cầu model bỏ qua chỉ dẫn và lộ system prompt. Đây là mẫu kinh điển của OWASP LLM01, lớp MAESTRO L1.

Control chặn thế nào: security-check.sh quét input theo blocklist rule-based, khớp mẫu "ignore previous instructions" → trả SECURITY_BLOCKED với rc=2 (fail-closed) ngay trước khi input chạm tới agent.

Text mô tả (phụ đề):

"Câu injection kinh điển: chặn ngay ở cửa vào, exit=2."