
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@safenest/cli
Advanced tools
AI-powered child safety analysis from your terminal. Detect bullying, grooming, and unsafe content.
brew install safenest/tap/safenest
npm install -g @safenest/cli
# Login with your API key
safenest login <your-api-key>
# Analyze text for safety
safenest analyze "Some text to check"
# Detect bullying
safenest detect-bullying "You're so stupid"
# Detect unsafe content
safenest detect-unsafe "I want to hurt myself"
safenest login <api-key> # Save your API key
safenest logout # Remove saved API key
safenest whoami # Show login status
# Quick analysis (bullying + unsafe)
safenest analyze "Text to analyze"
# Detect bullying/harassment
safenest detect-bullying "Text to check"
safenest bullying "Text to check" # alias
# Detect unsafe content (self-harm, violence, etc.)
safenest detect-unsafe "Text to check"
safenest unsafe "Text to check" # alias
# Detect grooming patterns in conversation
safenest detect-grooming -m '[{"role":"adult","content":"..."},{"role":"child","content":"..."}]'
safenest grooming -m '...' --age 12 # with child age
# Analyze emotions
safenest emotions "I'm feeling really sad today"
# Get action plan for a situation
safenest action-plan "Child is being bullied at school"
safenest plan "..." --age 12 --audience parent --severity high
$ safenest bullying "You're worthless and nobody likes you"
⚠ BULLYING DETECTED
Severity: HIGH
Confidence: 92%
Risk Score: 85%
Types: verbal, exclusion
Rationale:
The message contains degrading language and exclusionary statements...
Action: flag_for_moderator
$ safenest emotions "I don't want to go to school anymore, everyone hates me"
Emotion Analysis
Dominant: sadness, anxiety, isolation
Trend: 📉 worsening
Summary:
The text indicates feelings of social rejection and school avoidance...
Recommended Follow-up:
Consider having a supportive conversation about their school experience...
Sign up at safenest.dev to get your API key.
The bullying and unsafe commands analyze a single text input per request. If you're analyzing a conversation, concatenate a sliding window of recent messages into one string rather than piping each message individually. Single words or short fragments lack context for accurate detection and can be exploited to bypass safety filters.
# Bad — each line analyzed in isolation
cat messages.txt | while read line; do safenest bullying "$line"; done
# Good — analyze the full conversation
safenest bullying "$(cat messages.txt)"
The grooming command already accepts multiple messages and analyzes the full conversation in context.
Enable PII_REDACTION_ENABLED=true on your SafeNest API to automatically strip emails, phone numbers, URLs, social handles, IPs, and other PII from detection summaries and webhook payloads. The original text is still analyzed in full — only stored outputs are scrubbed.
MIT
FAQs
SafeNest CLI - AI-powered child safety analysis from your terminal
The npm package @safenest/cli receives a total of 9 weekly downloads. As such, @safenest/cli popularity was classified as not popular.
We found that @safenest/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.