T09 · Insecure Skill Coding Practices
- Location
scripts/profile.js:20- Finding
Path Traversal Enables Arbitrary JSON File Access and Deletion
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This astrology skill is coherent overall, but it needs Review because its profile and push scripts allow overbroad local file access and persistent scheduled agent prompts built from user profile data.
Install only if you are comfortable with local storage of names, birth details, family data, preference history, and scheduled fortune messages. Review or fix the userId path handling and scheduled-prompt construction before enabling push features in a shared or multi-user environment.
scripts/profile.js:20Path Traversal Enables Arbitrary JSON File Access and Deletion
scripts/push-toggle.js:122Persistent Prompt Injection Through Untrusted Profile Fields
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Local file creation of user profiles, command-line registration, and push enablement are meaningful data-handling operations not reflected in the high-level description. Even if benignly intended, undisclosed collection and persistence of birth and identity data increase privacy risk and may bypass user expectations about ephemeral assistant interactions.
Referenced artifact was not completely inspected
node scripts/profile.js show <userId>
Referenced artifact was not completely inspected
node scripts/profile.js show <userId>
Referenced artifact was not completely inspected
node scripts/ziwei.js <出生日期> <性别> [时辰]
Referenced artifact was not completely inspected
node scripts/qimen.js [日期] [时辰]
Referenced artifact was not completely inspected
node scripts/zhuanshi.js <YYYY-MM> <活动类型> [用户八字]
Referenced artifact was not completely inspected
node scripts/fengshui.js [八字] [年份]
Referenced artifact was not completely inspected
node scripts/marriage.js <userId1> <userId2>
Referenced artifact was not completely inspected
node scripts/liuyao.js [010203] [问题]
Referenced artifact was not completely inspected
node scripts/push-toggle.js on|off|status <userId>
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
if (rule) rules.push(rule);
}
return rules;
}
/**
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
const dayStem = key[0];
const mz = key.slice(1);
if (mz === branch) {
return rule['主用神'][0];
}
}
return null;
No suspicious patterns detected.