CtrlK
BlogDocsLog inGet started
Tessl Logo

simon/skills

Auto-generated tile from GitHub (10 skills)

92

1.16x
Quality

94%

Does it follow best practices?

Impact

92%

1.16x

Average score across 44 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-36/

{
  "context": "Tests whether the agent correctly implements an OAuth 2.0 Authorization Code flow with PKCE in a Fastify application, using the right packages, plugin structure, state management, and secure token handling patterns.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Correct OAuth package",
      "description": "Uses @fastify/oauth2 (not an alternative like simple-oauth2 or passport)",
      "max_score": 8
    },
    {
      "name": "fastify-plugin wrapper",
      "description": "The OAuth plugin is wrapped with fastify-plugin (fp) so decorations are shared across the Fastify instance",
      "max_score": 10
    },
    {
      "name": "PKCE method S256",
      "description": "Configures pkce: 'S256' in the oauth2 registration options (not 'plain' and not omitted)",
      "max_score": 12
    },
    {
      "name": "State generation with randomUUID",
      "description": "Uses crypto.randomUUID() to generate the state value in generateStateFunction",
      "max_score": 10
    },
    {
      "name": "State stored in session",
      "description": "The generated state is stored in request.session (not a cookie, global variable, or other store)",
      "max_score": 10
    },
    {
      "name": "State validated on callback",
      "description": "Implements checkStateFunction that compares the incoming query state against the session-stored state and calls callback with an error on mismatch",
      "max_score": 10
    },
    {
      "name": "No token logging",
      "description": "The raw access_token value is NOT passed to console.log, fastify.log, or any logger call",
      "max_score": 8
    },
    {
      "name": "Tokens stored in session",
      "description": "Stores access_token and refresh_token in the server-side session (e.g. request.session.set(...)), not in a response body or localStorage",
      "max_score": 10
    },
    {
      "name": "Authorization code flow only",
      "description": "Does NOT configure response_type=token or use the implicit grant flow anywhere",
      "max_score": 10
    },
    {
      "name": "Env vars for credentials",
      "description": "CLIENT_ID, CLIENT_SECRET, and AUTH_SERVER (or equivalent authorization server URL) are read from environment variables, not hardcoded",
      "max_score": 12
    }
  ]
}

evals

README.md

tile.json