CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

0 stars 0 forks 0 watchers Python Apache License 2.0
2 Open Issues Need Help Last updated: Mar 17, 2026

Open Issues Need Help

View All on GitHub

AI Summary: The `check_path_valid_type` function in `samcli` incorrectly allows `int(0)` while rejecting other falsy values inconsistently. Additionally, the debug logging uses `format(path)` which could lead to arbitrary code execution if `path` has a malicious `__format__` method. The proposed fix involves using `%r` formatting for safe representation and addressing a trailing space in the log message.

Complexity: 2/5
bug good first issue priority:low fix-submitted

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

Python

AI Summary: The `convert_path_to_unix_path` function incorrectly returns '.' for an empty string input, instead of the expected empty string. This is due to the underlying `PureWindowsPath("").as_posix()` behavior. The proposed fix adds a simple check to return the empty string directly if the input is empty.

Complexity: 1/5
bug good first issue

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

Python