AI Slop Code Risk Monitor

serverless/serverless

SlopCodeMonitor badge for serverless/serverless Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

⚡ Serverless Framework – Effortlessly build apps that auto-scale, incur zero costs when idle, and require minimal maintenance using AWS Lambda and other managed cloud services.

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for serverless/serverless, a JavaScript project with 46,927 GitHub stars. SynthScan examined 502,516 lines of code across 2449 source files, recording 401 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
46.9K
Stars
JavaScript
Language
502.5K
Lines of Code
2.4K
Files
401
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 3.5/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 321 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.2/100 · LOW

Are imports declared and package/API names verified? 42 finding(s).

Agent Over-Engineering Ratio 2.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 161 finding(s).

PR Review Velocity Impact 6.4/100 · LOW

Which changes need focused human review? 401 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 20HIGH 6MEDIUM 26LOW 349

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 401 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators20 hits · 205 pts
SeverityFileLineSnippetContext
CRITICAL…ss/test/unit/lib/plugins/aws/remove/lib/bucket.test.js765 const order = ctx.provider.request.mock.calls.map(([, m]) => m)CODE
CRITICAL…ss/test/unit/lib/plugins/aws/remove/lib/bucket.test.js901 const order = ctx.provider.request.mock.calls.map(([, m, p]) =>CODE
CRITICAL…t/lib/plugins/aws/deploy/lib/cleanup-s3-bucket.test.js146 const batches = ctx.provider.request.mock.calls.map(CODE
CRITICAL…unit/lib/plugins/aws/web-apps/compilers/domain.test.js240 template.Resources.ShopDotexampleDotcomCloudFrontDistribution.Properties.DistributionConfig.CacheBehaviors.map(CODE
CRITICAL…unit/lib/plugins/aws/web-apps/compilers/domain.test.js255 template.Resources.ShopDotexampleDotcomCloudFrontDistribution.Properties.DistributionConfig.Origins.map(CODE
CRITICAL…ib/plugins/aws/package/compile/events/schedule.test.js639 resources.IamRoleLambdaExecution.Properties.AssumeRolePolicyDocument.Statement.find(CODE
CRITICAL…/serverless/lib/classes/config-schema-handler/index.js169 const idx = this.schema.properties.build.anyOf.findIndex(CODE
CRITICAL⚡packages/serverless/lib/plugins/python/lib/zip.js282 this.serverless.service.package.patterns.push('.requirements.zip')CODE
CRITICALpackages/serverless/lib/plugins/python/lib/zip.js104 this.serverless.service.package.patterns.push('unzip_requirements.py')CODE
CRITICAL…serverless/lib/plugins/aws/appsync/resources/Schema.js58 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…/lib/plugins/aws/appsync/resources/PipelineFunction.js15 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…erless/lib/plugins/aws/appsync/resources/JsResolver.js12 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…erless/lib/plugins/aws/appsync/resources/JsResolver.js46 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…erless/lib/plugins/aws/appsync/resources/JsResolver.js52 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…rverless/lib/plugins/aws/appsync/resources/Resolver.js79 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…rverless/lib/plugins/aws/appsync/resources/Resolver.js99 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…s/lib/plugins/aws/appsync/resources/MappingTemplate.js11 throw new this.api.plugin.serverless.classes.Error(CODE
CRITICAL…ess/lib/plugins/aws/package/compile/events/schedule.js394 resources.IamRoleLambdaExecution.Properties.AssumeRolePolicyDocument.Statement.find(CODE
CRITICAL…/lib/plugins/aws/package/compile/events/cloud-front.js796 Resources.IamRoleLambdaExecution.Properties.AssumeRolePolicyDocument.Statement.find(CODE
CRITICAL…aws/package/compile/events/api-gateway/lib/rest-api.js24 endpointType = this.serverless.service.provider.endpointType.toUpperCase()CODE
Over-Commented Block134 hits · 134 pts
SeverityFileLineSnippetContext
LOWbinary-installer/e2e/concurrent_install_test.go1//go:build e2eCOMMENT
LOWbinary-installer/src/version.go201// underscores.COMMENT
LOWbinary-installer/src/version_test.go601}COMMENT
LOWdocs/sf/providers/aws/guide/building.md41COMMENT
LOWdocs/sf/providers/aws/guide/building.md61 #COMMENT
LOWdocs/sf/providers/aws/guide/building.md81 # This property can be set to a different number if you wish to limit theCOMMENT
LOWdocs/sf/providers/aws/guide/serverless.yml.md21```ymlCOMMENT
LOWdocs/sf/providers/aws/guide/serverless.yml.md281 # Set how Lambda controls all functions runtime. AWS default is auto; this can either be 'auto' or 'onFunctionUpdate'.COMMENT
LOWdocs/sf/providers/aws/guide/serverless.yml.md321 # Name of an existing bucket to use. Optional. (default: created by serverless)COMMENT
LOWdocs/sf/providers/aws/guide/serverless.yml.md541 # RequiredCOMMENT
LOWdocs/sf/providers/aws/guide/serverless.yml.md721 # The Application Log Level to be used, case-insensitive. Functions take it only when `logFormat` is `JSON`; web aCOMMENT
LOWdocs/sf/providers/aws/guide/serverless.yml.md741 # Enable REST API logsCOMMENT
LOW.devcontainer/devcontainer.json21 // "forwardPorts": [],COMMENT
LOWrelease-scripts/scripts/publishReleaseToMongo.js1import { MongoClient, ServerApiVersion } from 'mongodb'COMMENT
LOWpackages/util/src/logger/index.js21renderer.isInitialized = falseCOMMENT
LOWpackages/util/src/logger/index.js101//COMMENT
LOW…/test/unit/lib/util/logger-progress-plain-path.test.js1// Guards the plain (non-animated) progress path. When the spinner cannot renderCOMMENT
LOW…less/test/unit/lib/plugins/agent/build-clients.test.js1import { describe, test, expect, jest, beforeEach } from '@jest/globals'COMMENT
LOW…serverless/test/unit/lib/plugins/agent/inspect.test.js1import { describe, test, expect, jest, beforeEach } from '@jest/globals'COMMENT
LOW…/serverless/test/unit/lib/plugins/aws/provider.test.js201 // Note: getCredentials uses `resolveCredentials` which is complex and uses the chain.COMMENT
LOW…erverless/test/unit/lib/plugins/aws/mcp/schema.test.js1import { jest } from '@jest/globals'COMMENT
LOW…verless/test/unit/lib/plugins/aws/mcp/validate.test.js521 code: 'MCP_AUTHORIZER_INVALID',COMMENT
LOW…/lib/uses-dedicated-per-function-role.lockstep.test.js1'use strict'COMMENT
LOW…aws/package/lib/iam-empty-collection-invariant.test.js1'use strict'COMMENT
LOW…aws/package/lib/iam-empty-collection-invariant.test.js561 provider.naming.getNormalizedFunctionName('kitchenSink') +COMMENT
LOW…s/serverless/test/unit/lib/plugins/prune/index.test.js1601 // is the only candidate. It must be kept via the mapped basenameCOMMENT
LOW…lib/plugins/esbuild/package-patterns-filtering.test.js601 expect(traces).toHaveLength(1)COMMENT
LOW…less/test/unit/lib/plugins/esbuild/build-dedup.test.js221 expect([...plugin.serverless.builtFunctions]).toEqual(['getItems'])COMMENT
LOW…ss/test/unit/lib/plugins/esbuild/project-sweep.test.js1101 it('MISSES a directory import whose own name has a dot (known limitation)', () => {COMMENT
LOWpackages/serverless/lib/plugins/agent/inspect.js1// The `serverless agent inspect` command plugin: the integration keystone thatCOMMENT
LOWpackages/serverless/lib/plugins/agent/lib/select.js1// Selection: given the discovered-resource index (discover-resources.js'sCOMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js1// The client factory: supplies the real `invoke(awsService, commandName,COMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js21// })COMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js41// instance is constructed per (awsService, region) and cached for the lifeCOMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js61// bucket's remaining calls. A `LocationConstraint` of '' or null meansCOMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js121import * as KinesisSdk from '@aws-sdk/client-kinesis'COMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js281 */COMMENT
LOW…ages/serverless/lib/plugins/agent/lib/build-clients.js361 // denied location call nuking every sibling call for the bucket. TheCOMMENT
LOW…serverless/lib/plugins/agent/lib/discover-resources.js1// Discovery: turns a deployed CloudFormation stack into the flat resourceCOMMENT
LOWpackages/serverless/lib/plugins/agent/lib/run-calls.js1// The call runner: given a registry entry (see lib/registry/index.js) plus aCOMMENT
LOWpackages/serverless/lib/plugins/agent/lib/run-calls.js21// This cleanly decouples this runner from build-clients.js's client factory:COMMENT
LOWpackages/serverless/lib/plugins/agent/lib/run-calls.js81COMMENT
LOWpackages/serverless/lib/plugins/agent/lib/run-calls.js301COMMENT
LOWpackages/serverless/lib/plugins/agent/lib/run-calls.js321// result stored under that key (e.g. apigatewayv2 `routeResponses` fans outCOMMENT
LOWpackages/serverless/lib/plugins/agent/lib/run-calls.js401// ---------------------------------------------------------------------------COMMENT
LOW…verless/lib/plugins/agent/lib/registry/apigatewayv2.js41 // needs BOTH the outer ApiId AND a per-route RouteId, so it's a cross-callCOMMENT
LOW…ges/serverless/lib/plugins/agent/lib/registry/index.js1// The resource registry: the single source of truth mapping aCOMMENT
LOW…kages/serverless/lib/plugins/agent/lib/registry/iam.js21 // Field on the ListRolePolicies response holding the names to fanCOMMENT
LOW…kages/serverless/lib/plugins/agent/lib/registry/iam.js41 // {COMMENT
LOW…less/lib/plugins/agent/lib/registry/lambda-microvms.js1// Registry entries for the `lambda-microvms` AWS service (aliasCOMMENT
LOW…ages/serverless/lib/plugins/agent/lib/registry/logs.js1// Registry entry for the `logs` AWS service (CloudWatch Logs).COMMENT
LOW…erverless/lib/plugins/agent/lib/registry/lambda-web.js1// Registry entries for the `lambda-web` AWS service -- the Lambda WebCOMMENT
LOW…lugins/aws/sandboxes/dev/api-emulator/control-plane.js281 // Lead with the short tag (matches this VM's streamed log prefix, so the two correlate); keepCOMMENT
LOW…ugins/aws/sandboxes/dev/api-emulator/container-logs.js1'use strict'COMMENT
LOW…/lib/plugins/aws/sandboxes/compilation/orchestrator.js161 // For s3://: use the literal URI string.COMMENT
LOW…ss/lib/plugins/aws/bedrock-agentcore/docker/builder.js141 */COMMENT
LOW…verless/lib/plugins/aws/bedrock-agentcore/dev/index.js61 #roleArnCOMMENT
LOW…ss/lib/plugins/aws/utils/get-s3-endpoint-for-region.js1export default function getS3EndpointForRegion(region) {COMMENT
LOWpackages/serverless/lib/plugins/aws/mcp/index.js41 // the entry is a build product, absent from a fresh checkout untilCOMMENT
LOWpackages/serverless/lib/plugins/aws/mcp/index.js101 // The window for the handler swap opens the moment esbuild's packagingCOMMENT
74 more matches not shown…
Hyper-Verbose Identifiers123 hits · 123 pts
SeverityFileLineSnippetContext
LOWpackages/util/src/proxy/aws.js53function shouldAwsEndpointsBypassProxy() {CODE
LOW…/serverless/test/unit/lib/plugins/agent/select.test.js512 async function discoverWithMicrovmResources() {CODE
LOW…/serverless/test/unit/lib/plugins/agent/select.test.js595 async function discoverWithWebAppResources() {CODE
LOW…less/test/unit/lib/plugins/agent/build-clients.test.js19function makeFakeEngineClientClass(name, clientProp = 'client') {CODE
LOW…s/aws/sandboxes/dev/api-emulator/control-plane.test.js30function recordingContainerManager(containers) {CODE
LOW…plugins/aws/sandboxes/compilation/orchestrator.test.js419 async function orchestrateWithOperatorRole(operatorRole) {CODE
LOW…lib/plugins/esbuild/package-patterns-filtering.test.js752 function makeServiceDirWithUnreadableExcludedEntry() {CODE
LOW…plugins/esbuild/nobundle-partition-concurrency.test.js57function makeThreePartitionService() {CODE
LOWpackages/serverless/lib/plugins/python/lib/poetry.js12async function pyprojectTomlToRequirements(modulePath, pluginInstance) {CODE
LOWpackages/serverless/lib/plugins/python/lib/pip.js29function prependUvBootstrapCommands(pipCmds) {CODE
LOWpackages/serverless/lib/plugins/python/lib/pip.js612function getPackageNameFromPyproject(packagePath) {CODE
LOWpackages/serverless/lib/plugins/python/lib/pip.js632function getLocalPackagesFromRequirements(requirementsPath, servicePath) {CODE
LOWpackages/serverless/lib/plugins/python/lib/pip.js801async function installRequirementsIfNeeded(CODE
LOWpackages/serverless/lib/plugins/python/lib/pipenv.js138function removeEditableFlagFromRequirementsString(requirementBuffer) {CODE
LOWpackages/serverless/lib/plugins/python/lib/shared.js14function checkForAndDeleteMaxCacheVersions({ serverless, options, log }) {CODE
LOWpackages/serverless/lib/plugins/python/lib/shared.js98function getRequirementsWorkingPath(CODE
LOWpackages/serverless/lib/plugins/agent/lib/select.js89function resolveSelectedCategories(options) {CODE
LOWpackages/serverless/lib/plugins/agent/lib/select.js179function computeInlineFunctionRole(selected) {CODE
LOWpackages/serverless/lib/plugins/observability/index.js11export function determineObservabilityProviderFromConfig(CODE
LOWpackages/serverless/lib/plugins/observability/index.js43function determineStageSpecificObservabilityProvider(observability, app) {CODE
LOW…erverless/lib/plugins/observability/dashboard/index.js10export function isDashboardObservabilityEnabled(configurationInput, stageName) {CODE
LOW…ess/lib/plugins/aws/sandboxes/utils/failure-context.js14export function getSandboxVersionLimitContext(serverless, event) {CODE
LOW…verless/lib/plugins/aws/sandboxes/dev/iam-emulation.js19function findDevPolicyStatementIndex(trustPolicy) {CODE
LOW…ib/plugins/aws/domains/models/web-app-domain-config.js36export function getApiGatewayOnlyFieldMessages(config, path) {CODE
LOW…ib/plugins/aws/domains/models/web-app-domain-config.js51export function getMissingHostnameMessage(path, config) {CODE
LOW…ib/plugins/aws/domains/models/web-app-domain-config.js63export function getUnremovedRecordsMessage(config) {CODE
LOW…less/lib/plugins/aws/bedrock-agentcore/utils/naming.js32export function getNormalizedResourceName(resourceName) {CODE
LOW…erless/lib/plugins/aws/bedrock-agentcore/utils/tags.js18export function tagsToCloudFormationArray(tags) {CODE
LOW…erless/lib/plugins/aws/bedrock-agentcore/utils/tags.js28export function cloudFormationArrayToTags(tagsArray) {CODE
LOW…less/lib/plugins/aws/bedrock-agentcore/iam/policies.js828export function generateCodeInterpreterRole(name, config, context) {CODE
LOW…s/lib/plugins/aws/bedrock-agentcore/dev/credentials.js59export function getCredentialExpirationMinutes(credentials) {CODE
LOW…s/lib/plugins/aws/bedrock-agentcore/dev/credentials.js76export function findDevPolicyStatementIndex(trustPolicy) {CODE
LOW…s/lib/plugins/aws/bedrock-agentcore/dev/credentials.js224export async function resolveCallerPrincipalArn(stsArn, getRoleArn) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/runtime.js112function buildNetworkConfiguration(network = {}) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/runtime.js134function buildAuthorizerConfiguration(authorizer) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/runtime.js172function buildLifecycleConfiguration(lifecycle) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/runtime.js196function buildProtocolConfiguration(protocol) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/runtime.js214function buildEnvironmentVariables(environment) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/runtime.js224function buildRequestHeaderConfiguration(requestHeaders) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/gateway.js36export function buildGatewayAuthorizerConfiguration(authConfig) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/gateway.js80export function buildGatewayProtocolConfiguration(protocolConfig) {CODE
LOW…lib/plugins/aws/bedrock-agentcore/compilers/browser.js35export function buildBrowserNetworkConfiguration(network = {}) {CODE
LOW…ins/aws/bedrock-agentcore/compilers/codeInterpreter.js33export function buildCodeInterpreterNetworkConfiguration(network = {}) {CODE
LOW…ugins/aws/bedrock-agentcore/compilers/gatewayTarget.js84export function buildCredentialProviderConfigurations(credentials) {CODE
LOW…ugins/aws/bedrock-agentcore/compilers/gatewayTarget.js146export function transformSchemaToCloudFormation(schema) {CODE
LOW…gins/aws/bedrock-agentcore/compilation/orchestrator.js48export function compileAgentCoreResources(config) {CODE
LOW…gins/aws/bedrock-agentcore/compilation/orchestrator.js854export function compileCodeInterpreterResources(CODE
LOW…s/serverless/lib/plugins/aws/custom-resources/index.js16async function addCustomResourceToService(CODE
LOW…resources/resources/cognito-user-pool/lib/user-pool.js19function getUpdateConfigFromCurrentSetup(currentSetup) {CODE
LOW…m-resources/resources/event-bridge/lib/event-bridge.js87async function updateTargetConfiguration(config) {CODE
LOW…m-resources/resources/event-bridge/lib/event-bridge.js126async function removeTargetConfiguration(config) {CODE
LOW…kages/serverless/lib/plugins/aws/lib/invoke-options.js41export function assertInvokeOptionsAvailable(options) {CODE
LOW…ss/lib/plugins/aws/lib/function-replacement-context.js16export function getFunctionReplacementContext(event) {CODE
LOW…ess/lib/plugins/aws/lib/get-function-artifact-paths.js29export async function resolveFunctionArtifactPaths(serverless, packagePath) {CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py117 def get_remaining_time_in_millis(self):CODE
LOW…erverless/lib/plugins/aws/web-apps/compilers/domain.js41export function getDistributionLogicalIds(hostname) {CODE
LOW…erverless/lib/plugins/aws/web-apps/compilers/domain.js184function compileOriginAccessControl({ functionName, region }) {CODE
LOW…erverless/lib/plugins/aws/package/compile/functions.js1470function extractLayerConfigurationsFromFunction(CODE
LOW…kage/compile/events/api-gateway/lib/usage-plan-keys.js4function createUsagePlanKeyResource(CODE
LOW…ge/compile/events/api-gateway/lib/hack/update-stage.js118function resolveApiGatewayResource(resources) {CODE
63 more matches not shown…
Decorative Section Separators22 hits · 66 pts
SeverityFileLineSnippetContext
MEDIUM…less/test/unit/lib/plugins/aws/sandboxes/index.test.js492// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…less/test/unit/lib/plugins/aws/sandboxes/index.test.js497// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…less/test/unit/lib/plugins/aws/sandboxes/index.test.js549 // ── Minimal sandbox (mini) ──────────────────────────────────────────────────COMMENT
MEDIUM…less/test/unit/lib/plugins/aws/sandboxes/index.test.js676 // ── Full sandbox (full) ─────────────────────────────────────────────────────COMMENT
MEDIUM…less/test/unit/lib/plugins/aws/sandboxes/index.test.js849 // ── Cross-cutting template shape ────────────────────────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js143 // ── Base image ──────────────────────────────────────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js149 // ── Code artifact (compute only — no S3 upload) ─────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js182 // ── IAM roles ────────────────────────────────────────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js202 // ── VPC / NetworkConnector ───────────────────────────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js225 // ── Compile image ────────────────────────────────────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js268 // ── Merge into template ──────────────────────────────────────────────────COMMENT
MEDIUM…/lib/plugins/aws/sandboxes/compilation/orchestrator.js326 // ── Tags ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js188 // ── 1. Deploy ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js212 // ── 2. Validate resources ──────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js277 // ── 3. Observability ────────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js304 // ── 3b. Kitchen sink ───────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js329 // ── 4. Invoke ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js447 // ── 5. invoke --sandbox ────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js475 // ── 6. logs --sandbox ──────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js500 // ── 7. IAM emulation ──────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js556 // ── 8. Remove ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…/sf-core/tests/integration/sandboxes/sandboxes.test.js558 // ── Image versions and artifacts ───────────────────────────────────────────COMMENT
Structural Annotation Overuse33 hits · 50 pts
SeverityFileLineSnippetContext
LOWdocs/sf/providers/aws/guide/domains.md530### Step 1: Create SSL Certificate ManuallyCOMMENT
LOWdocs/sf/providers/aws/guide/domains.md539### Step 2: Configure Serverless FrameworkCOMMENT
LOWdocs/sf/providers/aws/guide/domains.md565### Step 3: Create DNS Records ManuallyCOMMENT
LOWdocs/sf/guides/dashboard/cicd/README.md38### Step 1: Link your AWS AccountCOMMENT
LOWdocs/sf/guides/dashboard/cicd/README.md44### Step 2: Connect to GithubCOMMENT
LOWdocs/sf/guides/dashboard/cicd/README.md59### Step 3: Deploy from a Github branchCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/clean.js13 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/clean.js27 // Step 2: Separate functions by packaging modeCOMMENT
LOW⚡packages/serverless/lib/plugins/python/lib/clean.js47 // Step 3: Add cleanup artifacts for individually packaged functionsCOMMENT
LOW⚡packages/serverless/lib/plugins/python/lib/clean.js53 // Step 4: Add cleanup artifacts for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js926 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js940 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js960 // Step 3: Install requirements for individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js1003 // Step 4: Install requirements for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js1029 // Step 5: Install requirements for agents (always ARM64, always individual)COMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js118 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js132 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js152 // Step 3: Handle module relocation for individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js169 // Step 4: Inject requirements into individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js190 // Step 5: Inject requirements into shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js210 // Step 6: Inject requirements into agent packagesCOMMENT
LOW⚡packages/serverless/lib/plugins/python/lib/zip.js273 // Step 4: Pack requirements for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js31 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js45 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js69 // Step 3: Add helper for individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js91 // Step 4: Add helper for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js120 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js134 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js154 // Step 3: Remove helper from individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js177 // Step 4: Remove helper from shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js201 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js215 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js235 // Step 3: Pack requirements for individually packaged functionsCOMMENT
Verbosity Indicators27 hits · 40 pts
SeverityFileLineSnippetContext
LOWpackages/serverless/lib/plugins/python/lib/clean.js13 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/clean.js27 // Step 2: Separate functions by packaging modeCOMMENT
LOW⚡packages/serverless/lib/plugins/python/lib/clean.js47 // Step 3: Add cleanup artifacts for individually packaged functionsCOMMENT
LOW⚡packages/serverless/lib/plugins/python/lib/clean.js53 // Step 4: Add cleanup artifacts for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js926 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js940 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js960 // Step 3: Install requirements for individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js1003 // Step 4: Install requirements for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/pip.js1029 // Step 5: Install requirements for agents (always ARM64, always individual)COMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js118 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js132 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js152 // Step 3: Handle module relocation for individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js169 // Step 4: Inject requirements into individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js190 // Step 5: Inject requirements into shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/inject.js210 // Step 6: Inject requirements into agent packagesCOMMENT
LOW⚡packages/serverless/lib/plugins/python/lib/zip.js273 // Step 4: Pack requirements for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js31 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js45 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js69 // Step 3: Add helper for individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js91 // Step 4: Add helper for shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js120 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js134 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js154 // Step 3: Remove helper from individually packaged functionsCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js177 // Step 4: Remove helper from shared packageCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js201 // Step 1: Get all Python functions and set default moduleCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js215 // Step 2: Separate functions by packaging modeCOMMENT
LOWpackages/serverless/lib/plugins/python/lib/zip.js235 // Step 3: Pack requirements for individually packaged functionsCOMMENT
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…ess/lib/plugins/aws/dev/local/clients/python_client.py91except ValueError:CODE
HIGH…ess/lib/plugins/aws/dev/local/clients/python_client.py437except Exception:CODE
HIGH…ess/lib/plugins/aws/dev/local/clients/python_client.py441except Exception:CODE
HIGH…ess/lib/plugins/aws/dev/local/clients/python_client.py365except OSError:CODE
HIGH…ess/lib/plugins/aws/dev/local/clients/python_client.py511except GONE:CODE
HIGH…ib/plugins/aws/invoke-local/runtime-wrappers/invoke.py92except (OSError, subprocess.CalledProcessError):CODE
Unused Imports21 hits · 21 pts
SeverityFileLineSnippetContext
LOW…_level_individually_all_individual/module2/handler2.py1CODE
LOW…_level_individually_all_individual/module1/handler1.py1CODE
LOW…unction_level_individually_subdirs/module2/handler2.py1CODE
LOW…unction_level_individually_subdirs/module1/handler1.py1CODE
LOW…re/tests/python/tests/individually/module2/handler2.py1CODE
LOW…re/tests/python/tests/individually/module1/handler1.py1CODE
LOW…sts/function_level_individually_slim/handler_shared.py1CODE
LOW…function_level_individually_slim/handler_individual.py1CODE
LOW…/tests/function_level_individually_mixed_rt/handler.py1CODE
LOW…unction_level_individually_mixed_pkg/handler_shared.py1CODE
LOW…ion_level_individually_mixed_pkg/handler_individual.py1CODE
LOW…n/tests/individually_mixed_runtime/module2/handler2.py1CODE
LOW…unction_level_individually_zip_mixed/handler_shared.py1CODE
LOW…ion_level_individually_zip_mixed/handler_individual.py1CODE
LOW…hon/tests/function_level_individually_basic/handler.py1CODE
LOW…ore/tests/python/tests/mixed_runtime_shared/handler.py1CODE
LOW…function_level_individually_override/handler_shared.py1CODE
LOW…tion_level_individually_override/handler_individual.py1CODE
LOW…tests/function_level_individually_zip_basic/handler.py1CODE
LOW…tests/function_level_individually_multiple/handler2.py1CODE
LOW…tests/function_level_individually_multiple/handler1.py1CODE
Excessive Try-Catch Wrapping10 hits · 12 pts
SeverityFileLineSnippetContext
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py183 except Exception:CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py244 except Exception as error:CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py288 except Exception as error:CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py295 except Exception as error:CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py316 except Exception as error:CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py437 except Exception:CODE
LOW…ess/lib/plugins/aws/dev/local/clients/python_client.py441 except Exception:CODE
MEDIUM…ess/lib/plugins/aws/dev/local/clients/python_client.py180def text_of(value):CODE
LOW…ests/integration/mcp-cognito-prerequisite/template.yml182 except Exception as error:CODE
MEDIUM…ests/integration/mcp-cognito-prerequisite/template.yml166def handler(event, context):CODE
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdocs/sf/providers/aws/guide/serverless.yml.md37# This is the name of your project/app/service/microservice (it's scope is up to you).COMMENT
MEDIUMpackages/serverless/lib/plugins/agent/lib/select.js6// Replaces the stale single-axis scaffold (select-categories.js), whichCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ages/sf-core-installer/tests/e2e/proxy-only-network.sh8# Set E2E_LOG_DIR to keep the proxy and registry logs.COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…/lib/plugins/aws/package/compile/events/cloud-front.js380 "Don't forget to manually remove your Lambda@Edge functions ",CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…-core/tests/unit/utils/fs/get-config-file-path.test.js9 await writeFile(path.join(dir, fileName), 'placeholder')CODE