Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
office-addin-dev-settings
Advanced tools
Provides the ability to configure developer settings for Office Add-ins.
Display or configure settings related to the appcontainer for an Office Add-in.
Syntax:
office-addin-dev-settings appcontainer <manifest> [options]
manifest
: path to manifest file.
Without options, displays the appcontainer name.
Notes:
Options:
--loopback
Allow access to loopback addresses such as localhost
.
--prevent-loopback
Prevent access to loopback addresses such as localhost
.
Clear developer settings for the Office Add-in.
Syntax:
office-addin-debugging clear <manifest>
manifest
: path to manifest file.
Display or configure debugging settings for an Office Add-in.
Syntax:
office-addin-dev-settings debugging <manifest> [options]
manifest
: path to manifest file.
Without options, displays whether debugging is enabled.
Notes:
These settings do not apply when the Office Add-in runs in a web browser or WebView control.
Options:
--disable
Disable debugging for the Office Add-in.
--enable
Enable debugging for the Office Add-in.
--debug-method <method>
Specifies which debug method to use:
direct
: debug directly using the JavaScript engine.web
: debug using the JavaScript engine in a web browser or Node.Display or configure settings related to live reload for an Office Add-in.
Syntax:
office-addin-dev-settings live-reload <manifest> [options]
manifest
: path to manifest file.
Without options, displays whether live reload is enabled.
Options:
--disable
Disable live-reload for the Office Add-in.
--enable
Enable live-reload for the Office Add-in.
Logs in or out of the m365 account used to sideload json manifests
Syntax:
office-addin-dev-settings m365-account <operation>
operation
: 'login' or 'logout'
Registers an Office Add-in for development.
Syntax:
office-addin-dev-settings register <manifest> [options]
manifest
: path to manifest file.
Displays the Office Add-ins registered for development.
Syntax:
office-addin-dev-settings registered [options]
Use the command to enable or disable writing any Office Add-in runtime events to a log file. Without options, it displays whether runtime logging is enabled.
Notes:
The setting is not specific to a particular Office Add-in. It applies to the runtime and will show information for all Office Add-ins.
Syntax:
office-addin-dev-settings runtime-log [options]
Without options, displays whether runtime logging is enabled and the log file path (if enabled).
Options:
--disable
Disable runtime logging.
--enable [path]
Enable runtime logging.
path
: Specify the path to the log file. If not specified, uses "OfficeAddins.log.txt" in the TEMP folder.Start Office and open a document so the Office Add-in is loaded.
Syntax:
office-addin-dev-settings sideload <manifest> [app-type] [options]
manifest
: path to manifest file.
app-type
: host application type to sideload ("desktop" or "web").
Note:
If the add-in supports more than one Office app and the app-type is "desktop", the command will prompt to choose the app unless the --app
parameter is provided.
Options:
-a
--app
Specify the Office application to load.
-d
--document
Specify the document to sideload. The document option can either be the local path to a document or a url.
Configure the url used to obtain the source bundle from the packager for an Office Add-in.
The url is composed as:
http://HOST
:PORT
/PATH
EXTENSION
HOST
: host name; default is localhost
PORT
: port number; default is 8081
PATH
: pathEXTENSION
: extension (including period); default is .bundle
Syntax:
office-addin-dev-settings source-bundle-url [options]
Without options, displays the current source-bundle-url settings.
Options:
-h <name>
--host <name>
Specify the host name or "" to use the default.
-p <number>
--port <number>
Specify the port number (0 to 65535) or "" to use the default.
--path <path>
Specify the path or "" to use the default.
-e <string>
--extension <string>
Specify the extension (which should start with a period) or "" to use the default.
Unregisters an Office Add-in for development.
Syntax:
office-addin-dev-settings register <manifest> [options]
manifest
: path to manifest file.
Switches the webview runtime in Office for testing and development scenarios.
Office must be running on the Beta channel to switch runtimes
Syntax:
office-addin-dev-settings webview <manifest> <web-view-type>
manifest
: path to manifest file.
web-view-type
: Office webview to load ('edge' or 'edge-chromium, 'edge-legacy', 'ie', or 'default').
FAQs
Configure developer settings for Office Add-ins.
The npm package office-addin-dev-settings receives a total of 28,240 weekly downloads. As such, office-addin-dev-settings popularity was classified as popular.
We found that office-addin-dev-settings demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.