MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / vuln6

Function vuln6

tests/files/flask_app.py:78–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77@app.route('/vuln6')
78def vuln6():
79 obj = Unsecure()
80 obj.eval_arg()
81 obj.code = flask.request.args.get('src', 'pass')
82 obj.run()
83 return "Hello world"
84
85
86@app.route('/vuln7/<command>')

Callers

nothing calls this directly

Calls 4

eval_argMethod · 0.95
runMethod · 0.95
UnsecureClass · 0.85
getMethod · 0.80

Tested by

no test coverage detected