feat: enhance OAuth flow validation and improve security checks; add credential read blocking and git operation safeguards
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ impl Memory {
|
||||
self.lifecycle, outcome_line, scope_line, before_line, after_line, prov_line,
|
||||
self.content
|
||||
);
|
||||
let tmp = parent.join(format!(".{}.tmp", std::process::id()));
|
||||
let tmp = parent.join(format!(".{}.tmp", uuid::Uuid::new_v4()));
|
||||
std::fs::write(&tmp, &content)?;
|
||||
std::fs::rename(&tmp, path)?;
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user