Malware scan for a file before installing, building, or running it (paid, $0.05)
malware_scanPAID over x402 inside this tool call ($0.05 USDC on Base or Arc): static PolinRider / Contagious Interview malware scan for a file's text before installing, building, or running it. Returns verdict clean/suspicious/dangerous, a 0-100 score, action allow/review/block, summary, top findings and facts. Static only — the file is never executed, scanned in memory, never stored. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"content": "<content>"
},
"name": "malware_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Full file text to scan, max 2 MB. | |
| filename | Yes | File name, e.g. 'postcss.config.mjs'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File scanned | |
| _paid | No | x402 receipt | |
| facts | No | Facts: traits found, trait count, highest weight | |
| score | No | Risk score 0-100 | |
| action | No | allow | review | block | |
| malware | No | Attribution: family, confidence, campaign, basis | |
| summary | No | One-sentence summary | |
| verdict | No | clean | suspicious | dangerous | |
| categories | No | Category scores: loader, marker, obfuscation, execution, exfiltration, extension | |
| confidence | No | high | medium | low | |
| topFindings | No | Top findings, at most 5 |