jeremylongshore/tons-of-skills-marketplace/juicebox-security-basics

Claude Code and agent skill by jeremylongshore/tons-of-skills-marketplace

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

'Apply Juicebox security best practices.

Install

npx vskill@latest install jeremylongshore/tons-of-skills-marketplace/juicebox-security-basics

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as jeremylongshore/tons-of-skills-marketplace/juicebox-security-basics.

Juicebox Security Basics

Overview

Juicebox provides AI-powered people search and analysis, processing datasets containing professional profiles, contact enrichment data, and query results. Security concerns include API key protection, GDPR/CCPA compliance for candidate and contact data, data retention policy enforcement, and ensuring enriched contact information (emails, phone numbers) is not leaked through logs or unencrypted storage. A compromised API key grants access to people search and enrichment capabilities.

API Key Management

typescript
function createJuiceboxClient(): { apiKey: string; baseUrl: string } {
const apiKey = process.env.JUICEBOX_API_KEY;
if (!apiKey) {
throw new Error("Missing JUICEBOX_API_KEY — store in secrets manager, never in code");
}
// Juicebox keys access people data — treat as PII-adjacent
console.log("Juicebox client initialized (key suffix:", apiKey.slice(-4), ")");
return { apiKey, baseUrl: "https://api.juicebox.ai/v1" };
}

Webhook Signature Verification

typescript
import crypto from "crypto";
import { Request, Response, NextFunction } from "express";
function verifyJuiceboxWebhook(req: Request, res: Response, next: NextFunction): void {
const signature = req.headers["x-juicebox-signature"] as string;
const secret = process.env.JUICEBOX_WEBHOOK_SECRET!;
const expected = crypto.createHmac("sha256", secret).update(req.body).digest("hex");
if (!signature || !crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected))) {
res.status(401).send("Invalid signature");
return;
}
next();
}

Input Validation

typescript
import { z } from "zod";
const PeopleSearchSchema = z.object({
query: z.string().min(1).max(500),
filters: z.object({
location: z.string().optional(),
company: z.string().optional(),
title: z.string().optional(),
industry: z.string().optional(),
}).optional(),
max_results: z.number().int().min(1).max(100).default(25),
enrich_contacts: z.boolean().default(false),
});
function validateSearchQuery(data: unknown) {
return PeopleSearchSchema.parse(data);
}

Data Protection

typescript
const JUICEBOX_PII_FIELDS = ["personal_email", "phone_number", "social_profiles", "home_address", "enrichment_data"];
function redactJuiceboxLog(record: Record<string, unknown>): Record<string, unknown> {
const redacted = { ...record };
for (const field of JUICEBOX_PII_FIELDS) {
if (field in redacted) redacted[field] = "[REDACTED]";
}
return redacted;
}

Security Checklist

  • [ ] API keys stored in secrets manager, separate keys per environment
  • [ ] Enriched contact data encrypted at rest
  • [ ] GDPR consent documented for EU candidate data
  • [ ] CCPA opt-out mechanism implemented for California residents
  • [ ] Data retention policy enforced (auto-delete after defined period)
  • [ ] Contact enrichment results never logged in plaintext
  • [ ] Search queries redacted in application logs
  • [ ] Pre-commit hook blocks jb_live_* credential patterns

Error Handling

VulnerabilityRiskMitigation
Leaked API keyUnauthorized people search and enrichmentSecrets manager + key rotation
Contact data in logsPII exposure violating GDPR/CCPAField-level redaction pipeline
Missing data retentionStale candidate data accumulatesAutomated retention enforcement
Enrichment without consentPrivacy regulation violationConsent gate before enrichment calls
Unencrypted contact storageBulk PII breach from database leakEncryption at rest + access controls

Prerequisites

  • A data classification, approved lawful-use basis, synthetic test fixture, secrets-manager references, least-privilege roles, and an incident owner with a tested revocation path.

Instructions

  1. Run the security checks only against a sandbox fixture and reject literal credentials, unapproved sources, or unapproved destinations.
  2. Verify suppression, encryption, access scope, audit-log redaction, retention, and contacts_exported=0 before approving a release.
  3. Use staged canaries; halt on any policy, scope, or retention drift and revoke temporary access before rollback.
  4. Preserve only aggregate, redacted evidence and delete test records according to the approved retention window.

Output

Record a security receipt with environment, fixture classification, access review, suppression/encryption/redaction results, no-export assertion, owner approval, retention/deletion proof, and rollback reference. Exclude identities, enrichment values, and secrets.

Examples

env=staging; fixture=synthetic; rbac=least-privilege; suppression=pass; encryption=pass; contacts_exported=0; cleanup=verified is an acceptable release-gate record.

Resources

Next Steps

See juicebox-prod-checklist.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,844
Repository forks
421
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jeremylongshore/tons-of-skills-marketplace/juicebox-security-basics/badge)](https://verified-skill.com/skills/jeremylongshore/tons-of-skills-marketplace/juicebox-security-basics)

Something wrong with this skill or its page? Tell us.