81trust / 100

Secret Scan

by HALOWERK Agent Tools in Developer tools

x402 APIPassing, checked 2 h ago

Prueft Text oder Quelltext auf 20 Arten von Geheimnissen: AWS, GitHub, GitLab, Slack, Stripe, OpenAI, Anthropic, Google, SendGrid, Twilio, npm, private Schluesselbloecke, JWT, Zugangsdaten in URLs, Datenbankverbindungen und allgemeine Zuweisungen mit Entropiepruefung. Liefert Regel, Schwere, Zeile, Spalte und eine gekuerzte Vorschau. Fundwerte werden nie vollstaendig zurueckgegeben.

POST https://tools.halowerk.com/v1/secret/scan

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
34 ms typical, 48 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/secret/scan" \
  -H "content-type: application/json" \
  -d '{"text":"const key = \"AKIAIOSFODNN7EXAMPLE\";\nDATABASE_URL=postgres://nutzer:[email protected]:5432/produktion"}'
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%2Fsecret%2Fscan
const res = await pay("https://tools.halowerk.com/v1/secret/scan", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"const key = \"AKIAIOSFODNN7EXAMPLE\";\nDATABASE_URL=postgres://nutzer:[email protected]:5432/produktion"}),
});
console.log(await res.json());

Example input

{
  "text": "const key = \"AKIAIOSFODNN7EXAMPLE\";\nDATABASE_URL=postgres://nutzer:[email protected]:5432/produktion"
}

Example output

{
  "by_rule": {
    "aws_access_key_id": 1,
    "db_connection_string": 1
  },
  "findings": [
    {
      "column": 14,
      "end": 33,
      "entropy": 3.68,
      "line": 1,
      "preview": "AKIA************MPLE",
      "rule": "aws_access_key_id",
      "severity": "kritisch",
      "start": 13
    },
    {
      "column": 14,
      "end": 112,
      "entropy": 4.41,
      "line": 2,
      "preview": "post*********************tion",
      "rule": "db_connection_string",
      "severity": "hoch",
      "start": 49
    }
  ],
  "findings_count": 2,
  "highest_severity": "kritisch",
  "note": "Ein Treffer ist ein Verdacht, kein Beweis fuer Gueltigkeit.",
  "verdict": "nicht_veroeffentlichen"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402153 ms$0.002
5 h agoPassed40234 ms$0.002
9 h agoPassed40232 ms$0.002
14 h agoPassed40248 ms$0.002