security-basics
Skill1 starsChanged 14 days agoMITView on GitHub
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.
- Reads credentials
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- matt-riley/agent-skillstheir own version, first seen Nov 15, 2026
- royalpinto007/ship-skillstheir own version, first seen Oct 13, 2026
- timothy-pham/copilot-suitetheir own version, first seen Mar 17, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- matt-riley/agent-skills★ 3same name
- royalpinto007/ship-skills★ 1same name
- timothy-pham/copilot-suite★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- .claude/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- ai-in-the-productSkill
- backend-apiSkill
- database-quickSkill
- data-ml-quickstartSkill
- debug-fastSkill
- demo-and-pitchSkill
- deploy-fastSkill
- deploy-to-vercelSkill
- docker-build-strategiesSkill
- docker-compose-patternsSkill
- docker-destructive-guardrailsSkill
- docker-project-foundationsSkill
- find-skillsSkill
- frontend-nextjs-vercelSkill
- git-githubSkill
- kickoffSkill
- pitch-deckSkill
- rapid-prototypeSkill
- repo-polishSkill
- security-basicsSkill
- smoke-testingSkill
- team-syncSkill
- ui-polishSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- verification-before-doneSkill
- ai-in-the-productSkill
- backend-apiSkill
- database-quickSkill
- data-ml-quickstartSkill
- debug-fastSkill
- demo-and-pitchSkill
- deploy-fastSkill
- deploy-to-vercelSkill
- docker-build-strategiesSkill
- docker-compose-patternsSkill
- docker-destructive-guardrailsSkill
- docker-project-foundationsSkill
- find-skillsSkill
- frontend-nextjs-vercelSkill
- git-githubSkill
- kickoffSkill
- pitch-deckSkill
- rapid-prototypeSkill
- repo-polishSkill
- smoke-testingSkill
- team-syncSkill
- ui-polishSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- verification-before-doneSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Access: if there's a login, check authorization on the server for every data read (not just hiding buttons).
- Distinctive: line 14
Privacy: use synthetic or public data in the demo.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security basics (10-minute pass)
- Secrets: nothing in git.
git grep -nIE "sk-|api[_-]?key|secret|token|BEGIN .*PRIVATE"; checkgit log -pif a key was ever committed → rotate it, deleting the line isn't enough..envignored,.env.examplecomplete. Keys live server-side;NEXT_PUBLIC_*/ client code is public. - Shared AI tokens from the organisers: don't paste them in chat, issues, screenshots or the demo recording.
- Input: validate server-side; parameterized SQL; escape or sanitize anything rendered as HTML (LLM output counts as untrusted); limit upload size and type.
- 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.
- 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.
- Rate/cost guard: cap tokens per request and requests per IP/session on public AI endpoints so the shared budget survives the pitch.
- Privacy: use synthetic or public data in the demo; no real personal data in prompts, fixtures or screenshots.
- Dependencies: install only packages you've heard of; check the exact name (typosquats, hallucinated packages) —
npm view <pkg>/pip index versions <pkg>. - Deploy: HTTPS only (hosts do this), no debug mode in production, no verbose errors to users.
- Aikido:
.github/workflows/aikido.ymlscans every PR for new critical dependency vulnerabilities. NeedsAIKIDO_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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

