
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@medplum/cdk
Advanced tools
CDK scripts to setup the full stack:
Medplum uses npm workspaces for a monorepo configuration.
See Developer Setup for cloning the repository and installing dependencies.
First, create a configuration file.
Next, it is strongly recommended to diff
changes before deploying.
npx cdk diff -c config=my-config.json
npx cdk deploy -c config=my-config.json
npx cdk destroy
Based on: https://github.com/aws-samples/aws-cdk-examples/tree/master/typescript/static-site
Creates:
Based on: Based on: https://github.com/aws-samples/http-api-aws-fargate-cdk/blob/master/cdk/singleAccount/lib/fargate-vpclink-stack.ts
Creates:
Based on:
The CloudFront distribution requires a public key for signature verification.
Generate a 2048 bit RSA key:
openssl genrsa -des3 -out private.pem 2048
Export the public key to a file:
openssl rsa -in private.pem -outform PEM -pubout -out public.pem
Open the public.pem
file and ensure that it starts with -----BEGIN PUBLIC KEY-----
. This is how you know that this file is the public key of the pair and not a private key.
Add the public key to the CDK infrastructure configuration.
Add the private key to the server configuration settings (JSON, AWS Parameter Store, etc).
FAQs
Medplum CDK Infra as Code
The npm package @medplum/cdk receives a total of 460 weekly downloads. As such, @medplum/cdk popularity was classified as not popular.
We found that @medplum/cdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.