2 Commits

Author SHA1 Message Date
Christian Krakau-Louis 8b0d793713 Fix vulnerable musicround dependencies 2026-05-22 23:13:34 +02:00
Christian Krakau-Louis ce97e71239 Add MCP datastore CRUD tools (#11)
Add generic MCP CRUD access for mapped datastore objects and include song usage frequency in song query results.
2026-05-22 11:22:43 +02:00
2 changed files with 26 additions and 1 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ flask_migrate
requests
pydub
reportlab
PyJWT
PyJWT>=2.10.1
idna>=3.11
python-dotenv
deezer-python
Flask-Assets
+24
View File
@@ -124,6 +124,30 @@ class TestDependencySecurity:
assert 'authlib>=1.6.5' in content, \
"authlib should be pinned to >= 1.6.5 to fix known vulnerabilities"
def test_pyjwt_version(self):
"""Test that PyJWT is at least version 2.10.1."""
requirements_path = os.path.join(
os.path.dirname(__file__), '..', 'requirements.txt'
)
with open(requirements_path, 'r') as f:
content = f.read()
assert 'PyJWT>=2.10.1' in content, \
"PyJWT should be pinned to >= 2.10.1 to fix known vulnerabilities"
def test_idna_version(self):
"""Test that idna is at least version 3.11."""
requirements_path = os.path.join(
os.path.dirname(__file__), '..', 'requirements.txt'
)
with open(requirements_path, 'r') as f:
content = f.read()
assert 'idna>=3.11' in content, \
"idna should be pinned to >= 3.11 to fix known vulnerabilities"
class TestInputValidation:
"""Test that user input is properly validated."""