MCP, MCP server
io.github.QuasarG/taste-bank
The front-end style library for coding agents — distill a style once, reuse it everywhere. Swipe styles like you're scrolling TikT
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 c4526dbd2f9c, unchanged since the check below.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
cli/src/commands/keygen.mjs, line 50
try { fs.unlinkSync(FILES.privateKey); } catch {} - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
cli/src/lib/api.mjs, line 31
const res = await fetch(url, { - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
cli/src/lib/api.mjs, line 31
const res = await fetch(url, { - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
scripts/gmail-authorize.mjs, line 15
if (process.env.GMAIL_CLIENT_ID && process.env.GMAIL_CLIENT_SECRET) { - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
package-lock.json, line 1
{
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
Concern
can delete files.
PERMISSION_DELETE_FILES
cli/src/commands/keygen.mjs, line 50
try { fs.unlinkSync(FILES.privateKey); } catch {}
cli/src/commands/keygen.mjs, line 51
try { fs.unlinkSync(FILES.publicKey); } catch {}
cli/src/commands/keygen.mjs, line 52
try { fs.unlinkSync(FILES.author); } catch {}
Show more
src/lib/create.ts, line 75
fs.rmSync(dir, { recursive: true, force: true });
src/lib/create.ts, line 152
fs.rmSync(path.join(STYLES_DIR, slug), { recursive: true, force: true });
src/lib/review.ts, line 56
fs.rmSync(from, { recursive: true, force: true });
src/lib/review.ts, line 79
fs.rmSync(to, { recursive: true, force: true });
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. can reach oauth2.googleapis.com. The description does not name that host. can reach api.github.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
cli/src/lib/api.mjs, line 31
const res = await fetch(url, {
scripts/gmail-authorize.mjs, line 65
const tokenResp = await fetch('https://oauth2.googleapis.com/token', {
scripts/oauth-gmail.mjs, line 40
const r = await fetch('https://oauth2.googleapis.com/token', {
Show more
scripts/sign.mjs, line 19
console.log(`curl -X POST http://127.0.0.1:4321/api/styles.json \\
scripts/sign.mjs, line 24
console.log(`curl -X PUT http://127.0.0.1:4321/api/styles/${slug}.json \\
scripts/sign.mjs, line 29
console.log(`curl -X DELETE http://127.0.0.1:4321/api/styles/${slug}.json \\
src/lib/mail.ts, line 18
const resp = await fetch(GMAIL_TOKEN_URL, {
src/lib/mail.ts, line 73
const resp = await fetch(GMAIL_SEND_URL, {
src/layouts/Base.astro, line 49
<script is:inline>fetch('/api/ping')</script>
src/layouts/Base.astro, line 67
fetch('https://api.github.com/repos/QuasarG/taste-bank')
src/pages/admin.astro, line 182
detailCache.set(slug, fetch(`/api/admin/pending/${slug}.json`).then((r) => r.json()));
Secrets
Note
reads an environment variable.
SECRETS_ENV_READ
scripts/gmail-authorize.mjs, line 15
if (process.env.GMAIL_CLIENT_ID && process.env.GMAIL_CLIENT_SECRET) {
scripts/gmail-authorize.mjs, line 16
return { clientId: process.env.GMAIL_CLIENT_ID, clientSecret: process.env.GMAIL_CLIENT_SECRET };
scripts/oauth-gmail.mjs, line 9
const CLIENT_SECRET = process.env.GMAIL_CLIENT_SECRET;
Show more
src/lib/admin.ts, line 9
const t = process.env.STYLE_LAB_ADMIN_TOKEN;
src/lib/mail.ts, line 12
return !!(process.env.GMAIL_CLIENT_ID && process.env.GMAIL_CLIENT_SECRET && process.env.GMAIL_REFRESH_TOKEN);
src/lib/mail.ts, line 23
client_secret: process.env.GMAIL_CLIENT_SECRET!,
src/lib/mail.ts, line 24
refresh_token: process.env.GMAIL_REFRESH_TOKEN!,
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
package-lock.json, line 1
{
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 c4526dbd2f9c. can delete files. can reach a host that is not written as a fixed address. can reach oauth2.googleapis.com. The description does not name that host. can reach api.github.com. The description does not name that host. reads an environment variable. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: c4526dbd2f9c8485e21db2cef2c940315a478945
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.