Files
CASAN/optimize-docs/video-steps/H4-Security/A6-secret-input/commands.sh
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

9 lines
413 B
Bash
Executable File

#!/usr/bin/env bash
# A6 — Secret exfiltration trong input (OWASP LLM06)
# cwd = thư mục gốc dự án. Offline OK.
printf 'my key -----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAK...\n-----END RSA PRIVATE KEY-----\n' > /tmp/a6.txt
bash .specify/scripts/bash/security-check.sh /tmp/a6.txt /tmp/o.txt input; echo "exit=$?"
# Kỳ vọng: SECURITY_BLOCKED rules=["...PRIVATE KEY...","secret-in-input"] · exit=2