npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hulumi/policies

v1.5.0

Published

Pulumi CrossGuard policy packs for AWS, GitHub, Kubernetes, Cloudflare, and deployment governance. Includes HulumiHardeningPack, HulumiAwsOrgHardeningPack, state/backend/primitive/detection rules, GitHub packs, EKS packs, and platform governance. SLSA Bui

Downloads

3,027

Readme

@hulumi/policies

Pulumi CrossGuard policy packs that catch the things the @hulumi/baseline components can't — e.g. a PR that bypasses SecureBucket and reaches for a raw aws.s3.Bucket / aws.s3.BucketV2, or a state backend pointed at file://.

Part of the Hulumi toolkit. Apache-2.0. SLSA Build L3 attestation on every published tarball.

Install

pnpm add -D @hulumi/policies @pulumi/policy

Quick-start — load a policy pack locally

pulumi up --policy-pack node_modules/@hulumi/policies/aws/packs/hulumi-hardening

Or programmatically inside a stack:

import { hulumiHardeningPack } from "@hulumi/policies/aws/packs/hulumi-hardening";

// hulumiHardeningPack is a Pulumi PolicyPack ready to register.

Available packs

AWS

| Pack | Coverage | | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | aws/packs/hulumi-hardening | HulumiHardeningPack — invariants H1–H5 plus STATE-1, PRIM-1 through PRIM-4, and DETECT-1 through DETECT-3 | | aws/packs/cis-v5 | CisV5Pack — CIS AWS Foundations Benchmark v5.0.0 sections 1–3 (IDs-only — see licensing) | | aws-org/packs/hulumi-aws-org-hardening | HulumiAwsOrgHardeningPack — delegated admins, role separation, approved SCP set, and account-level S3 Public Access Block posture |

GitHub

| Pack | Coverage | | ------------------------------- | --------------------------------------------------------------------------------------------------------- | | github/packs/hulumi-hardening | HulumiGithubHardeningPack — H1 (no admin-bypass), H2 (signed commits required), G_OIDC_1 (OIDC trust) | | github/packs/cis-v1 | CisGithubV1Pack — placeholder pending CIS WorkBench access (IDs-only structure ready to fill) |

Cloudflare And Platform

| Pack | Coverage | | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | cloudflare/packs/hulumi-hardening | CF_DNS_1_NO_DNS_ONLY_PUBLIC_APP_RECORD, CF_DNSSEC_1_REQUIRE_PUBLIC_ZONE_DNSSEC, CF_ORIGIN_1_REQUIRE_SECURE_ORIGIN_MODE | | platform/packs/origin-bypass | X_ORIGIN_1_NO_PUBLIC_AWS_ORIGIN_BYPASS advisory for public AWS origins without tunnel or allowlist+AOP evidence | | platform/packs/deployment-governance | DEPLOY_GOV_1_REQUIRE_PROTECTED_ENVIRONMENT, DEPLOY_GOV_2_NO_LONG_LIVED_AWS_SECRETS, DEPLOY_GOV_3_NO_UNAPPROVED_SELF_HOSTED_RUNNERS, DEPLOY_GOV_4_PRIVILEGED_WORKFLOWS_REQUIRE_OIDC |

The workflow-governance linter lives at scripts/workflow-governance-lint.mjs in the source repo. Its stable rule IDs are documented in docs/components/workflow-governance-linter.md.

Suppressions

import { Suppression } from "@hulumi/policies";

const sup: Suppression = {
  pack: "hulumi-hardening",
  rule: "H3",
  scope: { resourceUrn: "urn:pulumi:dev::project::aws:s3/bucket:Bucket::legacy" },
  expires: "2026-12-31",
  reason: "legacy bucket migrating to SecureBucket in Q1; tracked in #ISSUE-42",
};

Suppressions are reviewed at policy-evaluation time and surface as metadata on the verdict; they do not silently mute findings.

One pack per process

Each pack is a separately exported PolicyPack to preserve the one-pack-per-process Pulumi invariant. Compose multiple packs by running multiple policy-pack invocations.

Verifying SLSA attestations

Every published tarball ships with GitHub Artifact Attestations provenance from the reusable sign-and-publish.yml release lane. Verify before installing:

pnpm pack @hulumi/[email protected] --pack-destination .
gh attestation verify ./hulumi-policies-1.5.0.tgz \
  --repo kerberosmansour/hulumi

License-boundary policy

Hulumi cites framework controls (CSA CCM, CIS AWS Foundations, NIST 800-53 r5, MITRE ATLAS) by ID only. Verbatim control text, CAIQ question text, or Implementation Guideline prose must not appear in this package's source. See docs/mappings/licensing.md.

Documentation

License

Apache-2.0 — see LICENSE and the project-level NOTICE.