OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security
TypeScript ai-securityapplication-securityclicode-scanningcodexcodex-securitycybersecuritydevsecopsnodejsnpmopenaisdksecuritytypescriptvulnerability-scanning
fix(cli): clarify blocked patch results (#2609)
utsav-oaica7a25e9bdb7
diff --git a/sdk/typescript/src/remediation.ts b/sdk/typescript/src/remediation.tsindex f9559195b..9fdf3932c 100644--- a/sdk/typescript/src/remediation.ts+++ b/sdk/typescript/src/remediation.ts@@ -105,6 +105,9 @@ export async function remediationPrompt(? 'Use "verified" only when static evidence establishes that the original attack path is closed and legitimate behavior is preserved. ': 'Use "verified" only after the original issue no longer reproduces and relevant checks pass. ') +"Preserve unrelated local changes.",+ 'For a blocked result, use "reason" to say whether this attempt changed any files, what stopped the fix, and what needs to happen next. ' ++ "If a required change is outside the writable repository or path, explain what that component does and why it matters to the fix. Assume the reader knows only the current repository. " ++ "Identify the required change and where it belongs when known. If additional access or an owner action is needed, state it before suggesting another attempt.",);}}