Codex, Plugin
Html2Wp Codex Plugin
HTML to WordPress — compared pixel by pixel against the original, and still editable.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Pattern found, check before installing
The checks matched a pattern that needs a closer look. It does not mean the code is harmful. Read the quoted lines below.
- NETWORK_HOST_FROM_INPUT High
host from input plus a credential path in operative code
NETWORK_HOST_FROM_INPUT PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL
Why this grade
- NETWORK_HOST_FROM_INPUT High
A file takes a URL or endpoint as input and has no fixed host list.
plugins/html2wp/skills/html2wp/assets/scripts/allowance.sh, line 31
HTTP="$(curl -sS --connect-timeout 15 --max-time 30 -o "$TMP" -w '%{http_code}' \ - PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
plugins/html2wp/skills/html2wp/assets/scripts/apply-change.py, line 87
up = subprocess.run(["bash", str(HERE / "test-env.sh"), "up", slug], cwd=ws, capture_output=True, - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
plugins/html2wp/skills/html2wp/assets/scripts/html-to-astro.mjs, line 169
// id_rsa, credentials.json, .npmrc - into public/, then into dist/, then into
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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
Concern
requests shell access. No manifest field names shell or command execution. can delete files.
PERMISSION_SHELL_UNDECLARED PERMISSION_DELETE_FILES
plugins/html2wp/skills/html2wp/assets/scripts/apply-change.py, line 87
up = subprocess.run(["bash", str(HERE / "test-env.sh"), "up", slug], cwd=ws, capture_output=True,
plugins/html2wp/skills/html2wp/assets/scripts/apply-change.py, line 203
built = subprocess.run(["npm", "run", "build"], cwd=project, capture_output=True, text=True, timeout=900)
plugins/html2wp/skills/html2wp/assets/scripts/apply-change.py, line 265
run = subprocess.run([sys.executable, str(HERE / "install-theme.py"), "--env", str(state_path),
Show more
plugins/html2wp/skills/html2wp/assets/scripts/apply-change.py, line 340
run = subprocess.run([sys.executable, str(HERE / "install-theme.py"), "--env", str(state_path),
plugins/html2wp/skills/html2wp/assets/scripts/astro-delivery.py, line 33
result = subprocess.run(list(map(str, command)), cwd=cwd or candidate, env=env,
plugins/html2wp/skills/html2wp/assets/scripts/audit-woo-coverage.py, line 138
r = subprocess.run(shlex.split(args.wp_cli) + shlex.split(cmd),
plugins/html2wp/skills/html2wp/assets/scripts/compare-pages.py, line 372
workers.append((partial, subprocess.Popen(
plugins/html2wp/skills/html2wp/assets/scripts/compare-pages.py, line 387
shutil.rmtree(tmp, ignore_errors=True)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
plugins/html2wp/skills/html2wp/assets/scripts/allowance.sh, line 31
HTTP="$(curl -sS --connect-timeout 15 --max-time 30 -o "$TMP" -w '%{http_code}' \
plugins/html2wp/skills/html2wp/assets/scripts/apply-change.py, line 73
with urllib.request.urlopen(urllib.request.Request(url, method="HEAD"), timeout=10) as r:
plugins/html2wp/skills/html2wp/assets/scripts/audit-woo-coverage.py, line 117
with urllib.request.urlopen(req, timeout=30) as r:
Show more
plugins/html2wp/skills/html2wp/assets/scripts/audit-woo-coverage.py, line 205
with urllib.request.urlopen(req, timeout=30) as r:
plugins/html2wp/skills/html2wp/assets/scripts/audit-woo-coverage.py, line 402
const r = await fetch(root + 'wc/store/v1/cart', {credentials: '
plugins/html2wp/skills/html2wp/assets/scripts/convert-remote.sh, line 502
# The key reaches python through the environment and curl through a file:
plugins/html2wp/skills/html2wp/assets/scripts/convert-remote.sh, line 535
RAW="$(curl -sS --connect-timeout 20 --max-time 60 \
plugins/html2wp/skills/html2wp/assets/scripts/convert-remote.sh, line 621
# The `000` arm was the opposite of what it looked like: `curl -w
plugins/html2wp/skills/html2wp/assets/scripts/optimize-images.py, line 144
got, why = fetch(url)
plugins/html2wp/skills/html2wp/assets/scripts/quick-check.py, line 112
with urllib.request.urlopen(request, timeout=60) as response:
plugins/html2wp/skills/html2wp/assets/scripts/test-env-request-limits.sh, line 43
code="$(curl -s -o /dev/null -w '%{http_code}' --max-time 5 "http://127.0.0.1:$port/wp-login.php" || echo 000)"
plugins/html2wp/skills/html2wp/assets/scripts/test-env-request-limits.sh, line 47
curl -s -o /dev/null -w '%{http_code}' --max-time 10 -H "Cookie: $cookie" "http://127.0.0.1:$port/wp-admin/" || echo 000
plugins/html2wp/skills/html2wp/assets/scripts/test-env.sh, line 470
code="$(curl -s -o /dev/null -w '%{http_code}' --max-time 5 "http://127.0.0.1:$1/" 2>/dev/null || true)"
plugins/html2wp/skills/html2wp/assets/scripts/test-wp-relay.py, line 82
with urllib.request.urlopen(f'http://localhost:{self.port}/', timeout=10) as response:
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
plugins/html2wp/skills/html2wp/assets/scripts/convert-remote.sh, line 507
key = os.environ.get('H2WP_PRIVATE_KEY', '').strip()
plugins/html2wp/skills/html2wp/assets/scripts/html-to-astro.mjs, line 168
// names. Everything else in the folder the user pointed at came too - .env,
plugins/html2wp/skills/html2wp/assets/scripts/html-to-astro.mjs, line 169
// id_rsa, credentials.json, .npmrc - into public/, then into dist/, then into
Show more
plugins/html2wp/skills/html2wp/assets/scripts/make-zip.sh, line 385
STRAY="$(unzip -Z1 "$OUT" | grep -E '\.(py|pyc|log|sql)$|(credentials|secret|\.env)' || true)"
plugins/html2wp/skills/html2wp/assets/scripts/test-build-sandbox.sh, line 45
printf 'DECOY-KEY-%s\n' "$RANDOM$RANDOM" > "$DECOY/.ssh/id_rsa"
plugins/html2wp/skills/html2wp/assets/scripts/test-build-sandbox.sh, line 62
"for (const p of [os.homedir()+'/.ssh/id_rsa', %r+'/.ssh/id_rsa']) {"
plugins/html2wp/skills/html2wp/assets/scripts/test-build-sandbox.sh, line 84
CANARY="$(cat "$DECOY/.ssh/id_rsa")"
plugins/html2wp/skills/html2wp/assets/scripts/test-build-sandbox.sh, line 107
ln -s "$TMP/home/.ssh/id_rsa" "$TMP/output/leak.txt"
plugins/html2wp/skills/html2wp/assets/scripts/test-payload-allowlist.py, line 61
".env", ".env.local", ".envrc", ".npmrc", ".netrc",
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
plugins/html2wp/skills/html2wp/SKILL.md, line 1
---
plugins/html2wp/skills/html2wp/assets/scripts/gutenberg-plan.py, line 1
#!/usr/bin/env python3
plugins/html2wp/skills/html2wp/assets/scripts/prerender-spa.py, line 1
#!/usr/bin/env python3
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 addb97d06de7. requests shell access. No manifest field names shell or command execution. can delete files. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: addb97d06de7b46607cbf0a88bf36751284fda98
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.