Skip to content

Commit 0bf40e8

Browse files
authored
Merge pull request #29 from Eshrath027/main
Removing the skip-permissions flag
2 parents a8f631c + 0dc1bd9 commit 0bf40e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aspm_cli/scan/sast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,15 +254,15 @@ def _build_claude_command(self) -> list[str]:
254254

255255

256256
if not self.container_mode:
257-
cmd = ["claude", "--dangerously-skip-permissions", "--system-prompt", system_prompt, user_prompt]
257+
cmd = ["claude", "--system-prompt", system_prompt, user_prompt]
258258
else:
259259
cmd = [
260260
"docker", "run", "--rm",
261261
"-e", f"ANTHROPIC_API_KEY={self.anthropic_api_key}",
262262
"-e", "CLAUDE_CODE_MAX_OUTPUT_TOKENS=200000",
263263
"-v", f"{os.getcwd()}:/workspace",
264264
self.claude_image,
265-
"claude", "--dangerously-skip-permissions", "--system-prompt", system_prompt, user_prompt
265+
"claude", "--system-prompt", system_prompt, user_prompt
266266
]
267267

268268
return cmd

0 commit comments

Comments
 (0)