Skip to content

Commit f53a43c

Browse files
author
Arena Agent
committed
Merge remote-tracking branch 'origin/main' into codex/proof-stack-merge-20260907
2 parents e1a02e6 + 5c13d38 commit f53a43c

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

‎.machine_readable/descriptiles/PLAYBOOK.a2ml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ last-updated = "2026-04-11"
1919
# 4. Run `just security` to audit for vulnerabilities
2020

2121
[release-process]
22-
# 1. Update version in .machine_readable/descriptiles/STATE.a2ml and .machine_readable/descriptiles/META.a2ml
22+
# 1. Update version in .machine_readable/descriptiles/STATE.a2ml and META.a2ml
2323
# 2. Run `just release-preflight` (validate + quality + security + maint-hard-pass)
2424
# 3. Tag and push
2525

‎bots/cipherbot/src/analyzers/infra.rs‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,6 @@ impl Analyzer for InfraAnalyzer {
174174
mod tests {
175175
use super::*;
176176

177-
fn synthetic_hardcoded_credential() -> String {
178-
[
179-
"password = \"",
180-
"synthetic-test-value",
181-
"\"",
182-
]
183-
.concat()
184-
}
185-
186177
#[test]
187178
fn test_detect_latest_tag() {
188179
let analyzer = InfraAnalyzer;
@@ -195,7 +186,7 @@ mod tests {
195186
#[test]
196187
fn test_detect_hardcoded_cred() {
197188
let analyzer = InfraAnalyzer;
198-
let content = synthetic_hardcoded_credential();
189+
let content = format!(r#"password = "{}""#, "x".repeat(12));
199190
let usages = analyzer.analyze_content(Path::new("infra/main.tf"), &content);
200191
assert!(!usages.is_empty(), "Should detect hardcoded credential");
201192
assert_eq!(usages[0].status, CryptoStatus::Reject);
@@ -213,7 +204,7 @@ mod tests {
213204
#[test]
214205
fn test_skip_non_infra_file() {
215206
let analyzer = InfraAnalyzer;
216-
let content = synthetic_hardcoded_credential();
207+
let content = format!(r#"password = "{}""#, "x".repeat(12));
217208
let usages = analyzer.analyze_content(Path::new("src/main.rs"), &content);
218209
assert!(usages.is_empty(), "Should skip non-IaC files");
219210
}

0 commit comments

Comments
 (0)