{ "assetKey": "a13-f009-sigv4-string", "kind": "terminal", "command": "set -e\nset -o pipefail\nP=adapter/outbound/notification/src/main/java/dev/caskeleton/adapter/outbound/notification\nAC=application-core/src/main/java/dev/caskeleton/application/notification/platform\necho \"# 지운다고 약속하는 쪽 — 핸들\"\ngrep -n 'operation-scoped mutable secret copy\\|Arrays.fill(bytes, (byte) 0)\\|Arrays.fill(characters' $P/provider/NotificationSecretMaterialHandle.java\necho \" 그 핸들을 받는 인터페이스의 구현 — 이름 있는 것과 익명인 것\"\n{ grep -rn 'implements NotificationProviderAttemptClient\\|new NotificationProviderAttemptClient()' \\\n --include=*.java . --exclude-dir=build | grep -v 'ReconciliationReference' || echo \" (일치 0)\"; } \\\n | sed -E 's#^[^:]*/src/(main|test)/[^:]*/([^:/]+):# \\1 · \\2:#'\necho\necho \"# 서명 자리에 실제로 오는 쪽 — 자격증명 관리자\"\ngrep -n -A3 'public byte\\[\\] materialFor(' $P/platform/security/ProviderCredentialManager.java | head -10\ngrep -n 'material = material.clone();\\|return material.clone();' $AC/security/SecretKeyMaterial.java\necho\necho \"# 그 사본을 서명 자리로 넘기는 자리\"\ngrep -rn 'credentials.materialFor(' --include=*.java $P --exclude-dir=build \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+):#\\2:#'\necho\necho \"# 그 사본을 문자열로 올리는 자리\"\ngrep -rn -A2 'new String(' --include=*.java $P --exclude-dir=build \\\n | grep -iE 'secretAccessKey|authToken|materialFor' \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+)([:-])#\\2\\3#'\necho\necho \"# 그 문자열이 다시 키 명세로 들어가는 자리\"\ngrep -n 'byte\\[\\] key =\\|mac.init(new SecretKeySpec(key' $P/platform/provider/ses/AwsSignatureV4Signer.java\necho\necho \"# 복제를 받는 다른 길 — 비밀 자재 제공자 직접 조회 (수신자 이름이 아니라 메서드로 찾는다)\"\ngrep -rnE '\\.(activeKey|keyById)\\(' --include=*.java $P --exclude-dir=build \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+):#\\2:#'\necho -n \" 그중 자격증명 관리자 자신의 줄 : \"\ngrep -rnE '\\.(activeKey|keyById)\\(' --include=*.java $P/platform/security/ProviderCredentialManager.java | wc -l\necho\necho \"# 제공자 자격증명 목적을 푸는 자리\"\ngrep -rn 'purpose() != SecretPurpose.PROVIDER_CREDENTIAL' --include=*.java $P --exclude-dir=build \\\n | sed -E 's#^[^:]*/notification/([^:]*/)?([^:/]+):#\\2:#'\necho -n \" 그 목적을 검사 없이 바로 조회하는 자리 : \"\n{ grep -rn 'activeKey(SecretPurpose.PROVIDER_CREDENTIAL)' --include=*.java $P --exclude-dir=build \\\n | grep -v '^\\s*\\*' || echo \"(일치 0)\"; } | head -3\necho\necho \"# 서명 검증기가 쓰는 것은 다른 목적의 비밀이다\"\ngrep -n 'callbackSigningKeyRef\\|SecretPurpose.CALLBACK_SIGNING' $P/platform/provider/twilio/TwilioCallbackAdapter.java\ngrep -n 'PROVIDER_CREDENTIAL\\|CALLBACK_SIGNING' $AC/security/SecretPurpose.java\n", "cwd": "/shared/codebase/clean-architecture-backend-template/src", "exitCode": 0, "executedAt": "2026-09-02T19:12:29+00:00", "sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916", "raw": "evidence/raw/a13-f009-sigv4-string.txt", "svg": "evidence/rendered/a13-f009-sigv4-string.svg", "rawSha256": "222f51879701ce3f1b595ef035383cf2ac395b17d4564b82797630457f3c4da2", "lines": 62, "redaction": "none — 코드베이스 정적 검색" }