T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Remote Installation Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill appears to generate wedding invitation images as advertised, but it needs Review because it exposes the API token through command-line arguments and documents mutable install commands.
Install only from a pinned, trusted release if possible. Use a low-privilege or short-lived Neta token, avoid running this with a literal token on shared machines or in CI logs, and rotate any token that may have been saved in shell history. Expect your prompt, optional reference UUID, and token to be sent to api.talesofai.com.
SKILL.md:31Unpinned Remote Installation Creates a Supply-Chain Risk
weddinginvitationgenerator.js:13API Token Is Exposed Through Command-Line Arguments
The README instructs users to install and execute tooling via npx skills without pinning a specific version. This creates a supply-chain risk: users may fetch and run whatever package/version is current at install time, including a compromised or typosquatted release. In a skill-distribution context, that increases exposure because installation implicitly executes remote code on the user's machine.
The README repeatedly tells users to pass the API token with --token YOUR_TOKEN and even states this is the only supported method. Command-line arguments can be exposed through shell history, process listings, logging, crash reports, and CI job output, which can leak the credential to other local users or systems. Because this is an API token for an external service, theft could enable unauthorized usage and billing abuse.
The skill declares only tools: Bash and does not constrain network-capable behavior with explicit tool scope or permissions, even though the documented workflow depends on an external API token and network access. In an agent setting, this can cause overbroad execution rights and unexpected outbound requests, increasing the risk of data exfiltration or misuse if the script or future updates behave unsafely.
Line L20 says to use the skill when someone asks to 'generate or create ai wedding invitation design generator images,' which is ambiguous and not a specific trigger phrase set. It lacks clear scope, examples, or exclusion conditions, increasing the chance of unintended invocation for loosely related wedding-design requests.
The install instruction uses npx skills add omactiengartelle/wedding-invitation-generator without pinning a specific version or immutable reference. This creates a supply-chain risk: users may install a changed or compromised package later than the one reviewed, and an attacker controlling the upstream package or dependency resolution path could deliver malicious content.
The script accepts an API token on the command line and then uses it in outbound requests. Command-line secrets are commonly exposed through shell history, process listings, CI logs, and telemetry, so this creates avoidable credential leakage risk even though the transport itself uses HTTPS.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
let res;
try {
res = await fetch('https://api.talesofai.com/v3/make_image', {
method: 'POST',
headers,
body: JSON.stringify(body),
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
let res;
try {
res = await fetch('https://api.talesofai.com/v3/make_image', {
method: 'POST',
headers,
body: JSON.stringify(body),
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
let res;
try {
res = await fetch('https://api.talesofai.com/v3/make_image', {
method: 'POST',
headers,
body: JSON.stringify(body),
No suspicious patterns detected.