Grades are a hygiene check, not a security guarantee.

Claude Code, Skill

Oc Security Audit

Dedicated to Ohad Cohen, a brave Israeli soldier who gave his life protecting Kibbutz Be'eri on October 7, 2023.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit f079fefb1050, unchanged since the check below.

SECRETS_PATH_CREDENTIAL

Why this grade

  • SECRETS_PATH_CREDENTIAL Medium

    Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 383 for SENSITIVE_PATH in ".env" ".git/HEAD" "package.json" ".DS_Store" ".npmrc"; do

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Pass

    No shell or command call was found in the code. This check does not read permissions an entry declares. A permission line to run shell commands was found in this repository, and it may apply to this entry.

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 2

    set -u # Note: NOT set -e - npm audit and curl exit non-zero on findings

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 207

    PROD_HEADERS=$(curl -sI "https://${DOMAIN}" --max-time 10 2>/dev/null || true)

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 257

    ROBOTS_STATUS=$(curl -sI "https://${DOMAIN}/robots.txt" --max-time 10 2>/dev/null | head -1 | grep -oE '[0-9]{3}' | head -1 || true)

    Show more

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 271

    SITEMAP_STATUS=$(curl -sI "https://${DOMAIN}/sitemap.xml" --max-time 10 2>/dev/null | head -1 | grep -oE '[0-9]{3}' | head -1 || true)

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 366

    BACKUP_STATUS=$(curl -sI "https://${DOMAIN}/index${BACKUP_EXT}" --max-time 5 2>/dev/null | head -1 | grep -oE '[0-9]{3}' | head -1 || true)

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 384

    STATUS=$(curl -sI "https://${DOMAIN}/${SENSITIVE_PATH}" --max-time 5 2>/dev/null | head -1 | grep -oE '[0-9]{3}' | head -1 || true)

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 400

    ADMIN_STATUS=$(curl -sI "https://${DOMAIN}${ADMIN_PATH}" --max-time 5 2>/dev/null | head -1 | grep -oE '[0-9]{3}' | head -1 || true)

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 415

    OPTIONS_RESP=$(curl -sI -X OPTIONS "https://${DOMAIN}/" --max-time 5 2>/dev/null | grep -iE '^allow:' | head -1 || true)

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    plugins/oc-security-audit/skills/oc-security-audit/scripts/discover.sh, line 233

    for ENV_FILE in ".env.production" "${PROJECT_ROOT}/.env.production" \

    plugins/oc-security-audit/skills/oc-security-audit/scripts/discover.sh, line 234

    ".env.local" "${PROJECT_ROOT}/.env.local" \

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 383

    for SENSITIVE_PATH in ".env" ".git/HEAD" "package.json" ".DS_Store" ".npmrc"; do

    Show more

    plugins/oc-security-audit/skills/oc-security-audit/scripts/discover.sh, line 235

    ".env" "${PROJECT_ROOT}/.env"; do

    plugins/oc-security-audit/skills/oc-security-audit/scripts/discover.sh, line 255

    for CONFIG_FILE in ".env.production" "${PROJECT_ROOT}/.env.production" \

    plugins/oc-security-audit/skills/oc-security-audit/scripts/discover.sh, line 256

    ".env" "${PROJECT_ROOT}/.env" \

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 470

    NEXT_PUBLIC_HITS=$(grep -rE "$PATTERN_NEXT_PUBLIC_SECRETS" "$PROJECT_ROOT" --include=".env*" 2>/dev/null | sed -E 's/=.*/=[REDACTED]/' | head -3 || true)

    plugins/oc-security-audit/skills/oc-security-audit/scripts/scan.sh, line 1115

    if grep -qE "^${VAR}=" "$PROJECT_ROOT/.env.production" 2>/dev/null || grep -qE "^${VAR}=" "$SRC_ROOT/.env.production" 2>/dev/null; then

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit f079fefb1050. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: f079fefb10502ff2baa067f2c518b96d7abb819c

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen