Questions tagged [sandbox]

a security mechanism that separates running programs from each other so that untested, or untrusted programs won't inject malicious or bad code.

Filter by
Sorted by
Tagged with
9
votes
3answers
2k views

"Temporary new" MacOS installation for testing in my own machine

I own a Mac Mini 2014 running Big Sur. I've developed a program and I would like to test it in a "clean" environment, like the first day I've purchased the Mac. In particular, the frameworks ...
0
votes
0answers
72 views

Grant "full disk access" to sandboxed applications permanently

I'm using Microsoft Office 2016 (not 365) on macOS High Sierra. There's an annoying issue where I can open files normally but when I select a file from the "recently opened" menu it opens a ...
0
votes
0answers
25 views

Does the `trace` directive for `sandbox-exec` still work?

I've just been learning about the (deprecated, but still usable) way to launch an app in a sandbox via sandbox-exec. It looks like a very helpful approach that is recommended several places including ...
2
votes
1answer
50 views

What is '~/Library/Application Scripts'?

Sandboxed apps and most built in apps will automatically create a folder called their package identifier inside ~/Library/Application Scripts and will sometimes break if that directory is unavailable ...
0
votes
0answers
49 views

How to fix sandboxing on macOS PDF Services?

A casualty of Big Sur's increased security is PDF Services, which now are sandboxed and can't write files anywhere. (PDF Services are scripts or other executables that take PDF files from the print ...
3
votes
0answers
364 views

Saving documents from Word directly to SMB share makes them invisible

When saving a Microsoft Word document directly to a SMB share which was mounted using a bookmark and authenticated with an Open Directory "Network User Account", the saved document becomes ...
0
votes
0answers
31 views

Xcode server bot can't send emails using sendmail

I've been trying for weeks to get Xcode Server Bots to send emails after an Integration. I've narrowed it down to these logs: kernel Sandbox: sendmail(48548) deny(1) forbidden-exec-sugid sendmail ...
0
votes
1answer
71 views

Utilize "burner" user accounts to sandbox specific "sketchy" apps

There's some apps that are sort of irreplaceable for a user, yet at the same time unwanted by them, (due to violating privacy, controversial history etc.) In my case that is Google's Android File ...
1
vote
1answer
33 views

Can one access all application data when given physical access to an iPhone?

An answer on SO to a question on whether or not you could access stuff in the cache of Mobile Safari, stated that no, this was not possible, as each app runs in its own sandbox. I am unsure how this ...
2
votes
0answers
1k views

Unsandboxed macOS app error: System Policy: deny(1) file-read-data

I am working on a macOS app which is distributed outside of the App Store and isn't sandboxed. My understanding is that non-sandboxed apps should have access to everything that the user can access. ...
3
votes
1answer
74 views

How do I see where can a sandboxed Mac application write on my disk?

I know the app entitlements define its scope of access to resources. I already figured out how to get an app's entitlements, using the answer to this question For example, to see Safari's entitlements,...
3
votes
0answers
39 views

Does a 3rd-party keyboard with Allow-Full-Access ALWAYS have access to text?

As I understand from other posts, a keyboard can only: access full text with Allow-Full-Access enabled never access text inside sensitive (e.g. password) fields But how does inactivity/background ...
1
vote
2answers
1k views

How can I tell if a MacOS App is notarized or sandboxed?

I'm running MacOS Catalina. How can I tell if a particular MacOS App downloaded from the Internet is notarized and/or sandboxed?
3
votes
2answers
133 views

How much data can an app steal from my MacBook if I allow its system-wide execution?

I'm interested in knowing how to monitor and possibly sandbox an app and its relative background processes in MacOS. Is there some internal utility hidden somewhere in the system tools (even CLI), or ...
3
votes
0answers
75 views

Sandbox Apple ID disabled in the App Store and iTunes

I am attempting to test macOS In-App Purchases via a Sandbox Apple ID. When I go through the purchase flow, I get the error: Your account has been disabled in the App Store and iTunes. For assistance,...
1
vote
1answer
455 views

How can I force all traffic for a single app through VPN / Proxy + Open Source? aka App Firewall?

I'm looking for an app that is fully Open Source OR built-in to MacOS as I am trying to use this for security / privacy (to ensure that particular apps cannot make arbitrary connections) I have ...
3
votes
0answers
115 views

rsync denied to access directory when run with launchctl

I have mounted samba share in "/Volumes/Samba" with full read/write access right to it. I created simple script to rsync files from smb share to folder on my disk, when I lunch script from terminal ...
1
vote
1answer
259 views

Adding Test Credit Card to Apple Pay

I'm trying to add a test credit card in my Applet Wallet (with icloud and app store signed in to my developer account). I found a list of test credit cards available from Apple's page https://...
1
vote
1answer
146 views

How does macOS process protection work – Cliff Notes style?

Looking at Apple dev forums and not having programmed in C since college, I'm a bit out of my depth trying to understand the fundamentals of the components of MacOS' protection model employed over the ...
5
votes
0answers
2k views

how can I run an app in sandbox?

I wanted to play some games found on internet (not the Mac store) but I was afraid those could have a virus inside. As such I wanted to run them in a sandbox where they could just read files from ...
1
vote
1answer
221 views

Triggering Launch Agents for path in sandboxed app using WatchPaths does not work

I am trying to create a user LaunchAgents that will trigger a script when a path managed by a sandbox app will change (in my case, when /Library/Containers/com.omnigroup.OmniFocus3/Data/Library/...
5
votes
1answer
164 views

Are applications required to be installed to the /Applications folder in order to be sandboxed?

I have an application installed in the ~/Applications folder. I've been using it for years with no problems. But after a recent update this application started giving me warnings that it should be ...
6
votes
3answers
699 views

Third party application cannot write to disk

I downloaded this application: Donkey Simulator And after unzipping there should be an executable file but also a folder called "log", and once the application is running, new files are written into ...
4
votes
1answer
627 views

iTunesConnect no longer allows tester gmail with plus sign?

In the past, I used to use the same Gmail address for testing in-app purchasing (sandbox testing) by adding + sign to my email. For example, myemail+testapp@gmail.com Now I am no longer able to ...
0
votes
1answer
578 views

Restoring from Time Machine Backup – Cannot replace Mac HD

I'm trying to restore my computer to a previous backup of my Mac HD. However, when I try, I see an error notice telling me that I cannot, since this file is not able to be deleted: ....
2
votes
0answers
462 views

How do I create an Automator-based "Replace Text" Service that works with sandboxing?

I want to create a Service using Automator on macOS 10.12.6. I selected: Service receives selected rich text in any application Input is entire selection ☑️ Output replaces selected text I then ...
14
votes
1answer
13k views

How do I use my existing KeePass database on my new iPad without iTunes on a computer?

I'm a Linux user who bought an iPad. I'm also an Infosec pro who uses the KeePassX password manager. All my passwords are too long to type on the iPad - so I want to use my password manager on iPad. I ...
8
votes
1answer
1k views

How to fix sandbox violations by airportd?

I keep seeing a lot of errors like this in the console which seem to be causing beachballs: SandboxViolation: airportd(81) deny(1) file-read-metadata /Users I have a MacBook Pro (15-inch, Mid 2012) ...
4
votes
1answer
5k views

Run untrusted application safely through sandbox-exec command

I'm trying to run a potentially untrusted application without the following permissions, through the sandbox-exec command: file write (to avoid corruption/injection of files) network (to avoid ...
4
votes
1answer
3k views

AMFI: allowing exception handler - because the handler was set by master-entitled process ´launchd´, VirtualBox

I installed macOS Sierra 10.12 like Guest on VirtualBox 5.1.10 on my MacBook Air with macOS Sierra too. I facing errors! I login with difficulties an when I can, raise the error and I need to log in....
17
votes
2answers
37k views

Is there a sandboxing program like Sandboxie for Mac?

With Sandboxie for Windows, you are able to run applications that you don't entirely trust in a sandbox; it tracks all files the program creates and modifies, and although the files technically go to ...
2
votes
1answer
103 views

Website in separate browser instance in IOS

In IOS, adding a website to the home screen in Safari essentially produces a Safari bookmark on the home screen. When clicking on such an icon, the website is displayed in Safari. Is there some way ...
2
votes
1answer
2k views

Sandbox on Mac OS X

I can't use the sandbox-exec command as I expected. The problem is that I cannot apply a custom profile with the -f switch: I get "operation not permitted" error which I could not trace to anything ...
0
votes
2answers
1k views

How To Trick WeChat Into to Thinking My iPhone Is An iPad?

so I use a chatting app called WeChat and I have two phones. It only allows me to sign in on one phone at a time. But I can sign in on an iPad and a phone at the same time. It's an universal app, ...
5
votes
0answers
808 views

sandboxd, pstopdf deny file-read-data and file-read-metadata

In attempting to get cups-pdf working in El Capitan, I'm running into the error that pstopdf errors out. The system.log shows that the sandbox kernel extension is denying read access to the following ...
2
votes
1answer
404 views

How to ensure Slack runs safely in sandbox?

For work I use my personal laptop and I am required to run Slack to keep in contact with coworkers however it occurs to me that this could potentially be used as an invasive surveillance tool unless ...
3
votes
1answer
11k views

Configure sandbox permissions

While trying to modify a property list I was rather surprised to receive the following error sh-3.2# cp com.apple.mDNSResponder.plist com.apple.mDSNResponder.plist.backup cp: com.apple.mDSNResponder....
2
votes
2answers
3k views

Failed startup after 10.10. upgrade

After upgrading to 10.10.4 from 10.10.2, my Macbook Pro (late 2013) boots up to a blank screen with the mouse cursor displayed briefly every 10 seconds. Booting to safe mode and resetting the SMC or ...
3
votes
2answers
4k views

How can I avoid permission-related failures when importing in Photos.app via AppleScript?

The new Photos.app does not come with Automator support (although there are third-party actions available). It does, however, have some basic AppleScript support, including support for importing a ...
3
votes
1answer
1k views

In OS X, how does manually sandboxing an application from the internet compare to blocking it with Little Snitch?

I want to prevent inbound and outbound connections to one application. I can buy Little Snitch if it's the best option, but it feels like I wouldn't be getting much value out of it for that one use. ...
3
votes
2answers
3k views

The best way to sandbox programs in OSX?

I know that this question have been discussed before on AskDifferent, but none of the threads really satisfied me. For Windows you have a wonderful program called Sandboxie http://www.sandboxie.com/ ...
1
vote
0answers
103 views

On Yosemite, how can I audit the safety of an executable?

I would like to audit an executable binary from an untrusted source, and ultimately maintain whether it is safe to run it. My main interest is to establish, in a safe fashion, whether said binary ...
8
votes
5answers
37k views

Process (fmfd) spamming my console with sandbox denies

Since installing OSX 10.10 (Yosemite), my console is full of error messages regarding fmfd, like fmfd(384) deny file-read-metadata /Volumes/Macintosh HD This happens mostly at startup and when ...
2
votes
0answers
391 views

How to add a process to sandboxd's configuration?

I have a particular process that is having some problems writing to the /private/tmp folder. sandboxd keeps emitting the following error: sandboxd[xxx] ([xxxxx]): process(xxxxx) deny file-write-...
0
votes
0answers
172 views

CoreAudio, SandBox & Kernel Errors

My console is littered with coreaudio errors. Will trashing the listed components, solve the problem? These are all of the logs that mention the word 'region':
2
votes
1answer
821 views

How do sync programs get around the iOS sandbox?

The various iOS sync programs (SugarSync, BitTorrent Sync, etc.) claim to be able to read files anywhere on the phone. I don't see how data from my application -- in my app's sandbox -- can be ...
9
votes
1answer
1k views

How to enforce sandbox rules for the particular app?

I wrote an sandbox specification file (inspired by files from /usr/share/sandbox and manuals like this) and now I can launch some app in sandbox with sandbox-exec $path_to_rules /Applications/$appname....
4
votes
1answer
3k views

User directory replicated in each Library/Containers/**/Data directory

Came across a bizarre bug (?) in my Mavericks installation. I ran out of HD space, which I should not have been anywhere near. I ran Disk Inventory X to see where the space was being used, and found ...
1
vote
1answer
245 views

Installing drivers before installing Mac app - rejected by apple review team

I have developed a Mac desktop application and need to have our users install few drivers to run our application on OS X. Due to sandbox constraint, I am not able to get the user access permission to ...
1
vote
1answer
546 views

Weird Permissions/ Sandboxing issue: installer.app is not entitled for system.install.apple

There is a serious ownership/ permissions/ entitlements fault in my 10.7 install. What happened: 1) After swapping the stock drive for an Intel SSD of the same size in my Mac Mini 1,2 (2006 -ish?), ...