Agent skill · Audited from source
Codebase Audit
skill · TencentCloudBase/CloudBase-MCPMIT licenceAudited 10 Oct 2026 · source 7d16f0c5570c
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 7d16f0c5570c and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 7 findings, 0 critical or high. What it does: Perform a full codebase review, categorize findings by severity, file GitHub issues, then fix each issue in an isolated git worktree and submit PRs. Use this skill when the user asks to audit the codebase, do a…
Cite
Cite this page
ModelsAtlas. “Codebase Audit (TencentCloudBase/CloudBase-MCP)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/tencentcloudbase/codebase-audit
Trust audit
Audit 0.4.1 · source read 10 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 5 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 1 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (7)
MEDIUMInventory / provenanceinv.symlink · .agents/skills/api-contract-review
.agents/skills/api-contract-review
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/cloud-api-recipe-authoring
.agents/skills/cloud-api-recipe-authoring
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/codebuddy-ide-mcp-upgrade
.agents/skills/codebuddy-ide-mcp-upgrade
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/doc-freshness-review
.agents/skills/doc-freshness-review
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/docs-workflows
.agents/skills/docs-workflows
- Why
- link not followed
- Fix
- —
LOWNetwork egressnet.metadata_ip · references/security-severity-checklist.md:174
- [ ] Cloud metadata service accessible via SSRF (169.254.169.254)
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
INFOPrompt injectionprompt.authority_framing · references/security-severity-checklist.md:25
- [ ] Falls into one of: remote arbitrary command execution, arbitrary code execution, SQL injection yielding system-level exec permissions, buffer overflow, root/elevated privilege escalation, cluste
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 7d16f0c5570c · 10 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherTencentCloudBase GitHub organizationOwner of the repository this skill is read from
- Source folderTencentCloudBase/CloudBase-MCP/skills/codebase-auditThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict7d16f0c5570cA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Perform a full codebase review, categorize findings by severity, file GitHub issues, then fix each issue in an isolated git worktree and submit PRs. Use this skill when the user asks to audit the codebase, do a…
---
name: codebase-audit
description: Perform a full codebase review, categorize findings by severity, file GitHub issues, then fix each issue in an isolated git worktree and submit PRs. Use this skill when the user asks to audit the codebase, do a comprehensive code review, find and fix security/quality/reliability issues, or run a proactive health check across the entire repository.
alwaysApply: false
---
# Codebase Audit → Issue → Worktree Fix → PR
End-to-end workflow: systematically review the entire codebase, report findings as GitHub issues, fix each issue in an isolated git worktree, and submit PRs — all in one session.
## When to use this skill
Use this skill when you need to:
- Perform a full code review / audit of the codebase
- Proactively find security vulnerabilities, logic bugs, or code quality problems
- Turn code review findings into tracked GitHub issues
- Fix each issue in isolation (worktree per issue) and submit PRs
- Run a periodic codebase health check with automated follow-through
- Audit and fix dependency security vulnerabilities (Dependabot alerts / npm audit)
**Do NOT use for:**
- Reviewing or fixing a single known bug (use `systematic-debugging` or direct fix)
- Triaging existing open PRs (use `pr-review-fix`)
- Processing attribution issues (use `mcp-attribution-worktree`)
- Feature development or refactoring unrelated to audit findings
## Workflow
### Phase 1 — Review
1. Read `references/review-strategy.md` for the review scope and checklist.
2. Use the `code-explorer` subagent to read ALL source files in the target directory (default: `mcp/src/`).
3. For each file, systematically check against the review checklist:
- **Security**: path traversal, injection, unvalidated input, hardcoded secrets, improper error exposure
- **Error handling**: missing try-catch, swallowed errors, error messages leaking internals
- **Type safety**: `as any`, unsafe casts, missing null checks
- **Logic bugs**: race conditions, incorrect conditionals, unreachable code
- **Code quality**: dead code, duplication, overly complex functions
- **Resource leaks**: unclosed connections, missing cleanup
- **API design**: inconsistent validation, missing required field checks
4. Record every finding with: file path, line number(s), category, severity (Critical/High/Medium/Low), description, and suggested fix.
5. **Dependency scan**: Read `references/dependency-audit.md` and run the Dependabot alert fetch + `npm audit` to discover vulnerable dependencies. Record each finding using the dependency-audit format.
### Phase 2 — Analyze & Classify
1. Read `references/classification.md` for severity definitions and grouping rules.
2. Deduplicate findings — merge instances of the same pattern across files.
3. Group findings into **fix batches** — related issues that should be fixed together in one PR.
4. Assign severity and priority:
- **P0 (Critical)**: Security vulnerabilities, data loss risks
- **P1 (High)**: Logic bugs, error handling gaps that cause runtime failures
- **P2 (Medium)**: Type safety, code quality issues affecting maintainability
- **P3 (Low)**: Style, naming, minor cleanup
5. Present a structured audit report to the user and wait for confirmation before proceeding.
### Phase 3 — Create GitHub Issues
1. Read `references/issue-workflow.md` for issue creation guidelines.
2. For each fix batch (or individual Critical finding), create a GitHub issue:
```bash
gh issue create --title "<type>(<scope>): <summary>" --body "<structured body>" --label "<severity>,<category>"
```
3. Issue body must include: affected files, line numbers, problem description, expected behavior, and suggested fix approach.
4. Link related issues when findings are connected.
5. Present the created issues to the user.
### Phase 4 — Worktree Fix
1. Read `references/worktree-fix.md` for the isolation and fix procedure.
2. For each issue (in priority order):
a. Create an isolated worktree and branch:
```bash
git worktree add ../<repo>-audit-fix-<issue-number> -b fix/<slug>-<issue-number> origin/main
```
b. Work inside the worktree — never in the main checkout.
c. Implement the fix, keeping changes minimal and focused.
d. Verify locally: `cd mcp && npm run build && npm run test`
e. Commit with conventional-changelog format:
```bash
git commit -m 'fix(<scope>): 🔒 <english description>
Closes #<issue-number>'
```
f. Push and create PR:
```bash
git push github fix/<slug>-<issue-number>
gh pr create --title "fix(<scope>): 🔒 <summary>" --body "Closes #<issue-number>\n\n<description>" --base main
```
g. Remove the worktree after PR is created:
```bash
cd <original-dir>
git worktree remove ../<repo>-audit-fix-<issue-number>
```
3. One worktree per issue. Never mix fixes across worktrees.
4. **Dependency fixes**: For dependency vulnerability batches, follow `references/dependency-audit.md` Step 4. These can be grouped into a single PR since they modify `package.json` / `package-lock.json`.
### Phase 5 — Verify & Report
1. Read `references/verification.md` for the verification checklist.
2. Check CI status for each PR:
```bash
gh pr checks <number>
```
3. If CI fails, re-enter the worktree, fix, and push again.
4. Generate a final audit report summarizing:
- Total findings by category and severity
- Issues created (with links)
- PRs submitted (with links)
- Remaining items that need human decision
## Routing
| Task | Read |
| --- | --- |
| What to review and how to check each category | `references/review-strategy.md` |
| Security severity classification (TSRC-style) | `references/security-severity-checklist.md` |
| How to classify, deduplicate, and batch findings | `references/classification.md` |
| How to create well-structured GitHub issues | `references/issue-workflow.md` |
| How to create worktrees and fix issues in isolation | `reExcerpt, first 6,002 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 7d16f0c
npm install <package>@<patched-version> --save # direct dep npm install <parent-package>@<latest> --save # transitive via parent npm install
git clone https://github.com/TencentCloudBase/CloudBase-MCP git -C CloudBase-MCP checkout 7d16f0c5570c
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 7d16f0c5570c only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
7d16f0c5570c
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/tencentcloudbase/codebase-audit/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →TencentCloudBase/CloudBase-MCP
Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially…
TencentCloudBase/CloudBase-MCP
Use when auditing repository documentation for drift, stale statements, broken references, or README mismatches, especially across published docs under `doc/` and key entry surfaces such as `README.md` (English…
TencentCloudBase/CloudBase-MCP
Documentation and extension workflows derived from local slash commands (docs, explanation, issues, prototypes, tutorials, MCP design review).
TencentCloudBase/CloudBase-MCP
Reusable git delivery workflows derived from local slash commands (commit, push, PR, release notes, GitHub Actions failure triage with worktree-based fixes, and isolating your own changes from a shared dirty workspace).
TencentCloudBase/CloudBase-MCP
Analyze, standardize, validate, and sync locally maintained skills into agent skill directories with a `skills` CLI-aligned workflow. Use this skill when Codex needs to turn ad-hoc prompt or rules folders into reusable…
TencentCloudBase/CloudBase-MCP
Spec and no-spec planning workflows derived from local slash commands (requirements, design, tasks).
Add this badge to your README
[](https://modelsatlas.com/skills/tencentcloudbase/codebase-audit/)
<a href="https://modelsatlas.com/skills/tencentcloudbase/codebase-audit/"><img src="https://modelsatlas.com/skills/tencentcloudbase/codebase-audit/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Codebase Audit
What does the Codebase Audit skill do?
Is Codebase Audit safe to install?
What can Codebase Audit access on my machine?
How current is this page?
Sources
- github.com/TencentCloudBase/CloudBase-MCP/tree/main/skills/codeb — the audited source at commit 7d16f0c5570c and every finding aboveObserved · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Codebase Audit skill do?
- Is Codebase Audit safe to install?
- What can Codebase Audit access on my machine?