Claude Code, Skill
Sub2Api 4K Image Generator Ts
Sub2Api 4K Image Generator Ts, a skill listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 890addb9d3a7, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
sub2api-4k-image-generator-ts/openai_4k_image_request.py, line 128
with urllib.request.urlopen(req, timeout=timeout) as resp: - SECRETS_PATH_DOTENV Low
Mentions a .env file.
sub2api-4k-image-generator-ts/scripts/env.ts, line 4
export function loadDotEnv(path = ".env"): void { - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
sub2api-4k-image-generator-ts/openai_4k_image_request.py, line 289
default=os.environ.get("SUB2API_API_KEY", ""),
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 execution found, and no extra permission was declared.
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
sub2api-4k-image-generator-ts/openai_4k_image_request.py, line 128
with urllib.request.urlopen(req, timeout=timeout) as resp:
sub2api-4k-image-generator-ts/openai_4k_image_request.py, line 200
with urllib.request.urlopen(req, timeout=timeout) as resp:
sub2api-4k-image-generator-ts/scripts/request.ts, line 12
const response = await fetch(url, {
Show more
sub2api-4k-image-generator-ts/scripts/request.ts, line 37
const response = await fetch(url, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
sub2api-4k-image-generator-ts/openai_4k_image_request.py, line 289
default=os.environ.get("SUB2API_API_KEY", ""),
sub2api-4k-image-generator-ts/scripts/env.ts, line 4
export function loadDotEnv(path = ".env"): void {
.gitignore, line 1
node_modules/
Show more
README.en.md, line 69
- inspect the local `.env` or process environment for `SUB2API_BASE_URL` and `SUB2API_API_KEY`
README.en.md, line 78
Create or update `.env` where you run the CLI:
README.en.md, line 134
Use this script when you want to send sub2api/OpenAI-compatible image generation requests without entering the Node/TypeScript toolchain. It reads `SUB2API_BASE_URL`, `SUB2API_API_
README.en.md, line 185
│ ├── env.ts # .env loading and key masking
README.md, line 69
- 检查本地 `.env` 或 process environment 中的 `SUB2API_BASE_URL` 和 `SUB2API_API_KEY`
README.md, line 78
在运行 CLI 的目录创建或更新 `.env`:
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 890addb9d3a7. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 890addb9d3a7c567c64921c330f0a63d0fd5d6ee
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.