codevasp-travel-rule-guide

Warn

Audited by Socket on Nov 10, 2026

16 alerts found:

Securityx6Anomalyx10
SecurityMEDIUM
references/samples/go/asset_transfer_authorization_test.go

The code appears to be an integration test for an encrypted and signed cryptocurrency transfer, not an obfuscated malware payload. However, it contains a hardcoded private key, embeds sensitive personal and financial test data, performs a live external transfer, and prints plaintext and cryptographic material to logs. The key should be revoked or rotated, sensitive values should come from secure test fixtures or secret management, network calls should be mocked or explicitly gated, and logging should be sanitized. Malware intent is not demonstrated, but the operational security risk is high.

Confidence: 98%Severity: 86%
AnomalyLOW
references/samples/java/src/main/java/com/codevasp/AssetTransferAuthorization.java

The fragment is an integration example for encrypted and signed asset-transfer authorization. It contains no evident malware or code injection behavior. The main security risk is excessive logging of sensitive personal, financial, cryptographic-authentication, and decrypted response data, combined with use of a development endpoint and externally supplied sample key material. The code should not be used unchanged in production; sensitive logging should be removed or redacted, endpoint and key management should be hardened, and HTTP resources should be closed reliably.

Confidence: 97%Severity: 55%
SecurityMEDIUM
references/samples/python/asset_transfer_authorization_with_code_cipher.py

The code is a transfer-integration test or client script that sends hardcoded personally identifiable and financial data first to a local signing service and then to a CODE development API. Its principal risks are sensitive-data exposure, unsafe logging, lack of response validation, reliance on an unauthenticated local HTTP service, and potential execution of a fixed cryptocurrency transfer authorization. No clear malware or intentional sabotage is present in the fragment, but it should not be run with real data or production credentials without significant review and safeguards.

Confidence: 98%Severity: 70%
AnomalyLOW
references/samples/java/src/main/java/com/codevasp/AssetTransferAuthorizationWithCipherModule.java

No clear malicious behavior or supply-chain backdoor is present. The code is an API integration example that sends cryptocurrency transfer data through a local cipher service and then to a remote VASP API. Security concerns include hardcoded sample PII and transaction data, logging of sensitive request/cryptographic values, plaintext HTTP to localhost, use of a development endpoint, and lack of explicit response and cryptographic validation. These issues warrant remediation before production use but do not indicate malware.

Confidence: 96%Severity: 56%
AnomalyLOW
references/samples/java/src/main/java/com/codevasp/DecryptPayload.java

The fragment appears to be a cryptographic integration example rather than malware. It contains hardcoded test key material and logs decrypted financial and personal data, creating significant secret-exposure and sensitive-data leakage risks if reused in production. No malicious network activity, backdoor, command execution, or obfuscation is present in the supplied code.

Confidence: 98%Severity: 62%
SecurityMEDIUM
references/samples/go/asset_address_search_test.go

The fragment appears to be an integration-style test for an encrypted cryptocurrency address-verification API, not overt malware. However, it contains a hardcoded private key and prints cryptographic and payload material, creating credential and CI-log exposure risks. It also performs an external POST whenever the test runs. The private key should be supplied through secure test configuration, sensitive values should not be logged, and all parsing and cryptographic errors should be checked.

Confidence: 98%Severity: 72%
AnomalyLOW
references/samples/go/utils/crypto_utils.go

The fragment appears to implement legitimate cryptographic helper functions and contains no evidence of malware or supply-chain sabotage. It has several security and robustness issues: ignored key-decoding errors and missing key-length validation in Sodium, an unchecked ciphertext slice that can panic in Decrypt, panic-based error handling in GenerateSignature, and predictable math/rand usage for signature nonces. These issues warrant remediation, but they do not indicate malicious behavior.

Confidence: 98%Severity: 58%
SecurityMEDIUM
references/samples/go/finish_transfer_test.go

