Skip to content

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

@github-actions

Description

@github-actions

Codacy ID: 4cecd4719d63c2ebe50caac0d616310a

File: TransactionProcessor/Handlers/TransactionHandlers.cs
Line: 29
Rule: Security (Error)
Commit: 562575a00b2277ed0bc6c116593ceeb78deca9a4

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

**Code Snippet:**
```csharp
                new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.Auto }); 
```

Metadata

Metadata

Labels

securitySecurity-related issuestaskTasks and work items

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions