agentleFS
BioconductorBioconductor/ai-agent-skills/skills/security-audit-r-package/SKILL.md

security-audit-r-package

Skill10 starsChanged 3 months agoMITView on GitHub

Perform comprehensive security audit of R/Bioconductor packages

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Determine Audit Scope: Default is the entire package (DESCRIPTION, NAMESPACE, R/, src/).

    line 28
  2. Distinctive:

    Fetch Audit Instructions: Read the standardized security audit instructions from:

    line 29
  3. Distinctive:

    Read Files: Read all files within the defined scope.

    line 32

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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-audit-r-package

Perform comprehensive security audits of R/Bioconductor packages, identifying vulnerabilities, native code security issues, code quality problems, and dependency risks.

Usage

Invoke this skill to audit an R package:

  • "Run security audit on this R package"
  • "Check this package for security vulnerabilities"
  • "Security audit only the R/ directory"

Prerequisites

  • Working directory is an R package.
  • Internet access to fetch audit instructions from the reference gist.

Process

  1. Determine Audit Scope: Default is the entire package (DESCRIPTION, NAMESPACE, R/, src/). The user may specify a subset.
  2. Fetch Audit Instructions: Read the standardized security audit instructions from: https://gist.github.com/lwaldron/0606c678e7d81b012a1b05901cf4b732 These instructions define the categories to check, standardized issue type labels, and required fields.
  3. Read Files: Read all files within the defined scope.
  4. Analyze for Issues: Review the code against the checklist defined in the gist. Address vulnerabilities, native code safety, code quality, and dependency risks.
  5. Generate Report: Produce a structured markdown report including findings with the required fields (Issue Type Label, Severity, Location, Description, Fix).
  6. Output Report: Display the report and confirm completion.

Output Format

Generate a security report tailored to the context (full package vs quick check). All reports must include:

  • Standardized labels from the gist.
  • Severity levels (Critical, High, Medium, Low).
  • Clear indications if no issues are found.
# Security Audit Report: [Package Name]

**Scope**: [audited files/directories]

## Summary
[Brief summary of findings]

## Findings
### [Issue Title]
**Issue Type**: [Label]
**Severity**: [Level]
**Location**: [file:line]
**Description**: [Details]
**Fix**: [Recommendation]

Examples

Example: Full Package Audit

User: "Run security audit on this R package" Agent:

  1. Confirms scope: DESCRIPTION, NAMESPACE, R/, src/
  2. Fetches gist instructions and reads files.
  3. Analyzes for vulnerabilities and generates report. Output: A detailed report listing any High/Medium/Low issues, or a Clean status if no issues are found.

Reference: Security audit criteria defined at https://gist.github.com/lwaldron/0606c678e7d81b012a1b05901cf4b732

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.