pdk-templates

Warn

Audited by Socket on Sep 23, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
templates/body_manipulation.rs

The code does not show malicious behavior or supply-chain attack indicators. It is a straightforward HTTP body-replacement example, but it intentionally destroys all request and response bodies that are present, which can cause severe application malfunction if deployed outside a demonstration context. Configuration contents may also be exposed in error logs on parse failure.

Confidence: 98%Severity: 55%
AnomalyLOW
templates/oauth2_token_introspection.rs

The code is a conventional token-introspection request filter and shows no clear malicious behavior. It contains significant security concerns: hardcoded Basic credentials decode to admin:admin, and the introspection endpoint uses plaintext HTTP. The implementation should use securely provisioned credentials and TLS, and should enforce a stricter Authorization Bearer parsing policy.

Confidence: 98%Severity: 68%
AnomalyLOW
templates/jwt.rs

The fragment appears to be a JWT validation example rather than malware. It contains no malicious system, network, or data-exfiltration behavior. However, it has a significant authentication correctness issue because signature validation is performed but ignored, and unauthenticated parsing is used afterward. The hardcoded example HMAC secret is also unsafe for production use. The supplied code alone does not demonstrate an exploitable authorization bypass because no protected action is shown.

Confidence: 98%Severity: 58%
Audit Metadata
Analyzed At
Sep 23, 2026, 03:36 PM
Package URL
pkg:socket/skills-sh/mulesoft%2Fmulesoft-dx%2Fpdk-templates%2F@f38f2968011e8fa4b9bb013a6fc5ae001852dd0498ee4c90f002cd7d34800ac8