using a bar `|` to set over two lines was causing issue for awk
Change-Id: I61c612a5d4fb864dea7648c893091da309aacce6
Signed-off-by: lhinds <lhinds@redhat.com>
- desc: |
- "RACE Integrity Primitives Evaluation Message Digest
- is an insecure hashing algorithm"
+ desc: "RACE Message Digest is an insecure hashing algorithm"
apprun:
regex: app\.run\s*\(.*debug.*=.*True.*\)
desc: |
apprun:
regex: app\.run\s*\(.*debug.*=.*True.*\)
desc: |
- "Running flask in debug mode can give away sensitive data on a
- systems configuration"
+ "Running flask in debug mode can give away sensitive data"
autoescape:
regex: autoescape.*=.*False
autoescape:
regex: autoescape.*=.*False
- desc: |
- "Without escaping HTML input an application becomes
- vulnerable to Cross Site Scripting (XSS) attacks."
+ desc: "Not escaping HTML input is vulnerable to XSS attacks."
safestring:
regex: safestring\.mark_safe.*\(.*\)
safestring:
regex: safestring\.mark_safe.*\(.*\)
- desc: |
- "Without escaping HTML input an application becomes
- vulnerable to Cross Site Scripting (XSS) attacks."
+ desc: "Not escaping HTML input is vulnerable to XSS attacks."
shelltrue:
regex: shell.*=.*True
shelltrue:
regex: shell.*=.*True
- desc: |
- "Shell=True can lead to dangerous shell escapes,
- expecially when the input can be crafted by untrusted external input"
+ desc: "Shell=True can lead to dangerous shell escapes"
tmp:
regex: \/tmp\/
desc: |
tmp:
regex: \/tmp\/
desc: |
- "Use of tmp directories can be dangerous. Its world writable and
- accessable, and can be easily guessed by attackers"
+ "tmp directories are risky. They are world writable and easily guessed"
yamlload:
regex: \yaml\.load
desc: |
yamlload:
regex: \yaml\.load
desc: |
- "Avoid dangerous file parsing and object serialization libraries,
- use instead `yaml.safe_load`"
+ "Avoid dangerous file parsing & serialization libs, use yaml.safe_load"