Skip to content

Safeturned/Api

Repository files navigation

Safeturned API

Backend API for the Safeturned security scanning service that protects Unturned servers from malicious plugins. This API handles plugin analysis, threat detection, and provides REST endpoints for the web interface.

Try it now: https://safeturned.com - Upload and scan your Unturned plugins instantly!

What it does

This API processes Unturned plugin files (.dll) and scans them for:

  • Backdoors and malicious code
  • Suspicious patterns and functions
  • Security vulnerabilities
  • Code obfuscation attempts

Tech Stack

  • Framework: ASP.NET Core 10.0 with Aspire
  • Database: PostgreSQL, dbup & EF Core migrations
  • Background Jobs: Hangfire
  • Logging: Serilog
  • Error Tracking: Sentry & Bugsink
  • API Documentation: Swagger/OpenAPI
  • Deployment: GitHub Actions builds with Aspire, pushes to GHCR, and deploys via SSH, we do not make it via GH Release for simple!

API Documentation

See our complete API documentation for:

  • Full endpoint reference
  • Request/response examples
  • Authentication details
  • Rate limiting info
  • Live API playground

For Developers

Want to contribute or run locally?

Project Structure

Api/
├── src/                         # Main API project
├── Safeturned.AppHost/          # Aspire host
├── Safeturned.ServiceDefaults/  # Shared services
└── FileChecker/                 # Plugin analysis logic

License

MIT License - see LICENSE file.

Packages

 
 
 

Contributors 3

  •  
  •  
  •