security-basics
/security-basics
Use before deploying or pitching, and whenever handling API keys, user input, uploads, auth or personal data — a quick pass on the mistakes that actually bite at hackathons.
- Author
- lukashouthoofd ↗
- Repository
- cenekathon ↗
- Licence
- MIT
- Last repository change
- 04.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use before deploying or pitching, and whenever handling API keys, user input, uploads, auth or personal data — a quick pass on the mistakes that actually bite at hackathons.
Original author description
Use before deploying or pitching, and whenever handling API keys, user input, uploads, auth or personal data — a quick pass on the mistakes that actually bite at hackathons.
How it works
SKILL.md has no level-two headings · 17 lines, 289 words
SKILL.md preview
--- name: security-basics description: Use before deploying or pitching, and whenever handling API keys, user input, uploads, auth or personal data — a quick pass on the mistakes that actually bite at hackathons. --- # Security basics (10-minute pass) 1. **Secrets:** nothing in git. `git grep -nIE "sk-|api[_-]?key|secret|token|BEGIN .*PRIVATE"`; check `git log -p` if a key was ever committed → **rotate it**, deleting the line isn't enough. `.env` ignored, `.env.example` complete. Keys live server-side; `NEXT_PUBLIC_*` / client code is public. 2. **Shared AI tokens** from the organisers: don't paste them in chat, issues, screenshots or the demo recording. 3. **Input:** validate server-side; parameterized SQL; escape or sanitize anything rendered as HTML (LLM output counts as untrusted); limit upload size and type. 4. **LLM-specific:** user text and retrieved documents can contain prompt injection — never let model output trigger destructive actions or run as code/shell without a human check; don't put secrets in system prompts. 5. **Access:** if there's a login, check authorization on the server for every data read (not just hiding buttons). Hosted DB: RLS on, service-role key never in the browser. 6. **Rate/cost guard:** cap tokens per request and requests per IP/session on public AI endpoints so the shared budget survives the pitch. 7. **Privacy:** use synthetic or public data in the demo; no real personal data in prompts, fixtures or screenshots. 8. **Dependencies:** install only packages you've heard of; check the exact name (typosquats, hallucinated packages) — `npm view <pkg>` / `pip index versions <pkg>`. 9. **Deploy:** HTTPS only (hosts do this), no debug mode in production, no verbose errors to users. 10. **Aikido:** `.github/workflows/aikido.yml` scans every PR for new critical dependency vulnerabilities. Needs `AIKIDO_SECRET_KEY` (`gh secret set AIKIDO_SECRET_KEY`); skipped until set. Optional: Aikido Safe Chain (`npm i -g @aikidosec/safe-chain`) blocks malicious npm packages at install time. **Done when:** the grep is clean, `.env` is untracked, public endpoints have a size/rate cap, and the demo uses no real personal data.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · lukashouthoofd/cenekathon | 96 | MIT |
| adilkalam/orca | 100 | MIT |
| solidvibes/solid-vibes | 90 | MIT |
Database snapshot: 13.11.2026 · package version 07258bc1a028 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100persona-security-basics
Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction. Use when conducting a security review. Trigger with: "secure Persona integration", "Persona PII controls", "audit Persona webhook security". - 100security-durability
Review code or a design for security mistakes that are expensive to fix later - exposed secrets, missing key rotation, untrusted input, over-wide permissions, unsafe deserialization, weak crypto choices, personal data kept without a reason. Use for anything touching auth,… - 100apollo-security-basics
Apply Apollo.io API security best practices. Use when securing Apollo integrations, managing API keys, or implementing secure data handling. Trigger with phrases like "apollo security", "secure apollo api", "apollo api key security", "apollo data protection". - 100apollo-security-basics
Apply Apollo.io API security best practices. Use when securing Apollo integrations, managing API keys, or implementing secure data handling. Trigger with phrases like "apollo security", "secure apollo api", "apollo api key security", "apollo data protection". - 95security-review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns. - 100exa-security-basics
Apply Exa security best practices for secrets and access control. Use when securing API keys, implementing least privilege access, or auditing Exa security configuration. Trigger with phrases like "exa security", "exa secrets", "secure exa", "exa API key security".