agents.writerslogic.com/api/v1/unicode-safety-gate
Scans files or a unified diff for adversarial Unicode with the 19 rules (USC001-USC019) of dcondrey/unicode-safety-check: bidi controls (Trojan Source), invisible and default-ignorable characters, variation-selector and tag-character payloads (Glassworm), private-use code points, homoglyph and mixed-script identifiers, confusable collisions, misplaced BOM and control characters. Returns findings w
POST
https://agents.writerslogic.com/api/v1/unicode-safety-gateUptime75.0% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/unicode-safety-gate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"files":[{"path":"src/auth.js","content":"const isAdmin = false;\nif (isAdmin // check later ) {\n grant();\n}\n"}]}),
});
console.log(await res.json());Example input
{
"files": [
{
"path": "src/auth.js",
"content": "const isAdmin = false;\nif (isAdmin // check later ) {\n grant();\n}\n"
}
]
}