Build full-stack apps on your own infrastructure.
198 matches across 13 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | platform/src/components/secret.ts | 27 | * #### Create a secret |
| MEDIUM | platform/src/components/cloudflare/queue.ts | 123 | * #### Create a Queue |
| MEDIUM | platform/src/components/aws/cognito-user-pool.ts | 515 | * #### Create the user pool |
| MEDIUM | platform/src/components/aws/mysql.ts | 380 | * #### Create the database |
| MEDIUM | platform/src/components/aws/apigateway-websocket.ts | 383 | * #### Create the API |
| MEDIUM | platform/src/components/aws/postgres-v1.ts | 211 | * #### Create the database |
| MEDIUM | platform/src/components/aws/cognito-identity-pool.ts | 101 | * #### Create the identity pool |
| MEDIUM | platform/src/components/aws/efs.ts | 116 | * #### Create the file system |
| MEDIUM | platform/src/components/aws/apigatewayv1.ts | 698 | * #### Create the API |
| MEDIUM | platform/src/components/aws/cluster-v1.ts | 782 | * #### Create a Cluster |
| MEDIUM | platform/src/components/aws/postgres.ts | 382 | * #### Create the database |
| MEDIUM | platform/src/components/aws/redis.ts | 240 | * #### Create the cluster |
| MEDIUM | platform/src/components/aws/bus.ts | 173 | * #### Create a bus |
| MEDIUM | platform/src/components/aws/aurora.ts | 494 | * #### Create an Aurora Postgres cluster |
| MEDIUM | platform/src/components/aws/aurora.ts | 504 | * #### Create an Aurora MySQL cluster |
| MEDIUM | platform/src/components/aws/apigatewayv2.ts | 618 | * #### Create the API |
| MEDIUM | platform/src/components/aws/realtime.ts | 90 | * #### Create a realtime endpoint |
| MEDIUM | platform/src/components/aws/sns-topic.ts | 114 | * #### Create a topic |
| MEDIUM | platform/src/components/aws/opencontrol.ts | 63 | * #### Create an OpenControl server |
| MEDIUM | platform/src/components/aws/vector.ts | 64 | * #### Create the database |
| MEDIUM | platform/src/components/aws/alb.ts | 182 | * #### Create a shared ALB |
| MEDIUM | platform/src/components/aws/app-sync.ts | 466 | * #### Create a GraphQL API |
| MEDIUM | platform/src/components/aws/open-search.ts | 170 | * #### Create the instance |
| MEDIUM | platform/src/components/aws/redis-v1.ts | 209 | * #### Create the cluster |
| MEDIUM | platform/src/components/aws/service.ts | 1538 | * #### Create a Service |
| MEDIUM | platform/src/components/aws/vpc-v1.ts | 108 | * #### Create a VPC |
| MEDIUM | platform/src/components/aws/task.ts | 156 | * #### Create a Task |
| MEDIUM | platform/src/components/aws/auth.ts | 188 | * #### Create an OpenAuth server |
| MEDIUM | platform/src/components/aws/vpc.ts | 315 | * #### Create a VPC |
| MEDIUM | platform/src/components/aws/queue.ts | 309 | * #### Create a queue |
| MEDIUM | sdk/python/src/sst/__init__.py | 40 | # Create a nonce of 12 zero bytes |
| MEDIUM | …/aws-python-huggingface/functions/src/functions/api.py | 9 | # Define the prompt for text generation |
| MEDIUM | examples/aws-rust-loco/config/test.yaml | 9 | # Define the logging format. options: compact, pretty or json |
| MEDIUM | examples/aws-rust-loco/config/development.yaml | 11 | # Define the logging format. options: compact, pretty or json |
| MEDIUM | examples/aws-fastapi/functions/src/functions/api.py | 14 | # Create a route |
| MEDIUM | examples/aws-flutter-web/pubspec.yaml | 53 | # The following section is specific to Flutter packages. |
| MEDIUM | …es/aws-rails/config/initializers/permissions_policy.rb | 3 | # Define an application-wide HTTP permissions policy. For further |
| MEDIUM | …s-rails/config/initializers/content_security_policy.rb | 3 | # Define an application-wide content security policy. |
| MEDIUM | examples/aws-rails/db/schema.rb | 1 | # This file is auto-generated from the current state of the database. Instead |
| MEDIUM | examples/aws-rails/db/schema.rb | 5 | # This file is the source Rails uses to define your schema when running `bin/rails |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/c0_test.go | 61 | // if vt.mode&LNM != LNM { |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/sixel.go | 1 | package tcellterm |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/sixel.go | 21 | // |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/sixel.go | 41 | // |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/sixel.go | 61 | // } |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 41 | // Rob Pike didn't use concurrency since he wanted templates to be able |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 121 | // This action causes the current private flag, intermediate characters, final |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 161 | // maximum of 16 parameters need be stored. If more than 16 parameters |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 241 | csi.Parameters = params |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 281 | // the control string as it arrives. |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 381 | return escape |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 461 | case in(r, 0x3C, 0x3F): |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 621 | return ground |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 681 | } |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 741 | } |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 781 | // The VT500 doesn’t define any function for these control strings, so this |
| LOW | cmd/sst/mosaic/multiplexer/tcell-term/parse.go | 821 | } |
| LOW | platform/src/components/aws/cdn.ts | 441 | domain.apply((domain) => { |
| LOW | platform/src/components/aws/https-redirect.ts | 181 | // based on the sanitized version of the record name (ie. logicalName()). This |
| LOW | platform/src/components/aws/remix.ts | 481 | } catch (e) { |
| LOW | platform/src/components/aws/bucket.ts | 1781 | // |
| LOW | www/generate.ts | 1061 | // "type": "templateLiteral", |
| LOW | www/generate.ts | 1341 | } |
| LOW | www/generate.ts | 1361 | // }, |
| LOW | www/generate.ts | 1381 | // _target: ReflectionSymbolId { |
| LOW | www/generate.ts | 1401 | // type: 'reference', |
| LOW | www/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> |
| LOW | examples/aws-astro-container/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> |
| LOW | examples/aws-monorepo/packages/astro/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> |
| LOW | examples/aws-prisma/tsconfig.json | 1 | { |
| LOW | examples/aws-prisma/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func |
| LOW | examples/aws-prisma/tsconfig.json | 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defau |
| LOW | examples/aws-prisma/tsconfig.json | 61 | // "removeComments": true, /* Disable emitting comments. */ |
| LOW | examples/aws-prisma/tsconfig.json | 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlate |
| LOW | examples/aws-rust-loco/config/test.yaml | 1 | # Loco configuration file documentation |
| LOW | examples/aws-rust-loco/config/test.yaml | 41 | # Duration time in milliseconds. |
| LOW | examples/aws-rust-loco/config/test.yaml | 61 | # - ForegroundBlocking - Workers operate in the foreground and block until tasks are completed. |
| LOW | examples/aws-rust-loco/config/test.yaml | 81 | |
| LOW | examples/aws-rust-loco/config/development.yaml | 1 | # Loco configuration file documentation |
| LOW | examples/aws-rust-loco/config/development.yaml | 41 | # For more: https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/middleware/remote_ip.rb |
| LOW | examples/aws-rust-loco/config/development.yaml | 61 | # Enable/Disable the middleware. |
| LOW | examples/aws-rust-loco/config/development.yaml | 81 | # specifies the worker mode. Options: |
| LOW | examples/aws-rust-loco/config/development.yaml | 101 | # password: |
| LOW | examples/aws-rust-loco/src/tasks/seed.rs | 1 | //! This task implements data seeding functionality for initializing new |
| LOW | examples/aws-rust-loco/src/models/users.rs | 161 | .one(db) |
| LOW | examples/aws-rust-loco/src/models/users.rs | 241 | self.email_verification_sent_at = ActiveValue::set(Some(Local::now().into())); |
| LOW | examples/aws-rust-loco/src/models/users.rs | 261 | Ok(self.update(db).await?) |
| LOW | …ples/aws-postgres-shared-parameter-group/sst.config.ts | 21 | // parameters: [ |
| LOW | examples/aws-dart-api/analysis_options.yaml | 1 | # This file configures the static analysis results for your project (errors, |
| LOW | examples/aws-dart-api/analysis_options.yaml | 21 | |
| LOW | examples/aws-astro-redis/src/env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> |
| LOW | examples/aws-flutter-web/pubspec.yaml | 1 | name: aws_flutter_web |
| LOW | examples/aws-flutter-web/pubspec.yaml | 41 | sdk: flutter |
| LOW | examples/aws-flutter-web/pubspec.yaml | 61 | # To add assets to your application, add an assets section, like this: |
| LOW | examples/aws-flutter-web/pubspec.yaml | 81 | # - asset: fonts/Schyler-Italic.ttf |
| LOW | examples/aws-flutter-web/analysis_options.yaml | 1 | # This file configures the analyzer, which statically analyzes Dart code to |
| LOW | examples/aws-flutter-web/analysis_options.yaml | 21 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file |
| LOW | …lutter-web/linux/flutter/generated_plugin_registrant.h | 1 | // |
| LOW | examples/aws-flutter-web/lib/main.dart | 61 | setState(() { |
| LOW | examples/aws-flutter-web/lib/main.dart | 81 | // TRY THIS: Try changing the color here to a specific color (to |
| 34 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | platform/functions/python-runtime/index.py | 33 | def get_remaining_time_in_millis(self): |
| LOW | platform/src/auto/run.ts | 26 | function addTransformationToRetainResourcesOnDelete() { |
| LOW | platform/src/auto/run.ts | 57 | function addTransformationToAddTags() { |
| LOW | platform/src/auto/run.ts | 68 | function addTransformationToCheckBucketsHaveMultiplePolicies() { |
| LOW | platform/src/components/aws/nextjs.ts | 586 | function detectDefaultOpenNextVersion() { |
| LOW | platform/src/components/aws/nextjs.ts | 946 | function createRevalidationTableSeeder() { |
| LOW | platform/src/components/aws/cognito-user-pool.ts | 627 | function normalizeAliasesAndUsernames() { |
| LOW | platform/src/components/aws/router.ts | 1772 | function createCfRequestDefaultFunction() { |
| LOW | platform/src/components/aws/router.ts | 1865 | function createOriginAccessControl() { |
| LOW | platform/src/components/aws/router.ts | 2872 | function buildOversizedHeadersResponse() { |
| LOW | platform/src/components/aws/cdn.ts | 424 | function createDistributionDeploymentWaiter() { |
| LOW | platform/src/components/aws/aurora.ts | 924 | function createInstanceParameterGroup() { |
| LOW | platform/src/components/aws/aurora.ts | 950 | function createClusterParameterGroup() { |
| LOW | platform/src/components/aws/bucket-notification.ts | 90 | function createNotificationsConfig() { |
| LOW | platform/src/components/aws/service.ts | 2610 | function createAlbTargetsAndEntries( |
| LOW | platform/src/components/aws/task.ts | 432 | function createPublicSecurityGroup() { |
| LOW | platform/src/components/aws/ssr-site.ts | 1636 | function useServerWarmingInjection(streaming?: boolean) { |
| LOW | platform/src/components/aws/helpers/arn.ts | 14 | export function splitQualifiedFunctionArn(arn: string) { |
| LOW | www/generate.ts | 512 | async function generateIndividualExampleDocs() { |
| LOW | www/generate.ts | 648 | function stripTopLevelReturnObject(lines: string[]) { |
| LOW | www/generate.ts | 1058 | function renderTemplateLiteralType(type: TypeDoc.TemplateLiteralType) { |
| LOW | www/generate.ts | 2133 | function renderInterfaceInheritedApiInline(int: TypeDoc.DeclarationReflection) { |
| LOW | www/generate.ts | 2143 | function renderInterfaceInheritedApiSummary(int: TypeDoc.DeclarationReflection) { |
| LOW | www/generate.ts | 2152 | function renderExternalExtendedTypeLinks(int: TypeDoc.DeclarationReflection) { |
| LOW | www/generate.ts | 2165 | function renderJsonParseReviverType() { |
| LOW | www/generate.ts | 2168 | function renderJsonStringifyReplacerType() { |
| LOW | www/generate.ts | 2171 | function renderTransformResourceType() { |
| LOW | www/generate.ts | 2174 | function renderTransformCallbackType() { |
| LOW | www/generate.ts | 2218 | function useClassProviderNamespace(module: TypeDoc.DeclarationReflection) { |
| LOW | sdk/python/tests/test_resource.py | 10 | def test_loads_resources_from_json(self, monkeypatch): |
| LOW | sdk/python/tests/test_resource.py | 19 | def test_merges_with_individual_vars(self, monkeypatch): |
| LOW | sdk/python/tests/test_resource.py | 30 | def test_json_overrides_individual_vars(self, monkeypatch): |
| LOW | sdk/python/tests/test_resource.py | 40 | def test_invalid_json_is_ignored(self, monkeypatch): |
| LOW | sdk/python/tests/test_resource.py | 47 | def test_links_not_active_without_app_or_json(self, monkeypatch): |
| LOW | sdk/python/tests/test_resource.py | 55 | def test_no_links_active_error_with_json(self, monkeypatch): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | platform/src/config.ts | 1305 | * For example, here's how you can run tests before deploying. |
| MEDIUM | platform/src/components/aws/queue.ts | 100 | * For example, here's how you can create a dead-letter queue and link it to the main queue. |
| MEDIUM | examples/aws-efs-surrealdb/sst.config.ts | 35 | * This example is for demonstration purposes only. It's not recommended to use |
| MEDIUM | examples/aws-dart-api/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify |
| MEDIUM | examples/aws-flutter-web/pubspec.yaml | 57 | # included with your application, so that you can use the icons in |
| MEDIUM | examples/aws-efs-sqlite/sst.config.ts | 18 | * This example is for demonstration purposes only. It's not recommended to use |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | platform/src/components/aws/router.ts | 2730 | if (event.request.headers.host.value.includes('cloudfront.net')) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | platform/src/components/aws/remix.ts | 493 | // keeping deployments seamless for users we will create a server bundle |
| MEDIUM | platform/src/components/aws/remix.ts | 535 | // lambda code doesn't appear to guarantee this, we therefore leverage ESBUild's |
| MEDIUM | platform/src/components/aws/react.ts | 460 | // seamless for users we will create a server bundle with all dependencies included. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | examples/aws-lambda-ai-stream/sst.config.ts | 41 | * sst secret set AiGatewayApiKey your-api-key-here |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | platform/functions/python-runtime/index.py | 107 | except Exception as ex: |
| LOW | platform/functions/python-runtime/index.py | 125 | except Exception as ex: |
| LOW | platform/functions/python-runtime/index.py | 132 | except Exception as ex: |
| LOW | platform/functions/python-runtime/index.py | 140 | except Exception as ex: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/aws-remix-stream/app/entry.server.tsx | 17 | export default function handleRequest( |
| LOW | examples/cloudflare-react-router/app/entry.server.tsx | 6 | export default async function handleRequest( |
| LOW | examples/aws-remix-container/app/entry.server.tsx | 17 | export default function handleRequest( |
| LOW | examples/aws-remix-redis/app/entry.server.tsx | 17 | export default function handleRequest( |
| LOW | examples/aws-remix/app/entry.server.tsx | 17 | export default function handleRequest( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | sdk/python/tests/test_resource.py | 2 | |
| LOW | examples/aws-fastapi/core/src/core/__init__.py | 1 | |
| LOW | examples/aws-python/core/src/core/__init__.py | 1 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | sdk/python/src/sst/__init__.py | 26 | # Check if SST_KEY_FILE and SST_KEY are in environment variables |
| LOW | examples/aws-rails/config/environments/production.rb | 82 | # Set this to true and configure the email server for immediate delivery to raise delivery errors. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/aws-apig-auth/sst.config.ts | 33 | audiences: ["user@example.com"], |
| LOW | examples/aws-fastapi/core/src/core/db.py | 4 | "name": "John Doe", |
| LOW | examples/aws-python/core/src/core/db.py | 4 | "name": "John Doe", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/aws-shared-alb/test.sh | 6 | # Usage: |