PJB3005
dc15c96a32
Validate that content assemblies have a limited list of names.
...
Also, only read assemblies once from disk
(cherry picked from commit 443a8dfca65be7d60c4bd46181b4c749b4756114)
(cherry picked from commit a6a68e8ad91ce19c08c2b9200b4044acbf9c04a2)
(cherry picked from commit 9af18ac5b0b1da56e93e7a259544ff9f13a0cca0)
2025-09-26 13:45:47 +02:00
Pieter-Jan Briers
56e296f977
Security updates ( #5353 )
...
* Fix security bug in WritableDirProvider.OpenOsWindow()
Reported by @NarryG and @nyeogmi
* Sandbox updates
* Update ImageSharp again
(cherry picked from commit 7d778248ee )
(cherry picked from commit f66cda74e95619ddba2221bda644bf4394619805)
(cherry picked from commit db8ba83866c523e08e4fba0b80cd954f4f190613)
(cherry picked from commit 5ea7aa07c26a499a2fb9930a09ef8d13f85494c0)
(cherry picked from commit 229b60b6af8c36b5f741de840d37e6cd95d5760d)
(cherry picked from commit 78be83105d9b4ee605855d2fa12010d1b7bb20b4)
(cherry picked from commit 53adfad7c10a55cca9f993941599d3e7c7718814)
2024-08-11 18:07:05 +02:00
Leon Friedrich
76e5269716
Add Pidgin to sandbox whitelist ( #3668 )
2023-01-16 19:11:28 +11:00
wixoa
64a6fc9b03
Add string HttpUtility.JavaScriptStringEncode(string) to the sandbox ( #3679 )
2023-01-13 12:08:15 +11:00
keronshb
d90a365fa5
Adds TCS to Sandbox ( #3662 )
2023-01-08 16:27:09 +11:00
Pieter-Jan Briers
31d68dcd49
.NET 7 compilation fixes.
2022-11-10 01:26:05 +01:00
wrexbe
f8dc3c8a0e
Add some CodeAnalysis attributes to whitelist ( #2811 )
2022-05-15 12:25:57 +10:00
wrexbe
237f948d99
BinaryPrimitives > BitConverter ( #2813 )
...
* BinaryPrimitives > BitConverter
* Forgot a :
2022-05-12 07:57:21 +02:00
Moony
0932fa0058
Add the concurrent collections and BitConverter to the allow list. ( #2810 )
2022-05-11 00:11:32 +02:00
Moony
a2538d1905
Add the setter for images to the sandbox list ( #2802 )
2022-05-10 09:35:55 +02:00
Vera Aguilera Puerto
aa5bcefaf2
Add System.Threading.Monitor (lock keyword) to sandbox whitelist.
2022-02-26 16:50:41 +01:00
Sam Weaver
6376f7c35d
Add System.Text.Json.JsonPropertyNameAttribute to sandbox allowlist ( #2435 )
2022-01-18 03:14:10 +01:00
Javier Guardia Fernández
60d7430fe7
Whitelist CallerArgumentExpressionAttribute, InterpolatedStringHandlerAttribute and IsByRefLikeAttribute ( #2251 )
2021-11-21 16:04:00 +01:00
Javier Guardia Fernández
6554144c42
Add CollectionsMarshal.AsSpan<T>(List<T>) to the sandbox whitelist ( #2241 )
2021-11-17 22:37:57 +01:00
Javier Guardia Fernández
e78e7bacfe
Add bool Contains(string, System.StringComparison) to the whitelist ( #2230 )
2021-11-14 01:37:33 +01:00
Javier Guardia Fernández
1c8ed1c5b2
Update to .NET 6 and C# 10 ( #2211 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2021-11-09 14:59:19 +01:00
wixoa
fe30d974ca
Add ImageSharp's Image.Load<>() to the sandbox ( #2179 )
2021-10-30 13:26:42 +02:00
ike709
11bc9c0fe4
Adds everything else OpenDream needs to the sandbox ( #2060 )
2021-10-06 22:50:37 +02:00
ike709
3142dcbfda
Adds some OpenDream things to the sandbox whitelist ( #2042 )
2021-09-18 22:40:22 +02:00
Vera Aguilera Puerto
4b6ceed586
Adds FileNotFoundException to the sandbox whitelist.
2021-09-08 09:52:20 +02:00
Pieter-Jan Briers
b27304cc58
Add System.Index and System.Range to sandbox whitelist.
2021-07-17 23:51:57 +02:00
SweptWasTaken
d8d9b271cc
Updates sandbox.yml
2021-04-28 14:31:46 -07:00
ike709
1884bb0067
Fixes DateTimeOffset sandbox whitelisting ( #1706 )
2021-04-16 01:39:18 +02:00
Pieter-Jan Briers
fc6dc6f4e1
Add/fix Rune APIs for sandbox.
2021-03-09 23:24:33 +01:00
Pieter-Jan Briers
e2675271d0
Parallelize assembly sandbox checking harder.
2021-03-03 16:02:12 +01:00
Pieter-Jan Briers
2b4833fc4e
Allow content to read assembly versions in sandbox.
2021-02-24 12:18:44 +01:00
Pieter-Jan Briers
0114bff2fc
Add IFormattable to sandbox whitelist.
2021-02-23 11:27:51 +01:00
Pieter-Jan Briers
864adb7445
Add DateTimeStyles to sandbox.
2021-02-17 11:52:36 +01:00
Pieter-Jan Briers
1b44c1a1b8
Allow NotImplementedException in sandbox.
2021-02-15 17:57:38 +01:00
Pieter-Jan Briers
ffd5c120be
Add PreserveBaseOverridesAttribute to sandbox whitelist.
...
Used by covariant returns.
2021-01-10 22:03:18 +01:00
Paul Ritter
d94f702601
Xaml UI ( #1446 )
...
Co-authored-by: Paul <ritter.paul1+git@googlemail.com >
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2020-12-20 23:52:36 +01:00
Pieter-Jan Briers
ae4c764e4f
Whitelist System.Guid for sandbox.
2020-12-17 16:37:20 +01:00
Pieter-Jan Briers
c335170fc1
Add non-generic System.Nullable to sandbox whitelist.
2020-12-13 21:33:22 +01:00
Pieter-Jan Briers
356e99df34
Allow C# 9 records and init-only properties by sandboxing.
...
The System.Runtime.CompilerServices.IsExternalInit type needed to be added since it is used as a modreq.
2020-11-28 02:34:22 +01:00
Pieter-Jan Briers
ef2ec40e35
Add System.Convert to sandbox whitelist.
...
Only the Base64 and hex string methods. The rest are all stupid and should not be used anyways.
2020-11-28 02:16:39 +01:00
Pieter-Jan Briers
a41f64f30e
sandboxing ( #1408 )
2020-11-26 23:37:31 +01:00