Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@highpoint/compile-branding
Advanced tools
Utility to compile HighPoint application branding.
yarn add -D @highpoint/compile-branding
Copy .env-sample
to your application's root directory and name it .env
.
Populate the values. You can reference the table below for examples of what
values should be used. This file should not be included in your source
control, so add it to your .gitignore
(or similar) file.
Variable | Example |
---|---|
PS_HOSTNAME | cs92-devo.mhighpoint.com |
PS_ENVIRONMENT | csdev92 |
PS_NODE | SA |
PS_USERNAME | PS |
PS_PASSWORD | mysupersecretpassword |
HTTP_USERNAME | PS |
HTTP_PASSWORD | mysupersecretpassword |
compileBranding
Produces a compiled version of the branding in a local directory.
const { compileBranding } = require('@highpoint/compile-branding');
const { resolve } = require('path');
compileBranding({
app: 'app',
inFile: resolve(`./src/main.scss`),
outDir: resolve('./dist'),
weblib: 'WEBLIB_H_BRNDNG'
}).catch(({ message }) => console.error(message));
app
The abbreviation of the application whose branding is being compiled.
Examples: app
, dp
, mc
, sb
inFile
The absolute path to the SCSS file that acts as the template for compiling branding.
Example: path.resolve('./scss/main.scss')
outDir
The absolute path to the directory that the compiled CSS files should be outputted to.
Example: path.resolve('./dist')
weblib
The PeopleSoft web library that will be called. It needs to have the following functions:
Example: WEBLIB_H_BRNDNG
triggerCompile
Triggers branding compilation remotely. This is primarily used by continuous integration services (e.g. Jenkins) to tell PeopleSoft that it should compile the branding.
const { triggerCompile } = require('@highpoint/compile-branding');
triggerCompile({ weblib: 'WEBLIB_H_BRNDNG' }).catch(({ message }) => {
console.error(message);
process.exit(1);
});
weblib
The PeopleSoft web library that will be called. It needs to have the following function:
FAQs
Utility to compile HighPoint application branding
We found that @highpoint/compile-branding demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.