Appsec Config · Injection Sink Scan
Lightweight single-file taint scan for SQL, command and XSS sinks. Docs: https://www.brainiac.software/api/appsec-config/injection-sink-scan
POST https://www.brainiac.software/api/v1/appsec-config/injection-sink-scan
0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"content": "app.get('/u', (req, res) => {\n const id = req.query.id;\n db.query(\"SELECT * FROM users WHERE id = \" + id);\n db.query('SELECT * FROM users WHERE id = ?', [id]);\n exec(`ping ${req.body.host}`);\n res.send('<p>' + req.query.name + '</p>');\n});\n",
"language": "javascript",
"path": "routes/user.js"
}{
"caveat": "pattern-based; false positives and negatives expected",
"findings": [
{
"column": 1,
"line": 5,
"message": "command injection",
"path": "routes/user.js",
"reference": "CWE-78",
"ruleId": "INJ-CMD",
"severity": "critical",
"sink": "exec",
"source": "req.body"
},
{
"column": 1,
"line": 6,
"message": "xss",
"path": "routes/user.js",
"reference": "CWE-79",
"ruleId": "INJ-XSS-RESPONSE",
"severity": "medium",
"sink": "res.send",
"source": "req.query"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination",
"Nothing is cloned, fetched or executed at request time."
],
"scope": "single_file",
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "Caller-supplied files or snippets processed locally",
"status": "ok",
"url": "https://www.brainiac.software/api/v1/appsec-config"
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/appsec-config/injection-sink-scan · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"language": {
"type": "string",
"enum": [
"javascript",
"typescript",
"python"
],
"description": "language supplied by the caller for this operation.",
"example": "javascript"
},
"path": {
"type": "string",
"description": "path supplied by the caller for this operation.",
"example": "routes/user.js"
},
"content": {
"type": "string",
"maxLength": 500000,
"description": "content supplied by the caller for this operation.",
"example": "app.get('/u', (req, res) => {\n const id = req.query.id;\n db.query(\"SELECT * FROM users WHERE id = \" + id);\n db.query('SELECT * FROM users WHERE id = ?', [id]);\n exec(`ping ${req.body.host}`);\n res.send('<p>' + req.query.name + '</p>');\n});\n"
}
},
"required": [
"language",
"content"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://www.brainiac.software/api/v1/appsec-config/injection-sink-scan' \
-H 'content-type: application/json' -d '{"language":"javascript","path":"routes/user.js","content":"app.get('\''/u'\'', (req, res) => {\n const id = req.query.id;\n db.query(\"SELECT * FROM users WHERE id = \" + id);\n db.query('\''SELECT * FROM users WHERE id = ?'\'', [id]);\n exec(`ping ${req.body.host}`);\n res.send('\''<p>'\'' + req.query.name + '\''</p>'\'');\n});\n"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs