File appears to expose a hardcoded API secret or token.
Critical
- Code
- suspicious.exposed_secret_literal
- Location
- node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts:1083
- Evidence
privateKey: [REDACTED];
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent Matrix channel plugin that uses Matrix credentials and state to let OpenClaw receive and send Matrix messages as advertised.
Install only with a dedicated Matrix bot account or another account you are comfortable letting OpenClaw operate. Review room/DM allowlists, groupPolicy, autoJoin, actions, execApprovals, and encryption settings before enabling it, because the plugin can read Matrix conversations and perform configured Matrix actions using the supplied credentials.
SkillSpector was not run because this plugin release contains no bundled skills.
Detected: suspicious.exposed_secret_literal, suspicious.obfuscated_code
privateKey: [REDACTED];
{"version":3,"file":"index.js","names":[],"sources":["../../src/crypto-api/index.ts"],"sourcesContent":["/*\nCopyright 2023 The Matrix.org Foundation C.I.C.\n\n...{"version":3,"file":"embedded.js","names":["roomId"],"sources":["../src/embedded.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\n...{"version":3,"file":"fetch.js","names":[],"sources":["../../src/http-api/fetch.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\nLi...Password = "[REDACTED]",
{"version":3,"file":"tokenRefresher.js","names":[],"sources":["../../src/oauth/tokenRefresher.ts"],"sourcesContent":["/*\nCopyright 2023 The Matrix.org Foundati...privateKey: [REDACTED];
Password = "[REDACTED]",
var object = {a: '\x00\x01\x02\x03\x04\x05\x06\x07'};reg: /^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,