Algolia Security BasicsSAFE
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Overview
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
4f83675ca38aOBSERVED · 2026-10-08Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: algolia-security-basics description: >- Audit and harden Algolia credentials, record exposure, index restrictions, and tenant search controls. Use when reviewing frontend keys, backend ACLs, key rotation, or data visibility. Trigger with "secure Algolia", "Algolia key audit", or "Algolia security review". argument-hint: "[repository-path] [application-id]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.8.0 author: Jeremy Longshore <[email protected]> license: MIT tags: - saas - algolia - security model: inherit effort: medium compatibility: Designed for Claude Code --- # Algolia Security Baseline ## Overview This skill reviews the actual security boundary of an Algolia integration. A browser search-only key is intentionally visible, so record contents, index restrictions, secured-key design, and abuse controls remain essential. ## Prerequisites - A named repository, environment, and Algolia application or index in scope - The local lockfile and installed client types as implementation authority - A safe read-only query or explicitly disposable test target - Current first-party documentation for any provider behavior that affects the change ## Tool Discipline Use `Read`, `Glob`, and `Grep` to inspect local code, configuration names, tests, and dependency versions. Use `WebFetch` only for current official Algolia documentation. Use `Write` or `Edit` only after identifying the target files, constraints, and verification plan. ## Current Contract - Never index data that must remain secret merely because an attribute is not displayed. - Use custom main keys with minimum ACLs and restrictions; rotate long-lived keys under an owned policy. - Generate secured keys on a trusted backend and require restrictions appropriate to the user or tenant. - Treat referer restrictions, rate limits, filters, and ACLs as layers whose current behavior must be verified. ## Authentication Inspect key metadata without exporting secret values. Admin credentials stay out of application defaults, browser bundles, logs, support artifacts, and developer examples. ## Instructions 1. Inventory every application ID, environment variable, client constructor, key owner, ACL, restriction, and exposed index. 2. Scan source, built assets, history, logs, and documentation for write-capable key exposure. 3. Review record fields and index settings for data a search-only client could retrieve or scrape. 4. Map backend operations to custom key ACLs and tenant search to secured-key restrictions. 5. Test allowed and denied paths, including cross-index and cross-tenant attempts. 6. Document rotation, revocation, incident response, ownership, exceptions, and retest dates. ## Approval Boundaries Do not rotate or revoke production keys, alter index restrictions, or remove access until dependencies and recovery paths are verified. ## Output Return the key and actor inventory, exposure findings, data-visibility review, allowed/denied tests, remediation plan, rotation procedure, and residual risks. ## Error Handling | Condition | Response | |---|---| | Write key found in browser | Contain and rotate through the incident process. | | Search key exposes sensitive records | Remove the data and review index design. | | Tenant restriction bypassed | Disable affected path and correct server-generated restrictions. | | Key owner unknown | Treat it as orphaned and investigate before revocation. | ## Examples Use this compact input and expected handoff to calibrate scope and evidence quality. Input: ```text app=APP...9X; actors=browser,indexer,ops; indices=products_* ``` Expected handoff: ```text browser=search-only; indexer=custom-minimum; tenant-denial=pass; exposed-write-key=none ``` ## Resources - [Skill-specific official documentation](references/official-docs.md) - [API keys](https://www.algolia.com/doc/guides/security/api-keys) - [Secured API keys](https://www.algolia.com/doc/guides/building-search-ui/going-further/api-keys-security/react) - [Security best practices](https://www.algolia.com/doc/guides/security/security-best-practices)
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
4f83675ca38afull audit observations/trust-audit/skill/jeremylongshore__algolia-security-basics.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 4f83675ca38a | SAFE | B | 89 | first audit |
Questions
What does the Algolia Security Basics skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Algolia Security Basics safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Algolia Security Basics access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Algolia Security Basics work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.