Skip to main content

onenote-debug-bundle

Generates diagnostic bundles for OneNote Graph API issues, aiding in troubleshooting and support ticket filing.

Install this skill

or
67/100

Security score

The onenote-debug-bundle skill was audited on May 21, 2026 and we found 13 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 108

Template literal with variable interpolation in command context

SourceSKILL.md
108const expiresIn = isExpired ? `Expired ${diff}s ago` : `${Math.floor(diff / 60)}m remaining`;
medium line 192

Template literal with variable interpolation in command context

SourceSKILL.md
192if (missing.length > 0) console.error(`Missing scopes: ${missing.join(", ")}`);
medium line 193

Template literal with variable interpolation in command context

SourceSKILL.md
193if (isExpired) console.error(`Token expired: ${expiresIn}`);
medium line 200

Template literal with variable interpolation in command context

SourceSKILL.md
200failures.forEach((f) => console.error(`[${f.requestId}] ${f.method} ${f.url} -> ${f.status}`));
medium line 234

Template literal with variable interpolation in command context

SourceSKILL.md
234writeFileSync(`onenote-debug-${Date.now()}.json`, JSON.stringify(bundle, null, 2));
low line 240

Access to .env file

SourceSKILL.md
240const t = process.env.GRAPH_TOKEN;
low line 158

Base64 decode operation

SourceSKILL.md
158bundle["token_claims"] = json.loads(base64.urlsafe_b64decode(parts[1] + "=="))
low line 99

Buffer.from base64 decode

SourceSKILL.md
99return JSON.parse(Buffer.from(padded, "base64").toString("utf-8"));
low line 134

External URL reference

SourceSKILL.md
134url = f"https://graph.microsoft.com/v1.0{endpoint}"
low line 216

External URL reference

SourceSKILL.md
216| JWT decode fails | Token is opaque (v1) | Graph tokens should be v2 JWT; check `aud` matches `https://graph.microsoft.com` |
low line 248

External URL reference

SourceSKILL.md
248- [OneNote API Overview](https://learn.microsoft.com/en-us/graph/api/resources/onenote-api-overview)
low line 249

External URL reference

SourceSKILL.md
249- [OneNote Error Codes](https://learn.microsoft.com/en-us/graph/onenote-error-codes)
low line 250

External URL reference

SourceSKILL.md
250- [Graph API Known Issues](https://learn.microsoft.com/en-us/graph/known-issues)
Scanned on May 21, 2026
View Security Dashboard
Installation guide →