Back to skill

Security audit

meta-long-lived-token

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with high confidence: it found no AIG issues, and the credential-related matches were judged unlikely to indicate risk in this token-focused skill.

The verdict is benign, not a guarantee of zero risk. The scan reports complete coverage of the single Markdown component, which it found non-executable; consider whether the token-related guidance matches your needs before installing.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 73)May include surrounding context.

md
1. Vào `developers.facebook.com/tools/explorer`
2. Chọn app (loại Business)
3. Thêm quyền cần dùng — tối thiểu `ads_read` (thêm `ads_management` nếu cần ghi; thêm `pages_manage_posts`, `pages_read_engagement` nếu dùng page)
4. **Generate Access Token** → đăng nhập → cho phép
5. Copy token (bắt đầu bằng `EAA...`) — token này chỉ sống ~1–2h

## 3. Đổi sang long-lived token

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 146)May include surrounding context.

md
|---|---|---|
| `Error validating client secret.` (code 1) | **App Secret sai/thiếu/rỗng** — hoặc `client_id` không khớp secret | Kiểm tra Secret (32 hex) + App ID (dãy số). **Không** đổ cho token. |
| `(#200) Provide valid app ID` | `client_id` sai/thiếu | Kiểm tra `APP_ID` |
| `Invalid OAuth access token - Cannot parse access token` (190) | **Token đầu vào** rỗng/hỏng | Kiểm tra bước 0 — có đọc được token từ config không? |
| `Invalid OAuth access token` + expired | Token **hết hạn** | Xin token mới ở Graph Explorer |
| `190` + subcode `459` + `checkpoint_url` | Tài khoản FB bị **checkpoint** | Vào facebook.com xử lý cảnh báo rồi lấy token mới |
| `190` + subcode `460` | Mật khẩu FB đổi / phiên thu hồi | Lấy token mới |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 146)May include surrounding context.

md
|---|---|---|
| `Error validating client secret.` (code 1) | **App Secret sai/thiếu/rỗng** — hoặc `client_id` không khớp secret | Kiểm tra Secret (32 hex) + App ID (dãy số). **Không** đổ cho token. |
| `(#200) Provide valid app ID` | `client_id` sai/thiếu | Kiểm tra `APP_ID` |
| `Invalid OAuth access token - Cannot parse access token` (190) | **Token đầu vào** rỗng/hỏng | Kiểm tra bước 0 — có đọc được token từ config không? |
| `Invalid OAuth access token` + expired | Token **hết hạn** | Xin token mới ở Graph Explorer |
| `190` + subcode `459` + `checkpoint_url` | Tài khoản FB bị **checkpoint** | Vào facebook.com xử lý cảnh báo rồi lấy token mới |
| `190` + subcode `460` | Mật khẩu FB đổi / phiên thu hồi | Lấy token mới |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 147)May include surrounding context.

md
| `Error validating client secret.` (code 1) | **App Secret sai/thiếu/rỗng** — hoặc `client_id` không khớp secret | Kiểm tra Secret (32 hex) + App ID (dãy số). **Không** đổ cho token. |
| `(#200) Provide valid app ID` | `client_id` sai/thiếu | Kiểm tra `APP_ID` |
| `Invalid OAuth access token - Cannot parse access token` (190) | **Token đầu vào** rỗng/hỏng | Kiểm tra bước 0 — có đọc được token từ config không? |
| `Invalid OAuth access token` + expired | Token **hết hạn** | Xin token mới ở Graph Explorer |
| `190` + subcode `459` + `checkpoint_url` | Tài khoản FB bị **checkpoint** | Vào facebook.com xử lý cảnh báo rồi lấy token mới |
| `190` + subcode `460` | Mật khẩu FB đổi / phiên thu hồi | Lấy token mới |
| Lỗi 4xx "giả" dù token đúng | Token nhét thẳng vào URL bị shell cắt | Dùng `curl -G --data-urlencode` |