T09 · Insecure Skill Coding Practices
Error
- Location
- temp/extracted.xml:12
- Finding
- Real Customer, Banking, Tax, and Invoice Data Stored in Plaintext Artifacts<![CDATA[ ## Vulnerability Details **File Location**: `temp/extracted.xml:12-154`; duplicated in `temp/extracted_zugferd.xml:12-154` **Vulnerability Type**: Plaintext sensitive-data exposure **Risk Level**: High ### Vulnerable Code/Data Snippet ```xml <rsm:ExchangedDocument> <ram:ID>RE0182</ram:ID> <ram:TypeCode>380</ram:TypeCode> <ram:IssueDateTime> <udt:DateTimeString format="102">20260228</udt:DateTimeString> </ram:IssueDateTime> </rsm:ExchangedDocument> <ram:SellerTradeParty> <ram:Name>QuantX GmbH</ram:Name> <ram:DefinedTradeContact> <ram:PersonName>Heiko Hänsel</ram:PersonName> <ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+491604784131</ram:CompleteNumber> </ram:TelephoneUniversalCommunication> <ram:EmailURIUniversalCommunication> <ram:URIID>Info@quantx.gmbh</ram:URIID> </ram:EmailURIUniversalCommunication> </ram:DefinedTradeContact> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">207/116/00362</ram:ID> </ram:SpecifiedTaxRegistration> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">DE328725694</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty> <ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>1</ram:TypeCode> <ram:Information>Überweisung</ram:Information> <ram:PayeePartyCreditorFinancialAccount> <ram:IBANID>DE43110101015027834960</ram:IBANID> <ram:AccountName>QuantX GmbH</ram:AccountName> </ram:PayeePartyCreditorFinancialAccount> <ram:PayeeSpecifiedCreditorFinancialInstitution> <ram:BICID>SOBKDEB2XXX</ram:BICID> </ram:PayeeSpecifiedCreditorFinancialInstitution> </ram:SpecifiedTradeSettlementPaymentMeans> ``` The same invoice record, including the same sensitive values, is present in `temp/extracted_zugferd.xml`. ### Technical Analysis The distributed project includes runtime-generated invoice artifacts containing real-looking pers ...[truncated 1502 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove `temp/extracted.xml` and `temp/extracted_zugferd.xml` from the distributed package and version-control history. 2. Review whether the exposed personal and financial identifiers require incident notification, credential review, or other action under applicable privacy and financial-data policies. 3. Add generated artifacts to `.gitignore`, for example: ```gitignore temp/* !temp/.gitkeep ``` 4. Do not use real invoices as repository fixtures. Replace them with synthetic records containing fictitious names, addresses, tax numbers, account identifiers, and transaction values. 5. Add automated secret and sensitive-data scanning to commits and release pipelines. 6. Store temporary invoice data only in owner-restricted, per-execution directories and delete it when processing completes. ]]>
