CoderHelm Docs
Getting started

Infrastructure vulnerabilities

How CoderHelm checks what runs in your AWS accounts against AWS's security bulletins and the Amazon Linux and Bottlerocket advisories, says which fixes are yours and which AWS makes, and opens the pull request, applies an approved update in AWS, or shows the step.

Security fixes checks the packages your code imports. Infrastructure vulnerabilities checks what you actually run on AWS: the AMIs and kernels of your instances, your EKS clusters and node groups, the container images your services run, your databases, caches and OpenSearch domains, ECS services on Fargate, and the Lambda runtimes in your code. For each one it says whether you have to act, opens the fix pull request, applies a database update in AWS once an admin approves it, or shows the exact step, and marks what AWS patches for you.

It is off for every AWS account until an admin switches it on, in Settings, then Integrations, then AWS, on the account. Findings show in Security, then Infrastructure, and what runs in each account shows in Insights, then Infrastructure, under Running in AWS, beside the code review of your infrastructure code. Each resource there lists its versions, where it is defined, what AWS has pending for it and links to its open findings. Insights, then Analytics, shows the last 30 days: open and fixed findings, the median time to fix, and fix pull requests against steps in AWS.

The Infrastructure page

Four tiles count what Needs action now, the Fix pull requests, the Steps in AWS and what is AWS-managed. Filter the rows by tier or by fix (pull request or in AWS). Each row opens to the fix, where the resource is defined, how to roll it out or what to run in AWS, AWS's date, the advisories and the resources it covers. Admins can open a fix pull request at once with Open fix PR, even when security fixes are in a dry run, and read every account again with Check accounts now. An account whose role lacks the reads shows Update the role in AWS.

The list follows live AWS. The header says when it was last Checked against AWS, and opening the page reads your accounts again when that was more than five minutes ago. A finding leaves the open list when the next full read shows it is over: Fixed when the fix is running, Removed when the resource is gone, and merged into one row when two findings are the same update on one database. Closed findings are under Fixed / Removed. A kind of resource that couldn't be read in full (a failed or throttled call) is never closed on that read.

Where the vulnerabilities come from

These public sources are read once a day for every team. Nothing about your accounts is sent to read them.

SourceWhat it gives
AWS security bulletinsThe feed lists the last 30 days of bulletins. CoderHelm reads each bulletin's page for its per-service section: who has to act for each service (you, you in AWS, AWS, or nobody because it is not affected), the fixed AMI releases, the named service updates, and when patched Fargate tasks started.
Amazon Linux advisories (ALAS)Every Amazon Linux 2023 and Amazon Linux 2 advisory. For kernel and important advisories, the page with the first fixed Amazon Linux 2023 release and the new package versions.
Bottlerocket advisoriesEvery advisory with its fixed kernel and package versions.
Lambda runtimesAWS's deprecation dates for each runtime. A deprecated runtime gets no more patches.
AWS's latest AMI parametersThe current ECS, EKS and Bottlerocket images, which a fix points to.

A source that can't be read, or whose page changed its format, keeps its last good copy. The Sources list at the bottom of Security, then Infrastructure, shows each source (Amazon Linux 2023 and Amazon Linux 2 separately) and your AWS accounts, with when each was last read, and "Last read failed" with the reason when the latest read failed.

What it reads in your account

With the option on, CoderHelm reads each account once a day through the same read-only CoderHelmLogReader role, in the account's region. These are describe and list calls only:

