security-preflight

v1.3.1
io.github.jdhart81/security-preflight Checked 1 day ago Published 2 months ago

Static MCP, source-code and injection-indicator checks with redacted signed receipts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

security_preflight Static agent manifest assessment

Run a $1 static Security Preflight and return a signed receipt. Direct MCP requires the checkout caller and verified fixed-order session. The separate x402 HTTP rail retains its existing introductory quote policy. No deployed endpoint is fetched or tested. Importing the receipt into an Agent Market profile is a separate, explicit action.

ParameterTypeDescription
agent_id *stringId of the agent or server being checked.
manifest *objectThe server's manifest: tools, schemas, declared permissions.
payment_refOptional. A paid credit or payment reference, used only after the free daily calls. Leave it out to use the free tier or a seat.
policyOptional. The policy to check against.
request_idOptional. Your id for this call. Repeat it to retry safely: the same request_id is never charged twice.
sample_inputsOptional. Sample inputs to screen.
session_idThe verified checkout session id. Required for direct MCP calls.
subject_profile_sha256Optional. SHA-256 of a subject profile, to bind into the receipt.

scan_source Inline source indicator scan

$1 bounded inline VulnCanon source scan; indicators, not proven exploits. Direct MCP requires the checkout caller and verified fixed-order session. At most 64 KiB, 2000 lines, 4096 characters per line. No model calls, repository fetching or code execution. Returns a redacted signed receipt.

ParameterTypeDescription
agent_id *stringId of the agent or server being checked.
source *stringThe source code to scan, inline. At most 64 KiB.
session_idThe verified checkout session id. Required for direct MCP calls.

screen_injection Text injection indicator screening

$1 batch of 1–20 text samples screened for deterministic injection markers. Direct MCP requires the checkout caller and verified fixed-order session. Maximum 64 KiB total. Heuristic indicators, not calibrated probabilities or a guarantee of safety. No model calls or automatic follow-on purchase.

ParameterTypeDescription
agent_id *stringId of the agent or server being checked.
texts *arrayOne to twenty text samples, 64 KiB in total.
session_idThe verified checkout session id. Required for direct MCP calls.

get_security_receipt Filtered public security receipt

Read an unsigned, filtered public view; retain original delivery for signature verification.

ParameterTypeDescription
receipt_id *stringThe receipt id from a preflight or scan.

describe_agent Security assessment scope and evidence

Describe scope, evidence boundary, inputs, and outputs.