{
  "name": "@scan5/ai-guard",
  "version": "0.13.0",
  "description": "AI security scanner and runtime enforcement for LLM applications — detects prompt injection, API key leaks, unsafe output, RAG poisoning, and agent hijacking in code and live traffic.",
  "keywords": [
    "cli",
    "security",
    "scanner",
    "ai",
    "llm",
    "prompt-injection",
    "sast",
    "runtime-security",
    "enforcement",
    "owasp-llm",
    "sdk"
  ],
  "homepage": "https://github.com/wangai003/scan5#readme",
  "bugs": {
    "url": "https://github.com/wangai003/scan5/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wangai003/scan5.git"
  },
  "license": "MIT",
  "author": "scan5",
  "type": "commonjs",
  "workspaces": [
    "apps/*",
    "packages/*"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.js"
    },
    "./sdk": {
      "types": "./dist/sdk/index.d.ts",
      "require": "./dist/sdk/index.js"
    },
    "./sdk/integrations": {
      "types": "./dist/sdk/integrations.d.ts",
      "require": "./dist/sdk/integrations.js"
    },
    "./package.json": "./package.json"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "ai-guard": "dist/cli.js"
  },
  "directories": {
    "doc": "docs",
    "test": "tests"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.json",
    "build:shared": "npm --workspace @scan5/shared-types run build",
    "build:api": "npm --workspace @scan5/platform-api run build",
    "build:web": "npm --workspace @scan5/platform-web run build",
    "build:platform": "npm run build:shared && npm run build:api && npm run build:web",
    "benchmark": "npm run build && node dist/benchmarks/scan-benchmark.js",
    "benchmark:phase6": "npm run build && node dist/benchmarks/phase6-load-test.js",
    "clean": "rm -rf dist .tsbuildinfo",
    "dev": "npm run build -- --watch",
    "test": "npm run build && node --test \"dist/tests/**/*.test.js\"",
    "test:unit": "npm run build && node --test \"dist/tests/unit/**/*.test.js\"",
    "test:integration": "npm run build && node --test \"dist/tests/integration/**/*.test.js\"",
    "test:contracts": "npm run build && node --test \"dist/tests/unit/contracts.test.js\" \"dist/tests/integration/phase1-contracts.integration.test.js\"",
    "test:quality": "npm run build && node --test \"dist/tests/unit/phase8-quality-gates.test.js\"",
    "report:enterprise": "npm run build && node dist/cli.js scan src --json reports/scan-report.json --sarif reports/scan-report.sarif --gitlab-sast reports/gl-sast-report.json --siem-json reports/siem-findings.ndjson",
    "report:semgrep": "echo 'Semgrep rules exported at rules/semgrep/ai-guard-rules.yml'",
    "verify": "bash scripts/verify.sh",
    "verify:fast": "bash scripts/verify.sh --skip-benchmark",
    "publish:check": "bash scripts/publish.sh --dry-run",
    "smoke:release": "bash scripts/smoke-release.sh",
    "release:prepare": "npm run verify && npm run publish:check && npm run smoke:release",
    "release:canary:prepare": "npm run release:prepare",
    "release:canary:help": "echo 'Tag and push a canary: git tag v0.1.0-rc.1 && git push origin v0.1.0-rc.1'",
    "release:promote:help": "echo 'Use GitHub Actions workflow: Promote Canary To Latest (workflow_dispatch).'",
    "soc2:evidence": "bash scripts/soc2-evidence-collect.sh",
    "start": "node dist/cli.js",
    "start:api": "npm --workspace @scan5/platform-api run start",
    "start:web": "npm --workspace @scan5/platform-web run start",
    "dev:api": "npm --workspace @scan5/platform-api run dev",
    "scan": "node dist/cli.js scan",
    "prepare": "npm run build"
  },
  "dependencies": {
    "commander": "^12.1.0"
  },
  "optionalDependencies": {
    "onnxruntime-node": "^1.21.0"
  },
  "devDependencies": {
    "@types/node": "^22.10.2",
    "typescript": "^5.7.2"
  },
  "engines": {
    "node": ">=20"
  },
  "publishConfig": {
    "access": "public"
  }
}
