South Star

Upload Risk Inspector Website Security Scanner API

Free tier included · Cybersecurity
Offline security scan of uploaded files for macros, bombs, path traversal, and executables.

Upload Risk Inspector parses uploaded files (docx/xlsx/pptx/pdf/zip/tar, up to 20 MB) to detect security risks without executing or storing anything. It inspects Office documents with oletools (VBA and Excel 4.0/XLM macros, DDE links, embedded OLE objects, encryption), scans PDFs for obfuscated names and compressed streams, and checks archives for bombs, path traversal, and executable entries. The API offers four inspection modes: basic `/inspect`, enhanced `/inspect/full` with risk score (0-100), letter grade, severity breakdown, and remediation recommendations, `/inspect/batch` for up to 100 files per request, and `/inspect/async` for large files with polling via `/inspect/{job_id}`.

It’s fully offline — no external calls, no databases, no request logs. Files are written to a private temp directory only for oletools processing and removed immediately after.

Honest limits: max 20 MB per file; batch max 100 files; async jobs are polled manually; risk scoring is heuristic, not a substitute for AV engines.

Endpoints

MethodPathWhat it does
GET/API metadata: name, version, and paths to the interactive docs and health endpoint.
GET/healthLiveness probe; returns status "ok" while the process is up.
POST/inspectInspect a single uploaded file for macros, active content, archive bombs, path traversal, and executable payloads.
POST/inspect/fullInspect a single file with enhanced results: risk score (0-100), letter grade, severity breakdown, human-readable summary, and remediation recommendations.
POST/inspect/batchInspect up to 100 files in a single request. Returns an array of results, each with risk score, grade, and recommendations.
POST/inspect/asyncStart an asynchronous inspection job for large files. Returns a job_id that can be polled with GET /inspect/{job_id}.
GET/inspect/{job_id}Check the status of an async inspection job. Returns the result when complete.

Quick start

curl -X POST "https://riskinspect.p.rapidapi.com/inspect" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: riskinspect.p.rapidapi.com" \
  -F "file=@document.docx"

FAQ

Does the API execute or store uploaded files?

No. Files are written to a private temp directory only for oletools processing and removed immediately after inspection. Nothing is stored or logged.

What file types and sizes are supported?

docx, xlsx, pptx, pdf, zip, tar — up to 20 MB per file. Batch supports up to 100 files per request.

What’s the difference between /inspect and /inspect/full?

`/inspect` returns basic findings (macros, active content, etc.). `/inspect/full` adds a risk score (0-100), letter grade, severity breakdown, summary, and remediation recommendations.

Can I inspect large files asynchronously?

Yes. Use `/inspect/async` to start a job and poll `/inspect/{job_id}` until the result is ready. Ideal for files near the 20 MB limit.

Try Upload Risk Inspector Website Security Scanner free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs