82trust / 100

File Inspect

by HALOWERK Agent Tools in Documents & files

x402 APIPassing, checked 2 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
105 ms typical, 105 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -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."}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftools.halowerk.com%2Fv1%2Ffile%2Finspect
const res = await pay("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."}),
});
console.log(await res.json());

Example input

{
  "filename": "report.txt",
  "text": "Quarterly report draft for structural inspection."
}

Example output

{
  "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"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402135 ms$0.002
6 h agoPassed402105 ms$0.002
11 h agoPassed40234 ms$0.002