T09 · Insecure Skill Coding Practices
- Location
references/examples.md:798- Finding
PayPal and Klarna Payment Stubs Unconditionally Approve Transactions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is an e-commerce coding guide, but its production-looking examples include unsafe payment and account-handling patterns that users should review before relying on them.
Install only if you want general e-commerce reference material and will treat the large code example as illustrative, not production-ready. Before using any payment, refund, fulfillment, or account code, require sandbox credentials, real provider verification, webhook validation, least-privilege service credentials, privacy review for customer/order data, and response DTOs that never expose password hashes or tokens.
references/examples.md:798PayPal and Klarna Payment Stubs Unconditionally Approve Transactions
references/examples.md:1307Authentication Services Return Customer Records Containing Password Hashes
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
},
});
// Send return instructions
await this.sendReturnInstructions(order, returnRecord);
return returnRecord;
The example demonstrates creating Stripe payment intents and issuing refunds, which are safety-critical financial actions with potentially irreversible consequences. The markdown surrounding the example does not disclose that these operations can charge customers or return funds if adapted with live credentials.
This markdown file includes code that sends order email addresses, order details, items, and shipping addresses to SQS queues for email and fulfillment processing. Under the markdown-file criteria, the description provides no warning that the example transmits user data to external services, which could affect privacy expectations.
No suspicious patterns detected.