T08 · Insecure Dependencies
- Location
scripts/add_dependencies.py:17- Finding
Unverified Third-Party Dependencies Are Added from Mutable External Sources
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a Defold game-development reference skill with a user-run helper for adding common libraries; the main risks are ordinary dependency and documentation cautions, not hidden or malicious behavior.
Install this if you want Defold-specific help. Be aware that generic game prompts may activate it, and only run scripts/add_dependencies.py on a project file you intend to modify. Review the GitHub dependencies before adding them, since the skill does not provide checksums or immutable pinned commits.
scripts/add_dependencies.py:17Unverified Third-Party Dependencies Are Added from Mutable External Sources
The trigger list contains generic phrases such as 'Mobile game', 'Build a game', and 'Game engine' that are not specific to Defold. This can cause the skill to activate for unrelated game-development requests, leading the agent to provide off-target guidance or override a more appropriate skill, which is a scope and routing vulnerability rather than a code-execution issue.
The manifest includes broad trigger phrases such as 'build a game', 'game engine', 'create game', and 'sprite animation' that are not specific to Defold and could cause this skill to activate for unrelated game-development requests. Overbroad activation can route users into specialized guidance when another engine or a general solution is more appropriate, increasing the chance of incorrect or unsafe assistance in downstream tasks.
At L064 the text explicitly says bundle resources are "Read-write," but the code sample at L067-L070 opens a bundled file only for reading. In typical packaged-app contexts, bundle resources are not generally writable at runtime across platforms, so this documentation appears to contradict the demonstrated behavior and likely the real capability.
Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
end
## Gamepad Input
```lua
function on_input(self, action_id, action)
Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.
lines.insert(i + 1, dep_line)
break
path.write_text("\n".join(lines))
print(f"Added: {dep_name}")
return True
The file includes bilingual content such as Chinese trigger phrases and mixed-language descriptive text, but it does not state whether the skill supports multiple languages by default or how language is selected. Under the policy, language behavior should be opt-in or clearly documented rather than implicitly imposed.
This markdown file includes an os.remove("file.txt") example, which performs irreversible file deletion, but the surrounding text does not warn readers that the operation is destructive. For documentation that demonstrates filesystem modification, a brief caution helps prevent accidental data loss when readers adapt the snippet.
No suspicious patterns detected.