Tool Parameter Abuse
High
- Category
- Tool Misuse
- Content
def strip_comments(text: str) -> str: """Remove // and /* */ comments outside of string literals, preserving line structure.""" result = [] i = 0 n = len(text)- Confidence
- 90% confidence
- Finding
- Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
