agentleFS
LeostrukaLeostruka/devin-bundle/skills/security/SKILL.md

security

Skill0 starsChanged 4 months agoMITView on GitHub

Use when auditing code, dependencies, or infrastructure for security issues (SAST, dependency scanning, secret leak detection, OWASP-style checks), or when checking that a project or change follows secure defaults before committing or deploying.

  • Reads credentials

78 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cost-reducer, trigger-dev and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • daianepepes-labSkill

    cost-reducer

    Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.

    Also in 5 projects that use this

  • xfstudioSkill

    trigger-dev

    Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.

    Also in 4 projects that use this

  • ffsshhttiikkSkill

    scalability

    Core foundational concepts and principles for Scalability

    Also in 4 projects that use this

  • daianepepes-labSkill

    self-healing

    Detect, diagnose, and automatically fix recurring errors, memory issues, and system degradation. Use when a system has recurring failures, memory leaks, performance degradation, or needs automatic recovery mechanisms.

    Also in 5 projects that use this

  • xfstudioSkill

    customer-support

    Elite AI-powered customer support specialist mastering

    Also in 4 projects that use this

  • ffsshhttiikkSkill

    cicd

    Continuous integration and delivery pipelines

    Also in 4 projects that use this

  • +1 more from daianepepes-lab

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 56 edited versions we read keep these.

  • 1

    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
  1. Distinctive:

    Never expose real credentials or attack a live system.

    line 61

“Common” is measured: kept by at least 6 in 10 of the 56 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Security

Two layers: secure-defaults check (fast pre-commit/deploy gate) and security audit (deeper defensive review). Defensive only — detect and report, never exploit.

Secure-defaults checklist (gate before commit/deploy)

CheckVerify
.env in .gitignoreSecrets not committed
.env.example existsTemplate for required vars
No hardcoded secretsNo keys/passwords/tokens in code
No public S3/URLsStorage + endpoints not public
No unauthenticated endpointsAuth required or documented exception
Destructive actions confirmedDELETE/DROP/TRUNCATE need confirmation
Passwords hashedbcrypt/argon2, never plaintext
No custom cryptoStandard libraries only
Dependencies updatedNo known-vulnerable deps
Logs sanitizedNo secrets/PII in logs

Quick greps:

grep -r "api_key\|password\|secret" --include="*.py" --include="*.ts" .
grep -q "^\.env$" .gitignore || echo "FAIL: .env not in .gitignore"
grep -r "s3\.amazonaws\.com" --include="*.py" --include="*.ts" .

Helper: python3 scripts/check.py (this skill's scripts/). Any failure → fix or document the exception before proceeding.

Security audit (deeper)

  1. Scope the surface — code paths, inputs, auth, secrets, network boundaries.
  2. Static analysis — project linters/SAST if available.
  3. Dependencies — CVEs, outdated packages, suspicious licenses.
  4. Hunt secrets — scanning tools or high-risk greps.
  5. Auth + input — auth checks, validation, output encoding, least privilege.
  6. Document — findings ranked by severity. Detect only.

Five security principles

PrincipleFlag
Minimize attack surfaceUnnecessary code, unauthenticated endpoints, public storage, sequential IDs on reads, secrets in logs, timing leaks
Least privilegeOver-privileged service accounts, broad IAM, DB access outside VPC, frontend→DB direct, hardcoded creds
Secure defaultsVisible passwords, unconfirmed destructive actions, missing MFA, default creds
Standard cryptoPlaintext passwords, custom hashing, missing bcrypt/argon2
Updates + monitoringVulnerable deps, missing Dependabot/SAST/WAF

Output rule

Findings list: severity, file, issue, recommendation, verification command. Never expose real credentials or attack a live system.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.