T09 · Insecure Skill Coding Practices
- Location
submit-quiz.js:30- Finding
Irreversible Quiz Submission Without Explicit User Confirmation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill openly automates AP Classroom work, but it can answer and submit live assignments from a logged-in browser without adequate final confirmation, target validation, or disclosure.
Review before installing or using. Only run this in an isolated browser profile if you fully understand that it can act as the logged-in College Board user, capture assignment screenshots, select answers, advance questions, and submit real coursework. Do not use the submission scripts unless you add explicit review and confirmation checks and verify the target page, course, and assignment.
submit-quiz.js:30Irreversible Quiz Submission Without Explicit User Confirmation
complete-quiz.js:16Default Automated Workflow Submits Option A for Every Question
submit-quiz.js:16Authenticated Browser Actions Use the First Open Tab and Generic Forced Selectors
answer-question.js:1Playwright Is Loaded From a Hard-Coded External Workspace Path
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
The tool is described as completing homework across subjects, but the actual behavior appears limited to submitting an already-open page and taking screenshots before and after. In a live classroom account, undisclosed submission and screenshot actions can affect grades and capture sensitive educational information, making the mismatch security-significant.
Referenced artifact was not completely inspected
| `select-course.js` | 切换 AP 课程 | `node select-course.js` |
Referenced artifact was not completely inspected
| `check-homework.js` | 检查待完成作业 | `node check-homework.js` |
Referenced artifact was not completely inspected
| `get-questions.js` | 获取当前题目和选项 | `node get-questions.js` |
Referenced artifact was not completely inspected
| `complete-quiz.js` | 完整自动化流程 | 需要编辑答题逻辑 |
The script automatically clicks Submit and then confirms submission without any user confirmation, dry-run mode, or last-minute review. In this skill's context—an AP Classroom automation that uses the currently logged-in browser to complete and submit graded work—this can irreversibly submit incorrect or unauthorized answers, causing academic harm and misuse of the user's authenticated session.
The output explicitly offers to help choose answers for an assignment, which supports academic cheating rather than legitimate accessibility or study assistance. In the context of a skill marketed to complete AP Classroom work automatically using the user’s logged-in browser, this materially increases policy, integrity, and account-enforcement risk.
The comment claims the code will only disconnect and keep the browser open, but it actually calls browser.close(). When connected over CDP to the user’s active browser session, closing the browser can terminate unrelated tabs, disrupt workflows, and cause loss of unsaved data or session state.
The documentation instructs users to launch Chrome with a remote debugging port while logged into College Board, but does not explain that this exposes powerful browser control over an authenticated session. If the port is reachable by other local users or software, an attacker or unintended tool could inspect pages, extract data, or perform actions as the user.
The examples explicitly walk the user through opening AP Classroom quizzes, selecting answers, and submitting them, but they do not prominently warn that this automation can act on graded coursework and cause irreversible submissions. In this skill's context, the functionality is specifically aimed at completing school assessments on a logged-in student session, which makes accidental or unauthorized grade-impacting actions materially dangerous.
This markdown file uses Chinese throughout for headings, instructions, and usage steps, but it does not indicate that Chinese is optional or that the skill is intended only for a Chinese-speaking audience. That creates a natural-language policy concern because the skill effectively forces a specific language without user opt-in.
The README explicitly documents a workflow to open assignments, retrieve questions, select answers, and submit quizzes, but does not warn about academic-integrity violations, account sanctions, or platform terms-of-service risks. In this skill’s context, the advertised purpose is to complete AP Classroom assignments automatically using the user’s logged-in browser session, which increases the likelihood of misuse and makes the omission materially dangerous.
The release notes explicitly document capabilities to answer questions and submit AP Classroom coursework, but they do not include any warning, consent boundary, or restriction around academic-integrity and account-impacting actions. In the context of a browser-automation skill operating on a logged-in student account, this increases the risk of unauthorized submission, policy violations, and accidental changes with real academic consequences.
The skill promotes automatic completion and submission of academic assignments without warning about academic-integrity violations, account sanctions, or the risks of acting on a logged-in student session. In this context, omission of such warnings increases the likelihood of misuse and unintended harm to the user's educational standing.
The instructions describe submission automation but do not clearly state that the actions affect live assignments and may be irreversible. For educational platforms, hidden or understated real-world effects are dangerous because they can lead to accidental submission, grade impact, and disciplinary consequences.
The comment claims the script will only disconnect and not affect the browser, but the code later calls browser.close(). In a CDP-attached automation context, misleading lifecycle claims can cause unintended disruption of the user's active browser session and undermine trust in what the script actually does.
No suspicious patterns detected.