You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plugin-run executes a mock WASM payload instead of selected artifact #105
Description: runPlugin constructs mockWasmData := []byte("\x00asm\x01\x00\x00\x00") and executes it rather than the actual plugin artifact fetched by ArtifactID. This both hides execution of real plugin artifacts (gap in functional path) and may allow attackers to trigger execution paths that are not exercised in production testing.
Location: shared/shieldx-sdk/plugin_registry/main.go (runPlugin handler).
Recommendation: Execute the real artifact retrieved from the artifact store after verifying permissions. If mock execution is required in dev/test, gate it behind a dev-only flag and never enable in prod.
Done when: runPlugin executes actual artifact bytes after verification; dev-only mocks are disabled in prod builds and tested accordingly.
Activity