The Secure CommsOS™ for mission-critical operations
636 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 27 | jsrsasignStub.KJUR.jws.IntDate.get.reset(); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 28 | jsrsasignStub.KJUR.jws.JWS.sign.reset(); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 29 | jsrsasignStub.KJUR.jws.JWS.verify.reset(); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 30 | jsrsasignStub.KJUR.jws.JWS.parse.reset(); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 39 | jsrsasignStub.KJUR.jws.IntDate.get.callsFake((timeStr) => { |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 44 | jsrsasignStub.KJUR.jws.JWS.sign.returns('mocked.jwt.token'); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 122 | jsrsasignStub.KJUR.jws.JWS.verify.returns(false); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 128 | expect(jsrsasignStub.KJUR.jws.JWS.verify.calledWith('invalid.jwt.token', 'secret', ['HS256'])).to.be.true; |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 132 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 133 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 214 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 215 | jsrsasignStub.KJUR.jws.JWS.parse.throws(new Error('Parse error')); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 223 | jsrsasignStub.KJUR.jws.JWS.verify.throws(new Error('Verification error')); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 232 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 233 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 264 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 265 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 275 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 276 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 69 | jsrsasignStub.KJUR.jws.IntDate.get.returns(1609459200); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 70 | jsrsasignStub.KJUR.jws.JWS.sign.returns('mocked.jwt.token'); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 84 | jsrsasignStub.KJUR.jws.IntDate.get.returns(1609459200); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 85 | jsrsasignStub.KJUR.jws.JWS.sign.returns('mocked.jwt.token'); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 148 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 149 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 164 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 165 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 181 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 182 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 200 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 201 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 248 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 249 | jsrsasignStub.KJUR.jws.JWS.parse.returns({ |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 291 | jsrsasignStub.KJUR.jws.JWS.verify.returns(true); |
| CRITICAL | apps/meteor/app/utils/server/lib/JWTHelper.spec.ts | 292 | jsrsasignStub.KJUR.jws.JWS.parse.returns(undefined); |
| CRITICAL | …s/unit/app/settings/server/functions/settings.tests.ts | 593 | expect(spiedCallback1).to.have.been.called.always.with('value1'); |
| CRITICAL | …s/unit/app/settings/server/functions/settings.tests.ts | 594 | expect(spiedCallback2).to.have.been.called.always.with('setting_callback', 'value1'); |
| CRITICAL | …ps/meteor/tests/end-to-end/api/livechat/09-visitors.ts | 906 | expect(res.body.items).to.have.length.of.at.least(1); |
| CRITICAL | …ps/meteor/tests/end-to-end/api/livechat/09-visitors.ts | 995 | expect(res.body.history).to.have.length.of.at.least(1); |
| CRITICAL | …ps/meteor/tests/end-to-end/api/livechat/09-visitors.ts | 1017 | expect(res.body.history).to.have.length.of.at.least(1); |
| CRITICAL | …meteor/tests/end-to-end/api/livechat/10-departments.ts | 134 | expect(res.body.departments).to.have.length.of.at.least(0); |
| CRITICAL | …meteor/tests/end-to-end/api/livechat/10-departments.ts | 720 | expect(response.body.items).to.have.length.of.at.least(1); |
| CRITICAL | …meteor/tests/end-to-end/api/livechat/10-departments.ts | 745 | expect(res.body.items).to.have.length.of.at.least(1); |
| CRITICAL | …meteor/tests/end-to-end/api/livechat/11-email-inbox.ts | 71 | expect(res.body.emailInboxes).to.have.length.of.at.least(1); |
| CRITICAL | apps/meteor/tests/e2e/channel-management.spec.ts | 260 | await expect(poHomeChannel.tabs.members.userInfo.menu.getMenuItem('Unignore')).toBeVisible(); |
| CRITICAL | apps/meteor/tests/e2e/channel-management.spec.ts | 300 | await expect(poHomeChannel.tabs.members.userInfo.menu.getMenuItem('Ignore')).toBeVisible(); |
| CRITICAL | apps/meteor/tests/e2e/retention-policy.spec.ts | 101 | await auxContext.poHomeChannel.tabs.room.btnEdit.click(); |
| CRITICAL | apps/meteor/tests/e2e/retention-policy.spec.ts | 111 | await auxContext.poHomeChannel.tabs.editRoom.advancedSettingsAccordion.click(); |
| CRITICAL | apps/meteor/tests/e2e/retention-policy.spec.ts | 112 | await auxContext.poHomeChannel.tabs.editRoom.checkboxReadOnly.check(); |
| CRITICAL | apps/meteor/tests/e2e/retention-policy.spec.ts | 113 | await auxContext.poHomeChannel.tabs.editRoom.btnSave.click(); |
| CRITICAL | …tests/e2e/omnichannel/omnichannel-chat-history.spec.ts | 77 | await agent.poHomeOmnichannel.contacts.contactInfo.tabHistory.click(); |
| CRITICAL | …tests/e2e/omnichannel/omnichannel-chat-history.spec.ts | 80 | await agent.poHomeOmnichannel.contacts.contactInfo.historyItem.click(); |
| CRITICAL | …tests/e2e/omnichannel/omnichannel-chat-history.spec.ts | 89 | await agent.poHomeOmnichannel.contacts.contactInfo.historyItem.click(); |
| CRITICAL | …tests/e2e/omnichannel/omnichannel-chat-history.spec.ts | 90 | await agent.poHomeOmnichannel.contacts.contactInfo.historyMessage.click(); |
| CRITICAL | …tests/e2e/omnichannel/omnichannel-chat-history.spec.ts | 91 | await agent.poHomeOmnichannel.contacts.contactInfo.btnOpenChat.click(); |
| CRITICAL | …channel/omnichannel-transfer-to-another-agents.spec.ts | 76 | await agentA.poHomeOmnichannel.content.forwardChatModal.inputForwardUser.click(); |
| CRITICAL | …channel/omnichannel-transfer-to-another-agents.spec.ts | 77 | await agentA.poHomeOmnichannel.content.forwardChatModal.inputForwardUser.type('user2'); |
| CRITICAL | …channel/omnichannel-transfer-to-another-agents.spec.ts | 89 | await agentA.poHomeOmnichannel.content.forwardChatModal.inputComment.type('any_comment'); |
| CRITICAL | …channel/omnichannel-transfer-to-another-agents.spec.ts | 90 | await agentA.poHomeOmnichannel.content.forwardChatModal.btnForward.click(); |
| CRITICAL | …tests/e2e/omnichannel/omnichannel-contact-info.spec.ts | 51 | await agent.poHomeChannel.contacts.contactInfo.btnEdit.click(); |
| 9 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 493 | msg: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in massa ullamcorper diam semper lobortis vita |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 493 | msg: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in massa ullamcorper diam semper lobortis vita |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 539 | msg: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in massa ullamcorper diam semper lobortis vita |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 539 | msg: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in massa ullamcorper diam semper lobortis vita |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 561 | msg: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit Donec id leo quam Cras mauris lacus, fringilla in ferme |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 561 | msg: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit Donec id leo quam Cras mauris lacus, fringilla in ferme |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 570 | msg: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 570 | msg: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 603 | msg: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in massa ullamcorper diam semper lobortis vita |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 603 | msg: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in massa ullamcorper diam semper lobortis vita |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 605 | Maecenas pretium, sem non eleifend sodales, sapien ligula sollicitudin mauris, vel imperdiet risus mi id neque. Duis tin |
| LOW | ee/packages/pdf-worker/src/worker.fixtures.ts | 605 | Maecenas pretium, sem non eleifend sodales, sapien ligula sollicitudin mauris, vel imperdiet risus mi id neque. Duis tin |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 10 | visitor: { name: 'John Doe', username: 'john.doe' }, |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 21 | u: { _id: 'john.doe', name: 'John Doe', username: 'john.doe' }, |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 26 | u: { _id: 'john.doe', name: 'John Doe', username: 'john.doe' }, |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 32 | u: { _id: 'john.doe', name: 'John Doe', username: 'john.doe' }, |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 40 | visitor: { name: 'John Doe', username: 'john.doe' }, |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 48 | { ts: new Date('2022-11-21T16:00:00.000Z'), msg: 'Hello', u: { _id: 'john.doe', name: 'John Doe', username: 'john.doe' |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 49 | { ts: new Date('2022-11-22T16:00:00.000Z'), msg: 'How are you', u: { _id: 'john.doe', name: 'John Doe', username: 'joh |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 54 | visitor: { name: 'John Doe', username: 'john.doe' }, |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 62 | { ts: new Date('2022-11-21T16:00:00.000Z'), msg: 'Hello', u: { _id: 'john.doe', name: 'John Doe', username: 'john.doe' |
| LOW | …rc/templates/ChatTranscript/ChatTranscript.fixtures.ts | 63 | { ts: new Date('2022-11-21T16:00:00.000Z'), msg: 'How are you', u: { _id: 'john.doe', name: 'John Doe', username: 'joh |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 214 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 214 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 217 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 217 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 245 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 245 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 248 | '<p><a href="https://matrix.to/#/@user:externalDomain.com">@user:externalDomain.com</a>, hello <a href="https://ma |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 248 | '<p><a href="https://matrix.to/#/@user:externalDomain.com">@user:externalDomain.com</a>, hello <a href="https://ma |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 289 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 289 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 294 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 294 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 318 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 318 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 322 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 322 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 361 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 361 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 368 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 368 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 372 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 372 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 416 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 416 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 420 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 420 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 462 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 462 | '<p>hey <a href="https://matrix.to/#/@user:localDomain.com">User Real Name</a>, here its <a href="https://matrix.t |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 469 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 469 | **Paragraph text**: **Bold** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facili |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 473 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 473 | _Italict Text_: _Italict_ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales, enim et facilisis |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 668 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 668 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 670 | const formattedMessage = `${quotedMessage}<p><a href="https://matrix.to/#/@user:externalDomain.com">@user:externalDom |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 670 | const formattedMessage = `${quotedMessage}<p><a href="https://matrix.to/#/@user:externalDomain.com">@user:externalDom |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 746 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| LOW | …/federation-matrix/src/helpers/message.parsers.spec.ts | 746 | > Quote test: **Bold** _Italic_ Lorem ipsum dolor sit amet |
| 269 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ee/packages/license/src/deprecated.ts | 30 | export function getUnmodifiedLicenseAndModules(this: LicenseManager) { |
| LOW | …ages/omni-core-ee/src/isDepartmentCreationAvailable.ts | 4 | export function isDepartmentCreationAvailablePatch(): void { |
| LOW | …rc/outbound-communication/validators/canSendMessage.ts | 8 | export async function validateAgentAssignPermissions(userId: string, agentId: string): Promise<void> { |
| LOW | ee/packages/omni-core-ee/src/units/getUnitsFromUser.ts | 11 | async function getDepartmentsFromUserRoles(user: string): Promise<string[]> { |
| LOW | ee/packages/abac/src/helper.ts | 93 | export function validateAndNormalizeAttributes(attributes: Record<string, string[]>): IAbacAttributeDefinition[] { |
| LOW | ee/packages/abac/src/helper.ts | 93 | export function validateAndNormalizeAttributes(attributes: Record<string, string[]>): IAbacAttributeDefinition[] { |
| LOW | ee/packages/abac/src/helper.ts | 153 | export async function ensureAttributeDefinitionsExist(normalized: IAbacAttributeDefinition[]): Promise<void> { |
| LOW | ee/packages/abac/src/helper.ts | 179 | export function buildNonCompliantConditions(newAttributes: IAbacAttributeDefinition[]) { |
| LOW | ee/packages/abac/src/helper.ts | 203 | export function buildRoomNonCompliantConditionsFromSubject(subjectAttributes: IAbacAttributeDefinition[]) { |
| LOW | …-calls/src/server/signals/getSignalsForExistingCall.ts | 9 | export async function getSignalsForExistingCall(call: IMediaCall, uid: IUser['_id'], contractId: string): Promise<Server |
| LOW | ee/packages/federation-matrix/src/setup.ts | 35 | export function configureFederationMatrixSettings(settings: { |
| LOW | …atrix/src/api/middlewares/isFederationDomainAllowed.ts | 25 | function parseMatrixAuthorizationHeader(header: string): Record<string, string> { |
| LOW | ee/packages/federation-matrix/src/events/member.ts | 76 | async function getOrCreateFederatedUser(userId: string): Promise<IUser> { |
| LOW | ee/packages/federation-matrix/src/events/member.ts | 101 | async function getOrCreateFederatedRoom({ |
| LOW | ee/packages/federation-matrix/src/events/member.ts | 281 | function downloadAndSetAvatarDebounced(userId: string, user: IUser, newAvatarUrl: string | null): void { |
| LOW | …ration-matrix/src/helpers/validateFederatedUsername.ts | 6 | export function validateFederatedUsername(mxid: string): mxid is UserID { |
| LOW | …tion-matrix/src/helpers/createOrUpdateFederatedUser.ts | 11 | export async function createOrUpdateFederatedUser(options: { username: string; name?: string; origin: string }): Promise |
| LOW | scripts/auto-close-duplicates.ts | 41 | function extractDuplicateIssueNumber(commentBody: string): number | null { |
| LOW | packages/tools/src/convertPathsIntoSubObjects.ts | 1 | export function convertPathsIntoSubObjects(object: Record<string, any>): Record<string, any> { |
| LOW | packages/tools/src/convertSubObjectsIntoPaths.ts | 3 | export function convertSubObjectsIntoPaths(object: Record<string, any>, parentPath?: string): Record<string, any> { |
| LOW | …rc/MessageFooterCallout/MessageFooterCalloutAction.tsx | 8 | function MessageFooterCalloutAction(props, ref) { |
| LOW | …c/MessageFooterCallout/MessageFooterCalloutDivider.tsx | 5 | const MessageFooterCalloutDivider = forwardRef<HTMLButtonElement>(function MessageFooterCalloutDivider(props, ref): Reac |
| LOW | …c/MessageFooterCallout/MessageFooterCalloutContent.tsx | 8 | function MessageFooterCalloutContent(props, ref) { |
| LOW | packages/core-typings/src/IMessage/IMessage.ts | 249 | export function isEncryptedMessageContent(value: unknown): value is EncryptedMessageContent { |
| LOW | …n/src/components/LoginSwitchLanguageFooter.stories.tsx | 14 | createElement(function ExampleTranslationDecorator() { |
| LOW | …/src/definition/uikit/UIKitIncomingInteractionTypes.ts | 59 | export function isMessageBoxIncomingInteraction( |
| LOW | …c/definition/uikit/UIKitInteractionPayloadFormatter.ts | 38 | function isContextualBarInteraction(type: IUIKitInteraction['type']): type is IUIKitContextualBarInteraction['type'] { |
| LOW | …c/definition/uikit/UIKitInteractionPayloadFormatter.ts | 46 | export function formatContextualBarInteraction( |
| LOW | packages/random/src/createAleaGenerator.ts | 21 | export function createAleaGeneratorWithGeneratedSeed() { |
| LOW | …nts/MultiSelectCustom/MultiSelectCustomListWrapper.tsx | 7 | const MultiSelectCustomListWrapper = forwardRef<Element, MultiSelectCustomListWrapperProps>(function MultiSelectCustomLi |
| LOW | …nents/Contextualbar/ContextualbarScrollableContent.tsx | 8 | function ContextualbarScrollableContent({ children, ...props }, ref) { |
| LOW | …components/Contextualbar/ContextualbarEmptyContent.tsx | 6 | function ContextualbarEmptyContent(props, ref) { |
| LOW | …/apps/src/server/runtime/deno/AppsEngineDenoRuntime.ts | 101 | function generateEphemeralDenoConfig(targetPath: string, denoConfigPath: string, appsEnginePath: string): void { |
| LOW | packages/apps/deno-runtime/error-handlers.ts | 3 | export function unhandledRejectionListener(event: PromiseRejectionEvent) { |
| LOW | packages/apps/deno-runtime/error-handlers.ts | 20 | export function unhandledExceptionListener(event: ErrorEvent) { |
| LOW | …kages/apps/deno-runtime/lib/sanitizeDeprecatedUsage.ts | 3 | function hasPotentialDeprecatedUsage(source: string) { |
| LOW | packages/apps/deno-runtime/lib/ast/mod.ts | 51 | export function fixBrokenSynchronousAPICalls(appSource: string): string { |
| LOW | packages/apps/deno-runtime/lib/ast/operations.ts | 103 | export function buildFixModifiedFunctionsOperation(functionIdentifiers: Set<string>): FullAncestorWalkerCallback<WalkerS |
| LOW | …elease-action/src/fixWorkspaceVersionsBeforePublish.ts | 20 | export async function fixWorkspaceVersionsBeforePublish() { |
| LOW | …tistics/server/lib/getContactVerificationStatistics.ts | 6 | export async function getContactVerificationStatistics(): Promise<IStats['contactVerification']> { |
| LOW | …/app/meteor-accounts-saml/server/methods/samlLogout.ts | 12 | function getSamlServiceProviderOptions(provider: string): IServiceProviderOptions { |
| LOW | …app/meteor-accounts-saml/server/lib/getSAMLEnvelope.ts | 25 | async function performBindingSpecificDecoding(binding: SAMLBinding, buffer: Buffer<ArrayBuffer>): Promise<Buffer<ArrayBu |
| LOW | …saml/server/lib/signature/validateRedirectSignature.ts | 7 | export function validateRedirectSignature(envelope: SAMLRedirectEnvelope, certificate: string): boolean { |
| LOW | …ccounts-saml/server/lib/generators/AuthorizeRequest.ts | 13 | function resolveCustomAuthnContext(serviceProviderOptions: IServiceProviderOptions): string | undefined; |
| LOW | …ccounts-saml/server/lib/generators/AuthorizeRequest.ts | 14 | function resolveCustomAuthnContext(serviceProviderOptions: IServiceProviderOptions, defaultValue: string): string; |
| LOW | …ccounts-saml/server/lib/generators/AuthorizeRequest.ts | 15 | function resolveCustomAuthnContext(serviceProviderOptions: IServiceProviderOptions, defaultValue?: string): string | und |
| LOW | apps/meteor/app/crowd/server/crowd.ts | 19 | function fallbackDefaultAccountSystem(bind: typeof Accounts, username: string | Record<string, any>, password: string) { |
| LOW | apps/meteor/app/push/server/fcm.ts | 111 | function getFCMMessagesFromPushData(userTokens: string[], notification: PendingPushNotification): { message: FCMMessage |
| LOW | …eteor/app/emoji-custom/server/lib/uploadEmojiCustom.ts | 32 | export async function uploadEmojiCustomWithBuffer( |
| LOW | apps/meteor/app/livechat/server/business-hour/Helper.ts | 56 | export async function makeAgentsUnavailableBasedOnBusinessHour(agentIds?: string[]) { |
| LOW | apps/meteor/app/livechat/server/business-hour/Helper.ts | 82 | export async function makeOnlineAgentsAvailable(agentIds?: string[]) { |
| LOW | apps/meteor/app/livechat/server/lib/custom-fields.ts | 22 | export async function updateContactsCustomFields( |
| LOW | apps/meteor/app/livechat/server/lib/custom-fields.ts | 99 | export async function setMultipleVisitorCustomFields( |
| LOW | apps/meteor/app/livechat/server/lib/utils.ts | 56 | export async function allowAgentChangeServiceStatus(statusLivechat: ILivechatAgentStatus, agentId: string) { |
| LOW | apps/meteor/app/livechat/server/lib/hooks.ts | 50 | export async function afterDepartmentUnarchived(department: AtLeast<ILivechatDepartment, '_id' | 'businessHourId'>) { |
| LOW | apps/meteor/app/livechat/server/lib/guests.ts | 87 | export async function removeContactsByVisitorId({ _id }: { _id: string }) { |
| LOW | …echat/server/lib/contacts/getContactChannelsGrouped.ts | 4 | export async function getContactChannelsGrouped(contactId: string): Promise<ILivechatContactChannel[]> { |
| LOW | …/server/lib/contacts/migrateVisitorIfMissingContact.ts | 8 | export async function migrateVisitorIfMissingContact( |
| LOW | …t/server/lib/contacts/getContactManagerIdByUsername.ts | 5 | export async function getContactManagerIdByUsername( |
| LOW | …echat/server/lib/contacts/migrateVisitorToContactId.ts | 11 | export async function migrateVisitorToContactId({ |
| 95 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/message-parser/tests/unorderedList.test.ts | 61 | // [paragraph([])], |
| LOW | packages/release-changelog/tsconfig.json | 1 | { |
| LOW | packages/release-changelog/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func |
| LOW | packages/release-changelog/tsconfig.json | 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defau |
| LOW | packages/release-changelog/tsconfig.json | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project |
| LOW | packages/release-changelog/tsconfig.json | 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlate |
| LOW | packages/livechat/src/lib/connection.ts | 41 | // timer = setTimeout(async () => { |
| LOW | packages/livechat/src/lib/uiKit.js | 61 | if ([UIKitInteractionType.ERRORS].includes(type)) { |
| LOW | packages/livechat/src/lib/uiKit.js | 81 | } |
| LOW | packages/core-services/src/types/IBroker.ts | 1 | import type { IServiceClass } from './ServiceClass'; |
| LOW | packages/random/src/RandomGenerator.ts | 1 | // We use cryptographically strong PRNGs (crypto.getRandomBytes() on the server, |
| LOW | packages/ddp-client/src/Connection.ts | 1 | import { Emitter } from '@rocket.chat/emitter'; |
| LOW | packages/ddp-client/src/Connection.ts | 161 | this.ws = ws; |
| LOW | packages/ddp-client/src/Connection.ts | 181 | // } |
| LOW | packages/release-action/tsconfig.json | 1 | { |
| LOW | packages/release-action/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func |
| LOW | packages/release-action/tsconfig.json | 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defau |
| LOW | packages/release-action/tsconfig.json | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project |
| LOW | packages/release-action/tsconfig.json | 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlate |
| LOW | packages/cas-validate/src/validate.ts | 21 | ticket?: string; |
| LOW | packages/cas-validate/src/validate.ts | 61 | function parseRubyCasAttributes(elemSuccess: Cheerio<any>, cheerio: CheerioAPI): Record<string, string[]> { |
| LOW | packages/cas-validate/src/validate.ts | 121 | // <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> |
| LOW | .github/workflows/codeql-analysis.yml | 41 | # ℹ️ Command-line programs to run using the OS shell. |
| LOW | .github/agents/bug-resolution-agent.md | 81 | ### Example |
| LOW | .github/agents/refactor-agent.md | 81 | // Problem: <Detailed description of what is wrong> |
| LOW | apps/meteor/.codeclimate.yml | 1 | # This is a sample .codeclimate.yml configured for Engine analysis on Code |
| LOW | apps/meteor/app/ui/client/lib/codeMirror/codeMirror.ts | 1 | import 'codemirror/addon/fold/brace-fold.js'; |
| LOW | apps/meteor/app/ui/client/lib/codeMirror/codeMirror.ts | 121 | |
| LOW | apps/meteor/app/ui/client/lib/codeMirror/codeMirror.ts | 141 | // import 'codemirror/theme/night.css'; |
| LOW | apps/meteor/app/utils/client/lib/SDKClient.ts | 161 | |
| LOW | apps/meteor/app/utils/client/lib/SDKClient.ts | 361 | // socket). |
| LOW | apps/meteor/app/lib/server/lib/processDirectEmail.ts | 81 | // if (roomInfo.t === 'c') { |
| LOW | …teor/ee/app/livechat-enterprise/server/api/lib/tags.ts | 21 | |
| LOW | apps/meteor/tests/unit/app/markdown/client.tests.js | 461 | // describe('Marked', function() { |
| LOW | apps/meteor/server/startup/serverRunning.ts | 101 | // if (!(await Users.bannerExistsById(id))) { |
| LOW | apps/meteor/packages/autoupdate/autoupdate_client.js | 1 | // Subscribe to the `meteor_autoupdate_clientVersions` collection, |
| LOW | apps/meteor/packages/autoupdate/autoupdate_server.js | 1 | // Publish the current client versions for each client architecture |
| LOW | apps/meteor/packages/autoupdate/autoupdate_server.js | 21 | // reload only after major changes, use a custom AUTOUPDATE_VERSION and |
| LOW | apps/meteor/client/meteor/overrides/ddpOverREST.ts | 61 | // Note on login routing: `login + resume` is bypassed in shouldBypass |
| LOW | apps/meteor/client/meteor/overrides/stubMeteorStream.ts | 181 | session: 'sdk-bridged', |
| LOW | apps/meteor/client/meteor/overrides/stubMeteorStream.ts | 201 | // _streamHandlers.onReset → _handleOutstandingMethodsOnReset (resends |
| LOW | apps/meteor/client/meteor/overrides/stubMeteorStream.ts | 221 | } catch (err) { |
| LOW | apps/meteor/client/providers/AuthorizationProvider.tsx | 41 | // Permissions and Roles change infrequently (admin-driven or login-time only); |
| LOW | apps/meteor/client/lib/sdk/ddpSdk.ts | 221 | if (typeof window !== 'undefined' && isSdkTransportEnabled()) { |
| LOW | apps/meteor/client/lib/sdk/ddpSdk.ts | 241 | // - the error is auth-shaped (`isAuthError`) AND |
| LOW | apps/meteor/client/lib/sdk/ddpSdk.ts | 261 | // Meteor's onReconnect path will retry through stubMeteorStream |
| LOW | apps/meteor/client/lib/sdk/ddpSdk.ts | 281 | if (uid) { |
| LOW | apps/meteor/client/startup/startup.ts | 61 | } |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1820 | // Step 1: Create a room on Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1823 | // Step 2: Invite RC user from Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1826 | // Step 3: RC user accepts the invite |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1846 | // Step 4: Kick RC user from Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1859 | // Step 5: Send a message from Synapse (while RC user is kicked) |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1864 | // Step 6: Re-invite the same RC user from Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1867 | // Step 7: Validate the invite was created successfully on the RC side |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1887 | // Step 1: Create a room on Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1890 | // Step 2: Invite RC user from Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1893 | // Step 3: RC user accepts the invite |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1913 | // Step 4: RC user leaves the room |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1930 | // Step 5: Send a message from Synapse (while RC user has left) |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1935 | // Step 6: Re-invite the same RC user from Synapse |
| LOW | …ckages/federation-matrix/tests/end-to-end/room.spec.ts | 1938 | // Step 7: Validate the invite was created successfully on the RC side |
| LOW | ee/packages/federation-matrix/src/events/member.ts | 314 | // TODO if there is no avatar_url we may want to validate first if we should remove the user avatar because if may be |
| LOW | …e/app/canned-responses/server/hooks/cannedResponses.ts | 8 | // when the license is enabled, we need to check if the feature is enabled |
| LOW | apps/meteor/tests/data/file.helper.ts | 28 | // Step 1: Upload file to rooms.media/:rid |
| LOW | apps/meteor/tests/data/file.helper.ts | 42 | // Step 2: Confirm and send message with rooms.mediaConfirm/:rid/:fileId |
| LOW | apps/meteor/packages/autoupdate/autoupdate_server.js | 59 | // Step 1: load the current client program on the server |
| LOW | apps/meteor/packages/autoupdate/autoupdate_server.js | 71 | // Step 2: update __meteor_runtime_config__.autoupdate.versions. |
| LOW | apps/meteor/packages/autoupdate/autoupdate_server.js | 83 | // Step 3: form the new client boilerplate which contains the updated |
| LOW | apps/meteor/packages/autoupdate/autoupdate_server.js | 89 | // Step 4: update the ClientVersions collection. |
| LOW | apps/meteor/client/lib/2fa/process2faReturn.ts | 95 | // if the promise is rejected, we need to check if it's a 2fa error |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …s/federation-matrix/docker-compose/hs1/homeserver.yaml | 56 | # -------------------------------------------------------------------- |
| MEDIUM | …s/federation-matrix/docker-compose/hs1/homeserver.yaml | 58 | # -------------------------------------------------------------------- |
| MEDIUM | packages/message-parser/benchmarks/parser.bench.ts | 16 | // ── Options presets ──────────────────────────────────────────────────────── |
| MEDIUM | packages/message-parser/benchmarks/parser.bench.ts | 27 | // ── Fixture type ─────────────────────────────────────────────────────────── |
| MEDIUM | packages/message-parser/benchmarks/parser.bench.ts | 42 | // ── Categories ───────────────────────────────────────────────────────────── |
| MEDIUM | packages/message-parser/benchmarks/parser.bench.ts | 182 | // ── Helpers ──────────────────────────────────────────────────────────────── |
| MEDIUM | packages/message-parser/benchmarks/parser.bench.ts | 196 | // ── Runner ───────────────────────────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …deration-matrix/tests/scripts/run-integration-tests.sh | 196 | # Check if docker-compose.test.yml exists |
| LOW | .github/actions/docker-image-size-tracker/action.yml | 169 | # Check if it's a manifest list (multi-arch) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/actions/docker-image-size-tracker/action.yml | 226 | # Create a separate worktree for history branch |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …r/ee/server/services/.config/prometheus/prometheus.yml | 10 | # If you use a Docker-based setup make sure to use the DNS |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .cursor/files/test-cases.json | 1 | {"cases":[],"suites":[{"id":606,"title":"Rocket.Chat","description":null,"preconditions":null,"suites":[{"id":6,"title": |