The code is a functional integration-style test that sends a signed transfer-cancellation request to a remote development service. It contains an exposed hardcoded private key and performs an unintended-by-default external state-changing operation, creating a significant credential and test-isolation risk. There is no clear evidence of malware, exfiltration, persistence, reverse shell behavior, or obfuscation. The key should be revoked or rotated, supplied through secure test configuration, and the test should use a mock or explicitly controlled endpoint.

Confidence: 97%Severity: 74%
AnomalyLOW
references/samples/go/decrypt_payload_test.go

The code appears to be a cryptographic decryption test rather than malware. It contains a hardcoded private key and prints decrypted data including an account number, creating a meaningful secret-management and sensitive-log-disclosure risk if the fixtures are real or reused. There is no observed network exfiltration or unauthorized system action in this fragment. The referenced crypto utility should be reviewed separately.

Confidence: 96%Severity: 58%
AnomalyLOW
references/samples/go/report_transfer_result_test.go

The code is primarily a live integration test for signing and reporting a transfer result. It contains a hardcoded private key and sends signed transaction-related data to an external development API, which is unsafe if the key is real or reusable. Logging signatures and key-related material is also inappropriate for production logs. No clear backdoor, host-data theft, command execution, persistence, or obfuscation is present. The endpoint and key should be replaced with test fixtures, environment-managed secrets, or a mock server, and all errors should be handled.

Confidence: 97%Severity: 62%
SecurityMEDIUM
references/samples/nodejs/withCipher/id_connect_code_cipher_v1.8.js

The code appears to implement a VASP travel-rule or identity-verification request flow: it creates a request payload, obtains signing metadata from a local service, and submits the signed result to a remote API. It does not contain clear malware indicators or unauthorized system-control behavior. However, it embeds and transmits sensitive personal and cryptocurrency data, uses plaintext HTTP for the local step, logs cryptographic metadata, and targets a development API. These are significant privacy and security concerns that should be reviewed and remediated before production use.

Confidence: 98%Severity: 72%
AnomalyLOW
references/samples/go/vasp_list_search_test.go

The fragment appears to be an integration test for a signed API request, not malware. It contains a hardcoded private key, which is a significant credential-management risk and should be replaced with secure test configuration and rotated if real. The fixed development endpoint and ignored cryptographic errors also warrant review. No covert malicious behavior is evident.

Confidence: 97%Severity: 68%
SecurityMEDIUM
references/samples/java/src/main/java/com/codevasp/GenerateKeyPair.java

No clear malware or supply-chain attack behavior is present. The main security issue is disclosure of the generated private signing key through application logs. Private keys should not be logged; use protected storage or display them only through an explicitly controlled secure mechanism.

Confidence: 98%Severity: 72%
AnomalyLOW
references/samples/nodejs/util/signature_verifier.js

The fragment appears to implement a cryptographic hashing or verification test using embedded key material. It does not contain evident malware, persistence, exfiltration, or system-command behavior. Hardcoding a private seed and logging the derived shared key are significant security weaknesses, especially if this code is deployed or logs are retained. The provided fragment is syntactically incomplete at the end.

Confidence: 98%Severity: 62%
AnomalyLOW
references/samples/java/src/main/java/com/codevasp/data/SampleData.java

No malicious behavior is evident in this fragment. The main security concern is exposure of a hardcoded private cryptographic key, even though comments identify it as a test key. Treat the key as compromised if it has ever been used outside a controlled test environment, rotate it, and load replacement secrets from secure runtime configuration or a secrets manager.

Confidence: 98%Severity: 58%
AnomalyLOW
references/samples/python/vv_verifier.py

The fragment is cryptographic test or signing-related code rather than evident malware. Its primary security issue is exposure of a hardcoded private key and printing of the derived shared secret. The provided fragment also contains a syntax error at the final print call. No data exfiltration, backdoor, or other malicious behavior is present in the shown code.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Nov 10, 2026, 10:51 AM
Package URL
pkg:socket/skills-sh/codevasp-lab%2Fcodevasp-skills%2Fcodevasp-travel-rule-guide%2F@68069537092c35c634c9263dc6159dfd186f59bb4558a4a429fe2e9c238b47cd