psalm-baseline-security.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
  3. <file src="apps/admin_audit/lib/Actions/Action.php">
  4. <TaintedHtml>
  5. <code><![CDATA[$params]]></code>
  6. </TaintedHtml>
  7. </file>
  8. <file src="apps/files_external/lib/Config/ConfigAdapter.php">
  9. <TaintedCallable>
  10. <code><![CDATA[$objectClass]]></code>
  11. </TaintedCallable>
  12. </file>
  13. <file src="apps/theming/lib/IconBuilder.php">
  14. <TaintedFile>
  15. <code><![CDATA[$appIcon]]></code>
  16. <code><![CDATA[$imageFile]]></code>
  17. </TaintedFile>
  18. </file>
  19. <file src="lib/base.php">
  20. <TaintedHeader>
  21. <code><![CDATA['Location: ' . $url]]></code>
  22. <code><![CDATA['Location: ' . \OC::$WEBROOT . '/']]></code>
  23. </TaintedHeader>
  24. </file>
  25. <file src="lib/private/App/InfoParser.php">
  26. <TaintedFile>
  27. <code><![CDATA[$file]]></code>
  28. </TaintedFile>
  29. </file>
  30. <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
  31. <TaintedCallable>
  32. <code><![CDATA[$name]]></code>
  33. </TaintedCallable>
  34. </file>
  35. <file src="lib/private/Config.php">
  36. <TaintedHtml>
  37. <code><![CDATA[$this->cache]]></code>
  38. </TaintedHtml>
  39. </file>
  40. <file src="lib/private/EventSource.php">
  41. <TaintedHeader>
  42. <code><![CDATA['Location: ' . \OC::$WEBROOT]]></code>
  43. </TaintedHeader>
  44. </file>
  45. <file src="lib/private/Http/CookieHelper.php">
  46. <TaintedHeader>
  47. <code><![CDATA[$header]]></code>
  48. </TaintedHeader>
  49. </file>
  50. <file src="lib/private/Installer.php">
  51. <TaintedFile>
  52. <code><![CDATA[$baseDir]]></code>
  53. </TaintedFile>
  54. </file>
  55. <file src="lib/private/OCS/ApiHelper.php">
  56. <TaintedHtml>
  57. <code><![CDATA[$body]]></code>
  58. </TaintedHtml>
  59. <TaintedTextWithQuotes>
  60. <code><![CDATA[$body]]></code>
  61. </TaintedTextWithQuotes>
  62. </file>
  63. <file src="lib/private/Route/Router.php">
  64. <TaintedCallable>
  65. <code><![CDATA[$appNameSpace . '\\Controller\\' . basename($file->getPathname(), '.php')]]></code>
  66. </TaintedCallable>
  67. </file>
  68. <file src="lib/private/ServerContainer.php">
  69. <TaintedCallable>
  70. <code><![CDATA[$applicationClassName]]></code>
  71. </TaintedCallable>
  72. </file>
  73. <file src="lib/private/Session/CryptoWrapper.php">
  74. <TaintedCookie>
  75. <code><![CDATA[$this->passphrase]]></code>
  76. </TaintedCookie>
  77. </file>
  78. <file src="lib/private/Setup.php">
  79. <TaintedFile>
  80. <code><![CDATA[$dataDir]]></code>
  81. </TaintedFile>
  82. </file>
  83. <file src="lib/private/Setup/Sqlite.php">
  84. <TaintedFile>
  85. <code><![CDATA[$sqliteFile]]></code>
  86. </TaintedFile>
  87. </file>
  88. <file src="lib/private/legacy/OC_Helper.php">
  89. <TaintedFile>
  90. <code><![CDATA[$dest]]></code>
  91. <code><![CDATA[$dest]]></code>
  92. <code><![CDATA[$dir]]></code>
  93. <code><![CDATA[$dir]]></code>
  94. </TaintedFile>
  95. </file>
  96. <file src="lib/private/legacy/OC_JSON.php">
  97. <TaintedHeader>
  98. <code><![CDATA['Location: ' . \OC::$WEBROOT]]></code>
  99. </TaintedHeader>
  100. <TaintedHtml>
  101. <code><![CDATA[self::encode($data)]]></code>
  102. <code><![CDATA[self::encode($data)]]></code>
  103. </TaintedHtml>
  104. <TaintedTextWithQuotes>
  105. <code><![CDATA[self::encode($data)]]></code>
  106. <code><![CDATA[self::encode($data)]]></code>
  107. </TaintedTextWithQuotes>
  108. </file>
  109. <file src="lib/private/legacy/OC_Template.php">
  110. <TaintedHtml>
  111. <code><![CDATA[$exception->getTraceAsString()]]></code>
  112. </TaintedHtml>
  113. <TaintedTextWithQuotes>
  114. <code><![CDATA[$exception->getTraceAsString()]]></code>
  115. </TaintedTextWithQuotes>
  116. </file>
  117. <file src="lib/public/DB/QueryBuilder/IQueryBuilder.php">
  118. <TaintedSql>
  119. <code><![CDATA[$column]]></code>
  120. </TaintedSql>
  121. </file>
  122. <file src="lib/public/IDBConnection.php">
  123. <TaintedSql>
  124. <code><![CDATA[$sql]]></code>
  125. <code><![CDATA[$sql]]></code>
  126. <code><![CDATA[$sql]]></code>
  127. <code><![CDATA[$sql]]></code>
  128. </TaintedSql>
  129. </file>
  130. <file src="ocs-provider/index.php">
  131. <TaintedHtml>
  132. <code><![CDATA[$controller->buildProviderList()->render()]]></code>
  133. </TaintedHtml>
  134. <TaintedTextWithQuotes>
  135. <code><![CDATA[$controller->buildProviderList()->render()]]></code>
  136. </TaintedTextWithQuotes>
  137. </file>
  138. </files>