Skip to content

Revert PR #7249 and subsequent changes - #7256

Merged
jmgasper merged 1 commit into
developfrom
agent/revert-security-updates
Aug 6, 2026
Merged

Revert PR #7249 and subsequent changes#7256
jmgasper merged 1 commit into
developfrom
agent/revert-security-updates

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

What changed

Why

The 2026 security update rollout and all changes made after the requested cutoff need to be backed out while retaining the registered active-challenge behavior fixed by #7248.

Impact

After this PR is merged, the repository tree will match 8d9fb2dbd7897241534538fdf4f972ce26601314. Active challenges registered to a member remain visible in My Challenges even after the Submission phase closes.

Validation

  • npm run lint
  • npm run build
  • npm run jest -- __tests__/shared/actions/challenge-listing/index.js
  • Verified the committed tree hash exactly matches 8d9fb2dbd7897241534538fdf4f972ce26601314.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivy found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Comment on lines +88 to +91
'Login form filled with values: username - ' +
username +
', password - ' +
password
});

/* Update votes on article. */
routes.use('/:spaceName/:environment/votes', (req, res, next) => authenticator(authenticatorOptions)(req, res, next), (req, res, next) => {
routes.options('/jobs/cache/flush', cors(protectedCorsOptions));
routes.get('/jobs/cache/flush', cors(protectedCorsOptions), sensitiveRouteLimiter, configuredJwtAuthenticator, (req, res, next) => new RecruitCRMService().getJobsCacheFlush(req, res, next));
routes.options('/jobs/cache/flush', cors());
routes.get('/jobs/cache/flush', cors(), (req, res, next) => authenticator(authenticatorOptions)(req, res, next), (req, res, next) => new RecruitCRMService().getJobsCacheFlush(req, res, next));
};
routes.options('/jobs/:id/apply', cors(applyOptions));
routes.post('/jobs/:id/apply', cors(applyOptions), sensitiveRouteLimiter, configuredJwtAuthenticator, upload.single('resume'), (req, res, next) => new RecruitCRMService().applyForJob(req, res, next));
routes.post('/jobs/:id/apply', cors(applyOptions), (req, res, next) => authenticator(authenticatorOptions)(req, res, next), upload.single('resume'), (req, res, next) => new RecruitCRMService().applyForJob(req, res, next));
routes.get('/profile', cors(protectedCorsOptions), sensitiveRouteLimiter, configuredJwtAuthenticator, (req, res, next) => new RecruitCRMService().getProfile(req, res, next));
routes.post('/profile', cors(protectedCorsOptions), sensitiveRouteLimiter, configuredJwtAuthenticator, upload.single('resume'), (req, res, next) => new RecruitCRMService().updateProfile(req, res, next));
routes.options('/profile', cors());
routes.get('/profile', cors(), (req, res, next) => authenticator(authenticatorOptions)(req, res, next), (req, res, next) => new RecruitCRMService().getProfile(req, res, next));
return sharp(body, { limitInputPixels: 40000000 })
.resize(size, size, { fit: 'inside' })
const u = url && url.startsWith('/') ? `${config.URL.BASE}/${url}` : url;
const img = await fetch(u);
if (selectedFilter.name !== 'Author') {
window.location.href = `${config.TC_EDU_BASE_PATH}${config.TC_EDU_SEARCH_PATH}?${qs.stringify(searchQuery)}`;
} else {
window.location.href = `${config.TC_EDU_BASE_PATH}${config.TC_EDU_SEARCH_PATH}?author=${_.trim(inputlVal)}`;
} catch (e) {
return false;
}
return /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(url); /* eslint-disable-line no-useless-escape */

const applyOptions = {
...protectedCorsOptions,
origin: true,
const getCardProps = (deadline, index) => {
let { name } = deadline;
let showRange = true;
name = name.replace(/\bCheckpoint\b/, 'Checkpoint');
@jmgasper
jmgasper marked this pull request as ready for review August 6, 2026 08:41
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 6, 2026 08:41
@jmgasper
jmgasper merged commit 43673b5 into develop Aug 6, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants