Skip to content

[Security] TypeNameHandling All is unsafe and can lead to arbitrary code execution in the context of the process. #433

@github-actions

Description

@github-actions

Codacy ID: f9ac3580a297719a57c884189693c32a

File: TransactionProcessor.Mobile.BusinessLogic/Services/TransactionService.cs
Line: 266
Rule: Security (Error)
Commit: 49d5512a66023b94d865a5e4808833caf02dc94e

Message: TypeNameHandling All is unsafe and can lead to arbitrary code execution in the context of the process.

**Code Snippet:**
```csharp
                String requestSerialised = JsonConvert.SerializeObject(request, new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.All }); 
```

Metadata

Metadata

Labels

securitySecurity-related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions