技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
serpapi-security-basics【数据与研究】Threat-model SerpAPI credentials, query data, result retention, browser exposure, logs, and ZeroTrace tradeoffs. Use when reviewing or hardening a search integration. Trigger with "secure a SerpAPI integration".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Protect the private key and treat queries, parameters, raw results, archive records, fixtures, and telemetry as potentially sensitive data.
Use Read, Glob, and Grep to inspect secret flow, browser bundles, logs, caches, and fixtures, WebFetch to verify current security and retention claims, and Write or Edit for server-side boundaries, redaction, tests, and evidence.
SerpAPI requires a private API key and recommends server-side use for web applications. Standard search data is documented as expiring after 31 days. Enterprise ZeroTrace mode uses zero_trace=true to skip storing search parameters, files, and metadata, which also removes archive-based debugging; eligibility and exact guarantees must be rechecked against the account contract.
Keep SERPAPI_KEY in an approved server-side secret manager. Never ship it in browser or mobile bundles, accept it from end users, include it in URLs that are logged, or return Account API data to unauthenticated clients.
Do not rotate a key, enable account features, change production retention, expose a proxy, or process a new sensitive data class without named owner approval.
Return the threat model, secret-flow proof, data classification, proxy controls, retention/ZeroTrace decision, negative-test results, approval record, and incident/rotation owners.
| Condition | Response |
|---|---|
| Key appears in history or telemetry | Revoke or rotate under incident procedure and purge authorized copies. |
| Browser bundle references the key | Block release and move the call behind an authenticated backend. |
| Sensitive search used standard retention | Notify privacy/security owners and follow the approved deletion process. |
| ZeroTrace search needs archive debugging | Use local redacted evidence; do not assume an archive record exists. |
key=server-secret-only; callers=authenticated; inputs=allowlisted; output=minimized; standard-retention=31-days; zero-trace=contract-reviewed; leakage-tests=pass
Schedule a key-leak and public-endpoint abuse drill, then review the controls after any data-class change.