
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
nodeautomation
Advanced tools
An Apple event (“AppleScript”) bridge to control desktop apps on macOS.
#nodeautomation
NodeJS ↔ Apple event ('AppleScript') bridge (experimental)
NodeAutomation is a Node.js module that allows 'AppleScriptable' applications to be controlled directly from JavaScript.
For example, to get the value of the first paragraph of the document named 'README' in TextEdit:
app('TextEdit').documents.named('README').paragraphs[0].get()
This is equivalent to the AppleScript statement:
tell application "TextEdit" to get paragraph 1 of document "README"
Or to create a new "Hello World!" document in TextEdit:
app('TextEdit').make({new: k.document,
withProperties: {text: "Hello World!"}})
$ npm install nodeautomation
$ node
> require('nodeautomation/repl');
> const finder = app('Finder');
> finder.home();
app('Finder').startupDisk.folders.named('Users').folders.named('jsmith')
Documentation is preliminary, being a quick and dirty translation of the original appscript manual. Documentation is included in the nodeautomation package and online:
https://hhas.github.io/nodeautomation/
ASDictionary and ASTranslate tools:
https://sourceforge.net/projects/appscript/files/
Caution: This is an experimental release. There will be bugs and rough edges.
E&OE. No warranty given. Use at own risk. Etc.
See also: https://appscript.sourceforge.io/status.html
Depends on some deprecated CoreServices/Cocoa APIs, for which macOS may or may not provide replacements.
WARNING: The libxmljs2 dependency is no longer maintained and insecure.
TO DO: Switch to libxmljs which appears to be actively maintained again.
FAQs
An Apple event (“AppleScript”) bridge to control desktop apps on macOS.
We found that nodeautomation 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.