python-security/pyt

View on GitHub
:mortar_board: Add mention of Pysa tutorial #694
KevinHock authored f4ec9e12
complete00:00:15
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-08T06:24:38.428172 #1]  INFO -- : Skipping file ./pyt/vulnerabilities/trigger_definitions_parser.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 18
    self, trigger, *,
                    ^
SyntaxError: invalid syntax


I, [2024-04-08T06:24:38.452492 #1]  INFO -- : Skipping file ./pyt/vulnerabilities/vulnerabilities.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 292
    yield from get_vulnerability_chains(
             ^
SyntaxError: invalid syntax


I, [2024-04-08T06:24:38.588405 #1]  INFO -- : Skipping file ./pyt/helper_visitors/call_visitor.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    yield from x
             ^
SyntaxError: invalid syntax


I, [2024-04-08T06:24:39.014045 #1]  INFO -- : Skipping file ./pyt/core/transformer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 56
    return [*inner_calls, outer_call]
            ^
SyntaxError: invalid syntax


I, [2024-04-08T06:24:39.023224 #1]  INFO -- : Skipping file ./pyt/core/node_types.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    def __init__(self, label, ast_node, *, line_number=None, path):
                                         ^
SyntaxError: invalid syntax


I, [2024-04-08T06:24:39.040273 #1]  INFO -- : Skipping file ./pyt/core/ast_helper.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 58
    yield from _get_call_names_helper(node.value)
             ^
SyntaxError: invalid syntax
7
fixme
fixme engine documentation
8
radon
radon engine documentation
View output
Running radon3...
9
pep8
pep8 engine documentation
View output
pyt/__main__.py pyt/vulnerabilities/ pyt/helper_visitors/ pyt/cfg/ pyt/vulnerability_definitions/ pyt/usage.py pyt/__init__.py pyt/analysis/ pyt/formatters/ pyt/web_frameworks/ pyt/core/ docs/ setup.py