CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-aws-sdk--client-sts

AWS SDK for JavaScript STS Client for Node.js, Browser and React Native, providing temporary security credentials and role assumption capabilities

92

1.05x
Quality

Pending

Does it follow best practices?

Impact

92%

1.05x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "context": "This evaluation criteria assesses how well the engineer uses the AWS SDK for JavaScript v3's request compression functionality to implement an S3 upload utility. The criteria focuses on proper configuration of the S3 client with compression settings and correct usage of compression-related options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "S3Client instantiation",
      "description": "Creates an S3Client instance from @aws-sdk/client-s3 package with proper region configuration",
      "max_score": 15
    },
    {
      "name": "Request compression configuration",
      "description": "Configures the S3Client with requestHandler that supports compression, specifically using the NodeHttpHandler with requestMinCompressionSizeBytes option or equivalent compression configuration",
      "max_score": 35
    },
    {
      "name": "Compression threshold setting",
      "description": "Properly sets the compression threshold (requestMinCompressionSizeBytes or similar) to control when compression is applied based on payload size, with correct default value of 10240 bytes (10KB)",
      "max_score": 25
    },
    {
      "name": "PutObjectCommand usage",
      "description": "Uses PutObjectCommand from @aws-sdk/client-s3 to upload data to S3 with the Body parameter correctly set to the data payload",
      "max_score": 15
    },
    {
      "name": "Client send method",
      "description": "Invokes the S3 client using the send() method with the PutObjectCommand to execute the upload operation",
      "max_score": 10
    }
  ]
}

tile.json