PermissionWhat it is for
ec2:DescribeInstances, ec2:DescribeImagesWhich AMI each instance runs, and the release in the AMI's name. Whether it has a public IP address.
autoscaling:DescribeAutoScalingGroupsWhich instances one fix changes together, and their launch template.
elasticloadbalancing:DescribeTargetGroups, elasticloadbalancing:DescribeLoadBalancersWhether an Auto Scaling group or a service sits behind an internet-facing load balancer.
eks:ListClusters, eks:DescribeCluster, eks:ListNodegroups, eks:DescribeNodegroupEach node group's release version and AMI type, and whether the cluster uses Auto Mode.
rds:DescribeDBClusters, rds:DescribeDBInstances, rds:DescribePendingMaintenanceActionsEngine versions, whether a database is publicly accessible, the settings that tell one database from another in your code (subnet group, parameter group, instance class), and what AWS has pending for it: operating system updates, engine patches and engine upgrades.
elasticache:DescribeServiceUpdates, elasticache:DescribeUpdateActionsThe self-service updates waiting for each cache, and AWS's apply-by date.
es:ListDomainNames, es:DescribeDomainsOpenSearch service software updates.
ecr:DescribeImageScanFindingsECR's own scan results for the images your services run.
cloudformation:DescribeStackResourcesWhich stack made a resource, and the resource's logical id in it, where CloudFormation does not tag the resource. It returns names only: never a template, parameters or outputs. A role without it still works: resources are placed by their tags and by your code alone, and the page names the permission.
ssm:ListInventoryEntriesThe installed kernel, for instances managed by Systems Manager.
ssm:GetParameters, on arn:aws:ssm:*::parameter/aws/service/* onlyAWS's public latest AMI in your region.

ECS services on Fargate are read with the ECS permissions the role already has.

What it never reads:

  • Lambda function settings. lambda:ListFunctions and lambda:GetFunctionConfiguration both return environment variables. CoderHelm finds your Lambda functions and their runtimes in your Terraform instead.
  • User data. It never reads launch template versions or instance attributes.
  • Anything it would change, with one exception you choose: when the role has the ApplyMaintenance parameter on, CoderHelm can apply a database update an admin approved (see Updates CoderHelm applies in AWS). Everything else it opens as a pull request in your code or shows as steps for a person to run.

Switching the option on when the role lacks these reads shows a warning that names the feature, with the one-click update: an AWS admin signs in to the account and creates the update stack, which adds only these permissions. The stack's InfrastructureVulnerabilities parameter is set to on by the link.

On a self-hosted install, accounts you connect with their own role work the same way. The install's own account is different: there is no stack for you to launch, so you turn these reads on from the AWS card instead.

Turning reads on from the AWS card

Settings, Integrations, AWS shows each account's role. What the role still needs is split in two:

  • Needed now: a read-only permission this release uses that the role doesn't have yet.
  • Optional, off, collapsed: infrastructure vulnerabilities, Amazon Inspector findings and AWS Health events. They are never needed, so they never make the card say an update is needed.

For an account you connected with its own role, Turn on in AWS opens the role's one-click update stack with that read's parameter set to on. An AWS admin creates the stack, and the card checks again by itself when you come back.

For a self-hosted install's own account, the card does it for you. Install admins see:

  • Update now to add it when a permission arrives with a newer release. It is the same update as Settings, System, with the same review of anything it would change.
  • Arrives with the update installing now while that update runs.
  • When the running version already grants the permission, the reason it is still missing (the install's permission limit, or a change made to the role in AWS) and the fix.
  • A Turn on or Turn off switch for each optional read. CoderHelm prepares a change to the install's own stack that sets only the InfrastructureVulnerabilities, InspectorFindings or HealthEvents parameter, on the version you run. The card lists the read-only permissions it adds, and nothing changes until you press Confirm and turn on. It runs through the install's update role like a version update, appears in the update history with who confirmed it, and AWS puts everything back if it fails.

Infrastructure vulnerabilities are on by default on the install's own account; Inspector and Health are off. The reads also need the install's permission limit to allow them. When it doesn't yet, the card says so: an AWS admin applies the install's access update once (Settings, System, Permissions), because no update can widen that limit.

Four kinds of fix

Matching is by version, with no model, so it costs no tokens. One row is one fix: one AMI, one node group, one database. However many advisories that fix clears, it is still one row.

FixWhenWhat you get
Fix PRThe update has a code equivalent, and CoderHelm found the code that defines the resource and is sure of it.A pull request that points the AMI at AWS's latest parameter, sets a node group's release_version, changes a Lambda runtime, raises a database's engine version or bumps a Dockerfile FROM. Its description says when the change takes effect, the expected interruption, what must not change, the checks to run first, what the plan must show and what the real rollback is. It goes through the same daily run and token limits as dependency fixes.
Apply in AWSA pending RDS or Aurora action with no code equivalent: an operating system update, an engine patch or upgrade, a serverless platform update.An admin approves it, and CoderHelm applies it through AWS's own pending maintenance action. See Updates CoderHelm applies in AWS. When the role can't apply it, the row names the missing permission and shows the runbook instead.
RunbookThe update can't be expressed in code and CoderHelm doesn't apply it (an ElastiCache service update, OpenSearch service software), or CoderHelm didn't find the code, or isn't sure of it.A card that says why it is a runbook, then the whole runbook: scope and exact identifiers, what it is, the expected interruption, what you need, checks to run first, the backup, the console path, the exact AWS CLI commands with your identifiers and region, how to check it worked, the rollback, and AWS's date. Each fact names the AWS or tool page it came from and the day it was last read. CoderHelm never runs it.
AWS-managedAWS patches it itself.A row with the bulletin's reason, collapsed at the bottom. It is never counted as open and has no tier.

Where the code is

CoderHelm looks in every connected repository, whatever the layout: a dedicated infrastructure repository, Terraform inside an application repository, CDK next to the application code, CloudFormation or SAM templates, a serverless.yml. A file counts as infrastructure code by what is in it, not by its name.

  • CloudFormation, CDK, SAM and Serverless Framework. A resource a stack made carries the stack's name and its logical id, in its tags or in CloudFormation's own answer. CoderHelm finds the template that defines that logical id, or the CDK construct the id was built from.
  • Terraform and OpenTofu. CoderHelm matches by resource type and settings, not by the name alone: the identifier (written out, or built from variables and an environment's variable file), a name prefix with the suffix Terraform generates, the engine, the tags, the subnet group. It follows module calls, so the line it edits may be the caller's input or a line of a .tfvars file. It does not read Terraform state.
  • A name written in a file is the last resort, and is trusted least.

Each row says how the code was found and how sure CoderHelm is: Sure, Likely or Not sure. A match it is not sure of never becomes a pull request: the row says what was found, what else it could be, and stays a runbook.

What a pull request may never do

Before anything else happens to a pull request for an infrastructure fix, CoderHelm reads the change. If it would replace or destroy a resource that holds data (a changed identifier, a removed or renamed resource, a lowered version, an OpenSearch version change without the version upgrade policy, a safeguard taken away), CoderHelm does this, in order:

  1. One fix round on the same branch. It is told each line that would replace, remove or downgrade the resource, and makes the in-place change instead. The change is read again.
  2. If the change still would, the pull request becomes a draft. It is never closed and its branch is kept. The reason and the lines are at the top of its description, it is never marked ready or merged as it is, and the row becomes a runbook, so there is still a correct way to apply the update.
  3. CoderHelm makes no further attempt for that row until the code that defines the resource or the update's target changes.

Order

Several updates pending on one database are separate rows, numbered in the order to do them. When the same resource exists in more than one environment, the non-production one goes first: the production pull request waits until the other is done, unless AWS's own date is within a week.

Urgency uses the same tiers as dependency fixes. Whether the internet can reach the resource takes the place of whether your code reaches the vulnerable part: a public IP address, an internet-facing load balancer or a publicly accessible database.

A finding closes as fixed only when CoderHelm reads the account again and sees the fix running, such as the new AMI on every instance. A merged pull request isn't enough. A finding whose resource is gone closes as removed. That also catches a fix that was merged but never rolled out.

Updates CoderHelm applies in AWS

Some database updates have no code equivalent. For a pending RDS or Aurora action (an operating system update, an engine patch or upgrade, or a serverless platform update), the row offers two buttons to admins:

  • Apply in next maintenance window: AWS applies it in the database's next maintenance window.
  • Apply now: AWS applies it right away.

The copy outside production goes first: a production database waits until its other copy is done. Nothing is applied without an approval. After the approval, the row says where the update stands, from what AWS answered and what the next read saw:

The row saysWhat happened
Approved · waiting its turnApproved, not sent yet: the line under it says what it waits for, such as the copy outside production.
Approved · waiting for accessAWS refused because CoderHelm's role in that account may not apply database maintenance yet. The approval is kept.
Approved · AWS refusedAWS refused for another reason; the line under it has AWS's answer.
Sent to AWS · confirmingAWS accepted the request. It is not applied yet.
Applied, confirmedA read of the database after AWS accepted it no longer lists the action. The finding closes.

Waiting for access. Applying needs one permission on the account's CoderHelmLogReader role, off until an AWS admin of that account allows it. The row then shows Allow database maintenance in AWS: it opens AWS CloudFormation with the role's update stack and its ApplyMaintenance parameter already on. An AWS admin of that account checks the account shown and presses Create stack; nothing else is needed. It allows only rds:ApplyPendingMaintenanceAction, only on that account's own database clusters and instances, and CoderHelm uses it only after an approval. The page checks the role again by itself, and once the role may, CoderHelm sends the approved update to AWS with the approval it already has. If no check notices, CoderHelm asks AWS again a day after the refusal. Until then the row also shows the runbook, so the update can still be applied by hand.

A worked example: bulletin 2026-160-AWS

CVE-2026-98432 is a use-after-free in the Linux kernel's IPv4 TCP code, rated Important. The bulletin's per-service section says who acts. Take a team that runs:

  • an Auto Scaling group of three Amazon Linux 2023 instances on release 2023.12.20261020, behind an internet-facing load balancer;
  • an EKS managed node group on release 1.31.0-20261015;
  • an ECS service on Fargate;
  • a zip Lambda function on python3.12;
  • an Aurora PostgreSQL cluster.

Security, then Infrastructure, shows exactly this:

RowFixWhy
Auto Scaling group web-asgFix PR, P1Amazon Linux 2023 is fixed in release 2023.12.20261102. The pull request changes aws_launch_template.web, then an instance refresh rolls it out. Internet-facing, so P1.
EKS node group prod-ngFix PR, P2EKS optimized AMIs are fixed in v20261031. The pull request sets the node group's release_version.
Aurora cluster ordersApply in AWSRDS lists an operating system update as pending on one of the cluster's instances, with a date. An operating system update can't be expressed in code, so an admin approves it and CoderHelm applies it, even though the cluster is in the team's Terraform. Without ApplyMaintenance on the role, the card shows the runbook with aws rds apply-pending-maintenance-action and that instance's ARN. AWS publishes no CVE list for the update, so the card names none: the bulletin, which tells RDS customers to patch the database OS, is shown as related.
ECS service api on FargateAWS-managedTasks started after the fix run patched, and AWS retires older ones. Forcing a new deployment replaces them sooner.
Lambda thumbsAWS-managedThe bulletin says Lambda is not affected.

The EKS control plane, load balancers and CloudFront are AWS's as well. They aren't listed, because nothing of yours runs there.

Inspector and AWS Health

Both are optional, switched on in Security, then Policy, under Infrastructure, and both depend on something on your AWS account:

  • Amazon Inspector is billed by AWS: about $1.25 per instance a month, $0.09 per container image scan, and $0.30 per Lambda function a month. When you turn it on and CoderHelm may read its findings, they take the place of CoderHelm's own matching for the resources Inspector covers. They also add whether an exploit is known and whether the network can reach the vulnerable port.
  • AWS Health names your own affected resources for some bulletins. Its API needs AWS Business Support or higher. Without that plan, choose EventBridge rule in your account: a CloudFormation template you download adds a rule that forwards the same Health events. With Inspector findings, a row can also say Exploit known or Reachable (Inspector).
Edit on GitHub

On this page