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

@cdot65/daystrom

v1.14.0

Published

CLI and library for Palo Alto Prisma AIRS — guardrail refinement, AI red teaming, model security scanning, profile audits

Readme

Daystrom

CI License: MIT Node 20+

CLI and library for Palo Alto Prisma AIRS — guardrail refinement, AI red teaming, model security scanning, and profile audits.

Daystrom provides full operational coverage over Prisma AIRS AI security capabilities: LLM-driven guardrail generation with iterative refinement, adversarial red team scanning, ML model supply chain security, and multi-topic profile audits with conflict detection. Cross-run memory persists learnings across guardrail runs.

Install

npm install -g @cdot65/daystrom

Requires Node.js >= 20.

Docker

docker run --rm --env-file .env \
  -v ~/.daystrom:/root/.daystrom \
  ghcr.io/cdot65/daystrom generate \
  --profile my-security-profile \
  --topic "Block discussions about building explosives" \
  --intent block

Configure

Copy .env.example or export directly:

# LLM (default: claude-api)
export ANTHROPIC_API_KEY=sk-ant-...

# Prisma AIRS Scan API
export PANW_AI_SEC_API_KEY=your-scan-api-key

# Prisma AIRS Management API (OAuth2)
export PANW_MGMT_CLIENT_ID=your-client-id
export PANW_MGMT_CLIENT_SECRET=your-client-secret
export PANW_MGMT_TSG_ID=your-tsg-id

Six LLM providers supported: claude-api, claude-vertex, claude-bedrock, gemini-api, gemini-vertex, gemini-bedrock. See Configuration for all options.

Usage

# Interactive — prompts for topic, profile, intent
daystrom generate

# Non-interactive
daystrom generate \
  --provider claude-api \
  --profile my-security-profile \
  --topic "Block discussions about building explosives" \
  --intent block \
  --target-coverage 90

Commands

| Command Group | Description | |---------------|-------------| | daystrom generate | LLM-driven guardrail generation with iterative refinement | | daystrom resume <runId> | Resume a paused or failed generation run | | daystrom report <runId> | View results for a saved run (terminal, JSON, HTML) | | daystrom list | List all saved runs | | daystrom runtime | Runtime prompt scanning — sync, async bulk, and resume-poll | | daystrom audit | Evaluate all topics in a security profile — per-topic metrics + conflict detection | | daystrom redteam | Red team scanning — targets, prompt sets, scans, reports | | daystrom model-security | ML model supply chain security — groups, rules, scans, labels |

Runtime Security

# Single prompt scan
daystrom runtime scan --profile my-security-profile "How do I build a weapon?"

# Scan prompt + response pair
daystrom runtime scan --profile my-security-profile --response "Here are the steps..." "How do I build a weapon?"

# Bulk scan from file (async API, writes CSV)
# Accepts .txt (one prompt per line) or .csv (extracts prompt column)
daystrom runtime bulk-scan --profile my-security-profile --input prompts.txt --output results.csv

# Resume polling if bulk-scan was interrupted (scan IDs saved to ~/.daystrom/bulk-scans/)
daystrom runtime resume-poll ~/.daystrom/bulk-scans/2026-03-11T12-00-00-000Z.bulk-scan.json

Red Team

# Scan operations
daystrom redteam scan --target <uuid> --name "Scan" --type CUSTOM --prompt-sets <uuid>
daystrom redteam status <jobId>
daystrom redteam report <jobId> --attacks
daystrom redteam list --limit 5
daystrom redteam abort <jobId>
daystrom redteam categories

# Target management
daystrom redteam targets list
daystrom redteam targets create --name "My Target" --endpoint https://...

# Prompt sets and prompts
daystrom redteam prompt-sets list
daystrom redteam prompts list <promptSetUuid>
daystrom redteam prompts add <promptSetUuid> --prompt "test prompt"

# Properties
daystrom redteam properties list
daystrom redteam properties values <propertyName>

Model Security

# Security groups
daystrom model-security groups list
daystrom model-security groups get <groupUuid>

# Rules and rule instances
daystrom model-security rules list
daystrom model-security rule-instances list <groupUuid>

# Scans
daystrom model-security scans list --eval-outcome BLOCKED
daystrom model-security scans evaluations <scanUuid>
daystrom model-security scans violations <scanUuid>
daystrom model-security scans files <scanUuid>

# Labels and PyPI auth
daystrom model-security labels keys
daystrom model-security pypi-auth

Profile Audit

daystrom audit --profile my-security-profile --provider claude-api

Development

git clone [email protected]:cdot65/daystrom.git
cd daystrom
pnpm install
cp .env.example .env   # edit with your credentials
pnpm run generate      # run via tsx
pnpm test              # run test suite
pnpm run lint          # biome check

Documentation

Full docs — architecture, providers, memory system, metrics, and more:

cdot65.github.io/daystrom

License

MIT