diff --git a/java/ql/lib/ext/com.amazonaws.auth.model.yml b/java/ql/lib/ext/com.amazonaws.auth.model.yml index 1eb35019a8031..a8785005dd743 100644 --- a/java/ql/lib/ext/com.amazonaws.auth.model.yml +++ b/java/ql/lib/ext/com.amazonaws.auth.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "", "", "Argument[0]", "credential-other", "manual"] - - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "", "", "Argument[1]", "credential-other", "manual"] + - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "", "", "Argument[1]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/com.auth0.jwt.algorithms.model.yml b/java/ql/lib/ext/com.auth0.jwt.algorithms.model.yml index fed9ba75c3052..bf8d1cfbc97fa 100644 --- a/java/ql/lib/ext/com.auth0.jwt.algorithms.model.yml +++ b/java/ql/lib/ext/com.auth0.jwt.algorithms.model.yml @@ -3,9 +3,9 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC256", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC256", "(byte[])", "", "Argument[0]", "credential-other", "manual"] - - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC384", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC384", "(byte[])", "", "Argument[0]", "credential-other", "manual"] - - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC512", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC512", "(byte[])", "", "Argument[0]", "credential-other", "manual"] + - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC256", "(String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC256", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC384", "(String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC384", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC512", "(String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.auth0.jwt.algorithms", "Algorithm", False, "HMAC512", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/com.azure.identity.model.yml b/java/ql/lib/ext/com.azure.identity.model.yml index a3f788695af4b..5ed994f58729e 100644 --- a/java/ql/lib/ext/com.azure.identity.model.yml +++ b/java/ql/lib/ext/com.azure.identity.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.azure.identity", "ClientSecretCredentialBuilder", False, "clientSecret", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.azure.identity", "UsernamePasswordCredentialBuilder", False, "password", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.azure.identity", "UsernamePasswordCredentialBuilder", False, "username", "(String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.azure.identity", "ClientSecretCredentialBuilder", False, "clientSecret", "(String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.azure.identity", "UsernamePasswordCredentialBuilder", False, "password", "(String)", "", "Argument[0]", "credential-password", "manual"] + - ["com.azure.identity", "UsernamePasswordCredentialBuilder", False, "username", "(String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.jcraft.jsch.model.yml b/java/ql/lib/ext/com.jcraft.jsch.model.yml index dffa093cac6fd..01456ca9c2f34 100644 --- a/java/ql/lib/ext/com.jcraft.jsch.model.yml +++ b/java/ql/lib/ext/com.jcraft.jsch.model.yml @@ -3,11 +3,24 @@ extensions: pack: codeql/java-all extensible: sinkModel data: + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(Identity,byte[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,byte[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,byte[],byte[],byte[])", "", "Argument[0]", "credential-username", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,byte[],byte[],byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,byte[],byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,byte[],byte[],byte[])", "", "Argument[3]", "credential-password", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,String,byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,String,byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["com.jcraft.jsch", "JSch", True, "addIdentity", "(String,String,byte[])", "", "Argument[2]", "credential-password", "manual"] - ["com.jcraft.jsch", "JSch", True, "getSession", "(String,String,int)", "", "Argument[1]", "request-forgery", "ai-manual"] - - ["com.jcraft.jsch", "JSch", False, "getSession", "(String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.jcraft.jsch", "JSch", False, "getSession", "(String,String,int)", "", "Argument[0]", "credential-other", "manual"] - - ["com.jcraft.jsch", "Session", False, "setPassword", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.jcraft.jsch", "Session", False, "setPassword", "(byte[])", "", "Argument[0]", "credential-other", "manual"] + - ["com.jcraft.jsch", "JSch", True, "getSession", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.jcraft.jsch", "JSch", True, "getSession", "(String,String,int)", "", "Argument[0]", "credential-username", "manual"] + - ["com.jcraft.jsch", "Session", False, "setPassword", "(String)", "", "Argument[0]", "credential-password", "manual"] + - ["com.jcraft.jsch", "Session", False, "setPassword", "(byte[])", "", "Argument[0]", "credential-password", "manual"] - addsTo: pack: codeql/java-all extensible: summaryModel diff --git a/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml b/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml index 4e72ba7fe0f84..71a6f31466e15 100644 --- a/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml +++ b/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String,String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "setPassword", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "setUser", "(String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "setPassword", "(String)", "", "Argument[0]", "credential-password", "manual"] + - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "setUser", "(String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sshtools.j2ssh.authentication.model.yml b/java/ql/lib/ext/com.sshtools.j2ssh.authentication.model.yml index b0d388ce44bb8..f1f3fbf90f7b1 100644 --- a/java/ql/lib/ext/com.sshtools.j2ssh.authentication.model.yml +++ b/java/ql/lib/ext/com.sshtools.j2ssh.authentication.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sshtools.j2ssh.authentication", "PasswordAuthenticationClient", False, "setPassword", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.sshtools.j2ssh.authentication", "PasswordAuthenticationClient", False, "setUsername", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.sshtools.j2ssh.authentication", "SshAuthenticationClient", False, "setUsername", "(String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.sshtools.j2ssh.authentication", "PasswordAuthenticationClient", False, "setPassword", "(String)", "", "Argument[0]", "credential-password", "manual"] + - ["com.sshtools.j2ssh.authentication", "PasswordAuthenticationClient", True, "setUsername", "(String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.sshtools.j2ssh.authentication", "SshAuthenticationClient", True, "setUsername", "(String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.trilead.ssh2.model.yml b/java/ql/lib/ext/com.trilead.ssh2.model.yml index 4c8c996aaa894..3828cde506b5d 100644 --- a/java/ql/lib/ext/com.trilead.ssh2.model.yml +++ b/java/ql/lib/ext/com.trilead.ssh2.model.yml @@ -3,16 +3,19 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[2]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithNone", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String,String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,File,String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,File,String)", "", "Argument[2]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[2]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "getRemainingAuthMethods", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "isAuthMethodAvailable", "(String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithAgent", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithKeyboardInteractive", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithNone", "(String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,File,String)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[2]", "credential-password", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,File,String)", "", "Argument[2]", "credential-password", "manual"] + - ["com.trilead.ssh2", "Connection", False, "getRemainingAuthMethods", "(String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.trilead.ssh2", "Connection", False, "isAuthMethodAvailable", "(String,String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/javax.crypto.spec.model.yml b/java/ql/lib/ext/javax.crypto.spec.model.yml index 8360358850135..82e3f60e7a86d 100644 --- a/java/ql/lib/ext/javax.crypto.spec.model.yml +++ b/java/ql/lib/ext/javax.crypto.spec.model.yml @@ -15,5 +15,5 @@ extensions: - ["javax.crypto.spec", "DESedeKeySpec", False, "isParityAdjusted", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["javax.crypto.spec", "SecretKeySpec", False, "SecretKeySpec", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] - ["javax.crypto.spec", "SecretKeySpec", False, "SecretKeySpec", "(byte[],int,int,String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[])", "", "Argument[0]", "credential-other", "manual"] - - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[],int,int)", "", "Argument[0]", "credential-other", "manual"] + - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/net.schmizz.sshj.model.yml b/java/ql/lib/ext/net.schmizz.sshj.model.yml index ceece8d57ba0c..3e76cfd8a2d9e 100644 --- a/java/ql/lib/ext/net.schmizz.sshj.model.yml +++ b/java/ql/lib/ext/net.schmizz.sshj.model.yml @@ -3,7 +3,10 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,String)", "", "Argument[1]", "credential-other", "manual"] - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,char[])", "", "Argument[0]", "credential-other", "manual"] - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,char[])", "", "Argument[1]", "credential-other", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "auth", "", "", "Argument[0]", "credential-usernmame", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "", "", "Argument[0]", "credential-username", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPublicKey", "", "", "Argument[0]", "credential-username", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "loadKeys", "", "(String,char[])", "Argument[1]", "credential-password", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "loadKeys", "", "(String,String)", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml b/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml index 7320491ec4f3b..64f862389f77d 100644 --- a/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml +++ b/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String)", "", "Argument[1]", "credential-other", "manual"] - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String,String)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String,String)", "", "Argument[1]", "credential-other", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String,String)", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/org.apache.shiro.mgt.model.yml b/java/ql/lib/ext/org.apache.shiro.mgt.model.yml index aae3c87ecbec9..ed555743b9e97 100644 --- a/java/ql/lib/ext/org.apache.shiro.mgt.model.yml +++ b/java/ql/lib/ext/org.apache.shiro.mgt.model.yml @@ -3,4 +3,4 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["org.apache.shiro.mgt", "AbstractRememberMeManager", False, "setCipherKey", "(byte[])", "", "Argument[0]", "credential-other", "manual"] + - ["org.apache.shiro.mgt", "AbstractRememberMeManager", False, "setCipherKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/org.apache.sshd.client.session.model.yml b/java/ql/lib/ext/org.apache.sshd.client.session.model.yml index 8116e1467d716..fe65ea1d2f42c 100644 --- a/java/ql/lib/ext/org.apache.sshd.client.session.model.yml +++ b/java/ql/lib/ext/org.apache.sshd.client.session.model.yml @@ -3,6 +3,14 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["org.apache.sshd.client.session", "AbstractClientSession", False, "addPasswordIdentity", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.sshd.client.session", "ClientSessionCreator", False, "connect", "(String,SocketAddress)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.sshd.client.session", "ClientSessionCreator", False, "connect", "(String,String,int)", "", "Argument[0]", "credential-other", "manual"] + - ["org.apache.sshd.client.session", "AbstractClientSession", True, "addPasswordIdentity", "(String)", "", "Argument[0]", "credential-password", "manual"] + - ["org.apache.sshd.client.session", "AbstractClientSession", True, "addPublicKeyIdentity", "", "", "Argument[0]", "crypto-parameter", "manual"] + - ["org.apache.sshd.client.session", "AbstractClientSession", True, "setServerKey", "", "", "Argument[0]", "crypto-parameter", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,SocketAddress)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,SocketAddress,AttributeRepository)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,SocketAddress,SocketAddress)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,SocketAddress,AttributeRepository,SocketAddress)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,String,int)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,String,int,AttributeRepository)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,String,int,SocketAddress)", "", "Argument[0]", "credential-username", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", True, "connect", "(String,String,int,AttributeRepository,SocketAddress)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml b/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml index 52ac0241d3a46..dd0d6515636fe 100644 --- a/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml +++ b/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["org.springframework.security.core.userdetails", "User", False, "User", "(String,String,boolean,boolean,boolean,boolean,Collection)", "", "Argument[0]", "credential-other", "manual"] - - ["org.springframework.security.core.userdetails", "User", False, "User", "(String,String,boolean,boolean,boolean,boolean,Collection)", "", "Argument[1]", "credential-other", "manual"] + - ["org.springframework.security.core.userdetails", "User", False, "User", "(String,String,boolean,boolean,boolean,boolean,Collection)", "", "Argument[0]", "credential-username", "manual"] + - ["org.springframework.security.core.userdetails", "User", False, "User", "(String,String,boolean,boolean,boolean,boolean,Collection)", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/sun.net.ftp.model.yml b/java/ql/lib/ext/sun.net.ftp.model.yml index 34bec24c164ee..fb6c8ac755053 100644 --- a/java/ql/lib/ext/sun.net.ftp.model.yml +++ b/java/ql/lib/ext/sun.net.ftp.model.yml @@ -3,8 +3,8 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[],String)", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[])", "", "Argument[0]", "credential-username", "manual"] - - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[],String)", "", "Argument[0]", "credential-username", "manual"] - - ["sun.net.ftp", "FtpDirEntry", False, "setUser", "(String)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp", "FtpClient", True, "login", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp", "FtpClient", True, "login", "(String,char[],String)", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp", "FtpClient", True, "login", "(String,char[])", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp", "FtpClient", True, "login", "(String,char[],String)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp", "FtpDirEntry", True, "setUser", "(String)", "", "Argument[0]", "credential-username", "manual"]