frisk

Detect and redact secrets and PII from text using regular expressions.

6|1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/JGalego/Bag-of-Tricks --skill frisk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frisk
Source: https://github.com/JGalego/Bag-of-Tricks/tree/main/frisk
Command: npx skills add https://github.com/JGalego/Bag-of-Tricks --skill frisk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The frisk Skill prevents sensitive data leaks by scanning and redacting credentials and personal information from text before it leaves your system.

Core Features & Use Cases

  • Secret Detection and Redaction: Automatically identifies and redacts sensitive credentials such as API keys, tokens, and private keys.
  • PII Protection: Redacts personal identifiable information (PII) like names, addresses, and social security numbers.
  • Pre-Commit and Pipeline Safety: Ensures security in pre-commit hooks and pipelines by checking for leaks before text is sent to external systems.

Quick Start

Use the frisk skill to scan a text file for secrets and PII: frisk scan.txt

Frequently Asked Questions about frisk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan text files for API keys and PII before committing code?

Scanning text for API keys and PII before committing code requires automated text scanning and redaction to identify sensitive data. This process detects secrets like tokens and personal information using regular expressions and pattern matching to prevent leaks.

What is the best way to redact secrets and personal identifiable information from text streams?

Redacting secrets and personal identifiable information from text streams is best handled by pattern matching mechanisms that detect and remove sensitive credentials. This approach ensures operational workflows protect data by parsing and manipulating text in real-time.

Can I use text scanning and redaction in pre-commit hooks and pipelines?

Yes, you can use text scanning and redaction in pre-commit hooks and pipelines to ensure security before text is sent to external systems. This prevents sensitive data leaks by checking for credentials and PII during the software development workflow.

Does pattern matching detect private keys and tokens in operational workflows?

Pattern matching detects private keys and tokens in operational workflows by applying regular expressions to text streams. This mechanism automatically identifies and redacts sensitive credentials to maintain data protection during processing.

What types of sensitive data does text scanning detect using regular expressions?

Text scanning detects sensitive data types including API keys, tokens, private keys, and personal identifiable information like names, addresses, and social security numbers. Regular expressions and pattern matching identify these credentials to prevent data leaks.