CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

aimlapi/skills

Skills for AI/ML API, one API for 10,000+ AI models and tools: choosing models, chat on any protocol, images, video and audio jobs, speech, decision models, webhooks, batches, errors, costs and sandbox testing

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

test-vector.mdskills/aimlapi-webhooks/references/

Signature test vector

The published test vector of the Standard Webhooks specification. Any correct verifier, including the scripts in this skill, accepts it. Use it in the user's unit tests.

InputValue
secretMfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw with the whsec_ prefix in front (written apart here so secret scanners do not flag a public test value)
webhook-idmsg_p5jXN8AQM9LWM0D4loKWxJek
webhook-timestamp1614265330
raw body{"test": 2432232314}
webhook-signaturev1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE=

The timestamp is from 2021, so pass a fixed "now" (now=1614265330 in verify_webhook.py, { now: 1614265330 } in verify-webhook.mjs) or the replay check rejects it. Then check that changing one byte of the body, or moving "now" by more than 300 seconds, makes verification fail.

skills

LICENSE

README.md

tile.json