You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Potential security issue > User can connect to the same database with different API keys #62
Totally different API key allows access to an existing account on the same database
Steps to reproduce
Create a database
Create an API key "keyone"
Create an account with ai-featureBase.com using DB ID and keyone secret key
Create a template and node
Second key
Create an API key "keytwo"
Create an account with ai-featurebase.com using DB ID and keytwo secret key
Result: Account two has access to template and Node from keyone
The bigger issue
API private keys are not usually used for anything but the first connection setup. From there, other means are usually used.
Using them for a login is sub-optimal.
Solution
Unless there are compelling reasons to allow a user to generate an API key and access all the templates, nodes and pipelines for a database, then this should be disabled in favour of one of the following:
Activity