N

Netzhandwerker Agent Tools · File Inspect

by Netzhandwerker Agent Tools

POSTBase

$0.002

per call · USD Coin on Base

Bestimmt den tatsaechlichen Dateityp aus der Signatur, erkennt Office- und Archivinhalte am Verzeichnis, meldet Makros, eingebettete ausfuehrbare Dateien, Pfadwechsel im Archiv, JavaScript und Startaktionen in PDF sowie den Widerspruch zwischen Dateiendung und Inhalt. Die Datei wird weder ausgefuehrt noch gespeichert.

Endpoint

POST https://tools.halowerk.com/v1/file/inspect

3

Calls / 30d

3

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://tools.halowerk.com/v1/file/inspect", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "filename": "report.txt",
    "text": "Quarterly report draft for structural inspection."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://tools.halowerk.com/v1/file/inspect" \
  -H "Content-Type: application/json" \
  -d '{"filename":"report.txt","text":"Quarterly report draft for structural inspection."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "bytes": 184213,
  "claimed_extension": "pdf",
  "detected": {
    "extension": "pdf",
    "mime": "application/pdf"
  },
  "embedded": [
    {
      "count": 412,
      "kind": "pdf_objects"
    },
    {
      "count": 3,
      "kind": "pdf_pages"
    }
  ],
  "extension_matches": true,
  "findings": [
    {
      "evidence": "PDF enthaelt JavaScript-Eintrag.",
      "id": "pdf_javascript",
      "severity": "hoch"
    }
  ],
  "magic_hex": "255044462d312e340a25c7ec8fa2",
  "note": "Reine Struktur- und Signaturpruefung. Kein Virenscanner.",
  "verdict": "nur_in_sandkasten"
}

Payment details

Pay to0x2880edfff13100677bf97a3cbdf3bc34771c4e5e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Netzhandwerker Agent Tools & similar services